aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2023-12-29 12:43:11 -0800
committerH.J. Lu <hjl.tools@gmail.com>2023-12-29 12:44:05 -0800
commiteed38d8a02b277825a682d8d1daeb0bcc4508b04 (patch)
tree94b297f5423f3eae2337a6c2b26cd82fe6ff48c3 /gas
parent3396471b4cd4032adcc8eabb46d2a3ab0c876368 (diff)
downloadgdb-eed38d8a02b277825a682d8d1daeb0bcc4508b04.zip
gdb-eed38d8a02b277825a682d8d1daeb0bcc4508b04.tar.gz
gdb-eed38d8a02b277825a682d8d1daeb0bcc4508b04.tar.bz2
Fix x86-64: Add R_X86_64_CODE_4_GOTPCRELX
commit 3d5a60de52556f6a53d71d7e607c6696450ae3e4 Author: H.J. Lu <hjl.tools@gmail.com> Date: Thu Jun 8 10:01:03 2023 -0700 x86-64: Add R_X86_64_CODE_4_GOTPCRELX added a new field, fx_tcbit3, to fix. But it didn't initialize it. Fix it by clearing it in fix_new_internal. * wrtite.c (fix_new_internal): Clear fx_tcbit3.
Diffstat (limited to 'gas')
-rw-r--r--gas/write.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/write.c b/gas/write.c
index 20ba3f8..5612b40 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -169,6 +169,7 @@ fix_new_internal (fragS *frag, /* Which frag? */
fixP->fx_addnumber = 0;
fixP->fx_tcbit = 0;
fixP->fx_tcbit2 = 0;
+ fixP->fx_tcbit3 = 0;
fixP->fx_done = 0;
fixP->fx_no_overflow = 0;
fixP->fx_signed = 0;