This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: Unrelocated output sections


Hi Simon,

> Is it possible to have LD create an output binary that contains
> relocation information for the "movable" segment even if the rest of the
> system is fully linked?

Short answer: no. :-(

You could create two separate binaries, one fully linked, and one relocatable
and then join them together, (possibly using objcopy), although I am not sure
how easy this will be.

Sorry.  Of course you can always create a patch to the linker to provide this
kind of functionality, but I think that it will be hard to do...

Cheers
  Nick



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