public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] Fix x86-64: Add R_X86_64_CODE_4_GOTPCRELX
@ 2023-12-29 20:44 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2023-12-29 20:44 UTC (permalink / raw)
  To: bfd-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=eed38d8a02b277825a682d8d1daeb0bcc4508b04

commit eed38d8a02b277825a682d8d1daeb0bcc4508b04
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Dec 29 12:43:11 2023 -0800

    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.

Diff:
---
 gas/write.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gas/write.c b/gas/write.c
index 20ba3f8bd84..5612b401f46 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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-29 20:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-29 20:44 [binutils-gdb] Fix x86-64: Add R_X86_64_CODE_4_GOTPCRELX H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).