Re: linker scripts

2007-06-20 Thread Constantine Kousoulos

O/H Chris Kuethe ]cqaxe:

Let me spin that around and ask you, "what is the logic behind having
linker scripts?" If our bootloader can load a "simple" elf binary (or
maybe one built with a slightly different text address) then why use
linker scripts?

CK


A simple answer to a simple question. Thank you Chris.

Constantine


PS Next time cc your answer to the list so that others can benefit from it.



On 6/19/07, Constantine Kousoulos <[EMAIL PROTECTED]> wrote:

Having a linux background (and a limited NetBSD experience), i
expected to find linker scripts in the kernel source code.
However, this is simply not true for most architectures. What is
the logic behind the lack of linker scripts?

Thanks,
Constantine




Re: linker scripts

2007-06-20 Thread Artur Grabowski
Constantine Kousoulos <[EMAIL PROTECTED]> writes:

> Having a linux background (and a limited NetBSD experience), i
> expected to find linker scripts in the kernel source code. However,
> this is simply not true for most architectures. What is the logic
> behind the lack of linker scripts?

The same logic as the lack of awk scripts that pre-process the
assembler files before feeding them to the assembler.

//art



Re: linker scripts

2007-06-20 Thread Janne Johansson

Constantine Kousoulos wrote:
Having a linux background (and a limited NetBSD experience), i expected 
to find linker scripts in the kernel source code. However, this is 
simply not true for most architectures. What is the logic behind the 
lack of linker scripts?


Do you have an actual problem or are you trying to invent one?



linker scripts

2007-06-19 Thread Constantine Kousoulos
Having a linux background (and a limited NetBSD experience), i 
expected to find linker scripts in the kernel source code. 
However, this is simply not true for most architectures. What is 
the logic behind the lack of linker scripts?


Thanks,
Constantine