mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
Fix x86-64: Add R_X86_64_CODE_4_GOTPCRELX
commit 3d5a60de52
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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user