The c64 flag in the aarch64_fix struct was missing an initialization.
This was causing Morello relocations to be spuriously inserted, even
when not targeting C64.
This patch fixes the issue by initializing the flag to false.
gas/ChangeLog:
2021-07-13 Alex Coplan <alex.coplan@arm.com>
* config/tc-aarch64.h (TC_INIT_FIX_DATA): Initialize c64
member.
+2021-07-13 Alex Coplan <alex.coplan@arm.com>
+
+ * config/tc-aarch64.h (TC_INIT_FIX_DATA): Initialize c64
+ member.
+
2020-10-20 Siddhesh Poyarekar <siddesh.poyarekar@arm.com>
* config/tc-aarch64.c (s_tlsdesccall): Emit Morello
while (0);
#define TC_FIX_TYPE struct aarch64_fix
-#define TC_INIT_FIX_DATA(FIX) { (FIX)->tc_fix_data.inst = NULL; \
- (FIX)->tc_fix_data.opnd = AARCH64_OPND_NIL; }
+#define TC_INIT_FIX_DATA(FIX) { \
+ (FIX)->tc_fix_data.inst = NULL; \
+ (FIX)->tc_fix_data.opnd = AARCH64_OPND_NIL; \
+ (FIX)->tc_fix_data.c64 = FALSE; \
+}
#define TC_SYMFIELD_TYPE unsigned int
#define AARCH64_GET_FLAG(s) (*symbol_get_tc (s))