[PATCH] BFD: Consider any section whose name starts with ".__abs" to be absolute.

John Darrington john@darrington.wattle.id.au
Sat Jun 23 16:40:00 GMT 2018


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...

-- 
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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://sourceware.org/pipermail/binutils/attachments/20180623/bbf19493/attachment.sig>


More information about the Binutils mailing list