Problems with new binutils, -mbss-plt and prelink
Alan Modra
amodra@bigpond.net.au
Sat Jul 30 01:06:00 GMT 2005
More information about the Binutils mailing list
Sat Jul 30 01:06:00 GMT 2005
- Previous message (by thread): Problems with new binutils, -mbss-plt and prelink
- Next message (by thread): PATCH: x86-64: Properly handle mixing large/normal common symbols
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Jul 29, 2005 at 02:39:45PM +0200, Jakub Jelinek wrote: > But current binutils put it at the end of .got instead (the 4 word block, > containing 0x4e800021 (blrl insn), address of _DYNAMIC without relocation > and 2 zeros. Can I at least rely on it being either at the beginning or > at the end of .got section (and check whether the 2 initial values are ok > and no relocations are against those 4 values)? For old binutils, it will be at the beginning of .got. For new binutils, it will always be at the lesser of .got size and 32k. More precisely: binutils layout .got size g_o_t old old 16 to 32768 4 new old 16 to 32776 size - 12 old 32780 to 65536 32768 secure 12 to 32776 size - 12 secure 32780 to 65536 32768 Writing out this table made me realize there is a bug in the current code for old layout >= 32780. I'll fix it later today. -- Alan Modra IBM OzLabs - Linux Technology Centre
- Previous message (by thread): Problems with new binutils, -mbss-plt and prelink
- Next message (by thread): PATCH: x86-64: Properly handle mixing large/normal common symbols
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list