mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
* config/tc-ppc.c (md_apply_fix): Fix xcoff build breakage from
last patch.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2012-11-06 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* config/tc-ppc.c (md_apply_fix): Fix xcoff build breakage from
|
||||||
|
last patch.
|
||||||
|
|
||||||
2012-11-05 Sean Keys <skeys@ipdatasys.com>
|
2012-11-05 Sean Keys <skeys@ipdatasys.com>
|
||||||
|
|
||||||
* config/tc-xgate.c: Remove bogus use of <fx_pcrel_adjust>.
|
* config/tc-xgate.c: Remove bogus use of <fx_pcrel_adjust>.
|
||||||
|
@ -6360,10 +6360,12 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED)
|
|||||||
fieldval = value;
|
fieldval = value;
|
||||||
switch (fixP->fx_r_type)
|
switch (fixP->fx_r_type)
|
||||||
{
|
{
|
||||||
|
#ifdef OBJ_ELF
|
||||||
case BFD_RELOC_PPC64_ADDR16_LO_DS:
|
case BFD_RELOC_PPC64_ADDR16_LO_DS:
|
||||||
if (fixP->fx_pcrel)
|
if (fixP->fx_pcrel)
|
||||||
goto bad_pcrel;
|
goto bad_pcrel;
|
||||||
/* fall through */
|
/* fall through */
|
||||||
|
#endif
|
||||||
case BFD_RELOC_LO16:
|
case BFD_RELOC_LO16:
|
||||||
if (fixP->fx_pcrel)
|
if (fixP->fx_pcrel)
|
||||||
fixP->fx_r_type = BFD_RELOC_LO16_PCREL;
|
fixP->fx_r_type = BFD_RELOC_LO16_PCREL;
|
||||||
|
Reference in New Issue
Block a user