This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: -Tbss on ELF harmful?


On Mon, Oct 29, 2001 at 11:21:13PM -0500, DJ Delorie wrote:
> 
> > these options seem to sort-of work for ELF.  many of the NetBSD
> > ELF ports use -Ttext to link the kernel and that seems to work
> > just fine...  so disabling them (while possibly correct) will
> > break features that are used and do work ...
> 
> Yeah, that's what I was afraid of.  They work sometimes, but not
> always, and it depends on what linker script you're using.  Difficult
> to detect reliably.

I don't think it is a big problem. It is not that hard to write a
linker script to do what you want. In fact, I believe it is the
right thing to do for those binaries which don't follow the ABI,
like kernel, ....



H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]