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] |
On Tue, Jun 26, 2018 at 03:05:20PM +0930, Alan Modra wrote: On Sat, Jun 23, 2018 at 06:40:35PM +0200, John Darrington wrote: > The relocatable ELF files produced by the compiler of a major semiconductor > manufactoror does not put absolute symbols into the *ABS* section. > Instead, each seems to have its own section whose name starts with .__absdata_ > > This causes ld to mislink such files. This patch seems to fix the problem. > It doesn't seem like an elegant solution, but then it isn't an elegant problem... No, that isn't the right way. Investigate elf_add_symbol_hook. After quite a bit of investigation, I concluded that this hook is always ignored unless one also defines elf_backend_relocate_sections - which would open up a huge can of worms. Is there another way? J' -- Avoid eavesdropping. Send strong encrypted email. PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key.
Attachment:
signature.asc
Description: Digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |