mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-11 12:06:09 +00:00
1999-09-11 Donn Terry <donn@interix.com>
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust relocations against global symbols if TE_PE.
This commit is contained in:
parent
7a6284c477
commit
79d292aaa2
@ -5,6 +5,9 @@
|
||||
|
||||
1999-09-11 Donn Terry <donn@interix.com>
|
||||
|
||||
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
|
||||
relocations against global symbols if TE_PE.
|
||||
|
||||
* config/obj-coff.c (obj_coff_ident): Add BFD_ASSEMBLER version.
|
||||
(obj_pseudo_table): Always handle ".ident" with obj-coff_ident.
|
||||
|
||||
|
@ -941,8 +941,9 @@ int
|
||||
tc_i386_fix_adjustable(fixP)
|
||||
fixS * fixP;
|
||||
{
|
||||
#ifdef OBJ_ELF
|
||||
/* Prevent all adjustments to global symbols. */
|
||||
#if defined (OBJ_ELF) || defined (TE_PE)
|
||||
/* Prevent all adjustments to global symbols, or else dynamic
|
||||
linking will not work correctly. */
|
||||
if (S_IS_EXTERN (fixP->fx_addsy))
|
||||
return 0;
|
||||
if (S_IS_WEAK (fixP->fx_addsy))
|
||||
|
Loading…
x
Reference in New Issue
Block a user