bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/30970] [rfe] please include HPA segelf work


From: stsp at users dot sourceforge.net
Subject: [Bug ld/30970] [rfe] please include HPA segelf work
Date: Tue, 24 Oct 2023 22:32:14 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]