https://sourceware.org/bugzilla/show_bug.cgi?id=30970
--- Comment #1 from Stas Sergeev <stsp at users dot sourceforge.net> --- It turned out R_RELC can be used instead of the custom reloc schemes. So that HPA work can be reduced to just this patch: diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h index 80d66c1ce15..7b036a785b0 100644 --- a/gas/config/tc-i386.h +++ b/gas/config/tc-i386.h @@ -392,6 +392,9 @@ extern offsetT x86_sframe_cfa_ra_offset (void); extern unsigned char x86_sframe_get_abi_arch (void); #define sframe_get_abi_arch x86_sframe_get_abi_arch +/* Support computed relocations. */ +#define OBJ_COMPLEX_RELC + #endif #ifdef TE_PE Any reason why computed relocs are currently disabled in gas, and can that be changed? -- You are receiving this mail because: You are on the CC list for the bug.