[Bug ld/24896] [powerpc] ld can probably drop R_PPC64_UADDR64 conversion

2019-08-14 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24896 --- Comment #4 from Alan Modra --- Yes, st_value is not added by ppc32 ld.so because st_value is included in r_addend for STB_LOCAL symbols by ld. This goes back further than 2003, in fact to 1997. The 2003 patch you found reverted an earlie

[Bug ld/24896] [powerpc] ld can probably drop R_PPC64_UADDR64 conversion

2019-08-14 Thread maskray at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24896 --- Comment #3 from Fangrui Song --- Thanks for the information. * Aligned R_PPC64_UADDR64 -> R_PPC64_ADDR64 => the code is there and it doesn't hurt anyone, so let's keep it * Misaligned R_PPC64_ADDR64 -> R_PPC64_UADDR64 => this matters on

[Bug ld/24896] [powerpc] ld can probably drop R_PPC64_UADDR64 conversion

2019-08-14 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24896 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug ld/24896] [powerpc] ld can probably drop R_PPC64_UADDR64 conversion

2019-08-13 Thread maskray at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24896 --- Comment #1 from Fangrui Song --- Thinking more. ADDR/UADDR distinction probably makes little sense. I withdraw my proposal that teachs gas to emit UADDR. Some ld conversion rules can probably be deleted: Aligned R_PPC64_UADDR64 -> R_PPC6

[Bug ld/24896] [powerpc] ld can probably drop R_PPC64_UADDR64 conversion

2019-08-13 Thread maskray at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24896 Fangrui Song changed: What|Removed |Added Component|gas |ld Summary|[powerpc] gas sh