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]
Other format: [Raw text]

relocations with addenda


Hi all,

I am attempting to compile a simple program on my i386 machine for an ARM 
target.  In doing this, GCC produces a relocation section in its output file 
(.rel.text).  ld then produces a .rel.text segment in its output when run with 
the --emit-relocs option.  This relocation section is of the no-addenda 
variety and is incompatible with the system on which I am attempting to run 
my program.  Said system requires a .rela.text section for its relocations 
(i.e. one with addenda values).

ld doesn't seem to have a run-time option for converting the .rel.text 
sections of its input to .rela.text sections in its output.  Is there any way 
to enable such a conversion?  Can one adjust or patch the source code to 
accomplish this?

Thanks,

Stuart

p.s. I'm using the following ld version:

GNU ld version 2.11.2 (with BFD 2.11.2)

#####################################################################################
Note:
This message is for the named person's use only.  It may contain confidential,
proprietary or legally privileged information.  No confidentiality or privilege
is waived or lost by any mistransmission.  If you receive this message in error,
please immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender.  You must not, directly or indirectly,
use, disclose, distribute, print, or copy any part of this message if you are not
the intended recipient. BEELINE Technologies and any of its subsidiaries each reserve
the right to monitor all e-mail communications through its networks.

Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorized to state them to be the
views of any such entity.

Thank You.
postmaster@BEELINE.ag
#####################################################################################


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