Newbie question: kernel image a dynamically linked binary?

2010-04-01 Thread Daniel Rodrick
Hello List, I'm a newbie and coming from Linux background, and am trying to learn FreeBSD now. The first thing I find a little confusing is that the final FreeBSD kernel image is shown as a DYNAMICALLY LINKED binary: $ $ pwd /boot/kernel $ $ file kernel kernel: ELF 32-bit LSB executable, Intel

Re: Newbie question: kernel image a dynamically linked binary?

2010-04-01 Thread Gary Jennejohn
On Thu, 1 Apr 2010 15:53:50 +0530 Daniel Rodrick daniel.rodr...@gmail.com wrote: Hello List, I'm a newbie and coming from Linux background, and am trying to learn FreeBSD now. The first thing I find a little confusing is that the final FreeBSD kernel image is shown as a DYNAMICALLY LINKED

Re: Newbie question: kernel image a dynamically linked binary?

2010-04-01 Thread Oliver Fromme
Hi, Please don't crosspost to many lists. This topic is probably suitable for hackers@ but not for the other lists. Daniel Rodrick daniel.rodr...@gmail.com wrote: I'm a newbie and coming from Linux background, and am trying to learn FreeBSD now. The first thing I find a little confusing is

Re: Newbie question: kernel image a dynamically linked binary?

2010-04-01 Thread John Baldwin
On Thursday 01 April 2010 6:23:50 am Daniel Rodrick wrote: Hello List, I'm a newbie and coming from Linux background, and am trying to learn FreeBSD now. The first thing I find a little confusing is that the final FreeBSD kernel image is shown as a DYNAMICALLY LINKED binary: $ $ pwd

Re: Newbie question: kernel image a dynamically linked binary?

2010-04-01 Thread Dag-Erling Smørgrav
Dag-Erling Smørgrav d...@des.no writes: File is right. The kernel contains relocation entries so kernel modules can be linked against it. relocation entries is possibly not the right term, someone with better knowledge of ELF will have to correct me. DES -- Dag-Erling Smørgrav - d...@des.no

Re: Newbie question: kernel image a dynamically linked binary?

2010-04-01 Thread Dag-Erling Smørgrav
Gary Jennejohn gary.jennej...@freenet.de writes: Daniel Rodrick daniel.rodr...@gmail.com writes: $ file kernel kernel: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), not stripped file is confused. FreeBSD uses a monolithic kernel and no