mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-26 05:20:30 +00:00
* config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
(ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with BFD_RELOC_16_BASEREL. (md_assemble): Likewise. (md_apply_fix3): Likewise.
This commit is contained in:
parent
c061c2d8bb
commit
1cfc59d51f
@ -1,3 +1,11 @@
|
||||
2002-05-02 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
|
||||
(ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with
|
||||
BFD_RELOC_16_BASEREL.
|
||||
(md_assemble): Likewise.
|
||||
(md_apply_fix3): Likewise.
|
||||
|
||||
2002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
|
||||
|
||||
* config/tc-arm.c (thumb_add_sub): Do not convert a subtract of
|
||||
|
@ -1378,7 +1378,7 @@ ppc_elf_suffix (str_p, exp_p)
|
||||
MAP ("plt@h", (int) BFD_RELOC_HI16_PLTOFF),
|
||||
MAP ("plt@ha", (int) BFD_RELOC_HI16_S_PLTOFF),
|
||||
MAP ("sdarel", (int) BFD_RELOC_GPREL16),
|
||||
MAP ("sectoff", (int) BFD_RELOC_32_BASEREL),
|
||||
MAP ("sectoff", (int) BFD_RELOC_16_BASEREL),
|
||||
MAP ("sectoff@l", (int) BFD_RELOC_LO16_BASEREL),
|
||||
MAP ("sectoff@h", (int) BFD_RELOC_HI16_BASEREL),
|
||||
MAP ("sectoff@ha", (int) BFD_RELOC_HI16_S_BASEREL),
|
||||
@ -1687,7 +1687,7 @@ ppc_elf_validate_fix (fixp, seg)
|
||||
&& fixp->fx_r_type != BFD_RELOC_HI16_GOTOFF
|
||||
&& fixp->fx_r_type != BFD_RELOC_LO16_GOTOFF
|
||||
&& fixp->fx_r_type != BFD_RELOC_HI16_S_GOTOFF
|
||||
&& fixp->fx_r_type != BFD_RELOC_32_BASEREL
|
||||
&& fixp->fx_r_type != BFD_RELOC_16_BASEREL
|
||||
&& fixp->fx_r_type != BFD_RELOC_LO16_BASEREL
|
||||
&& fixp->fx_r_type != BFD_RELOC_HI16_BASEREL
|
||||
&& fixp->fx_r_type != BFD_RELOC_HI16_S_BASEREL
|
||||
@ -2240,7 +2240,7 @@ md_assemble (str)
|
||||
case BFD_RELOC_LO16_PLTOFF:
|
||||
reloc = BFD_RELOC_PPC64_PLT16_LO_DS;
|
||||
break;
|
||||
case BFD_RELOC_32_BASEREL:
|
||||
case BFD_RELOC_16_BASEREL:
|
||||
reloc = BFD_RELOC_PPC64_SECTOFF_DS;
|
||||
break;
|
||||
case BFD_RELOC_LO16_BASEREL:
|
||||
@ -5284,7 +5284,6 @@ md_apply_fix3 (fixP, valP, seg)
|
||||
|
||||
case BFD_RELOC_RVA:
|
||||
case BFD_RELOC_32_PCREL:
|
||||
case BFD_RELOC_32_BASEREL:
|
||||
case BFD_RELOC_PPC_EMB_NADDR32:
|
||||
md_number_to_chars (fixP->fx_frag->fr_literal + fixP->fx_where,
|
||||
value, 4);
|
||||
@ -5309,6 +5308,7 @@ md_apply_fix3 (fixP, valP, seg)
|
||||
case BFD_RELOC_LO16_GOTOFF:
|
||||
case BFD_RELOC_HI16_GOTOFF:
|
||||
case BFD_RELOC_HI16_S_GOTOFF:
|
||||
case BFD_RELOC_16_BASEREL:
|
||||
case BFD_RELOC_LO16_BASEREL:
|
||||
case BFD_RELOC_HI16_BASEREL:
|
||||
case BFD_RELOC_HI16_S_BASEREL:
|
||||
|
Loading…
Reference in New Issue
Block a user