Skip to content

Commit

Permalink
#12 Added missing information about Amiga baserel relocation
Browse files Browse the repository at this point in the history
  • Loading branch information
migthymax committed Oct 6, 2024
1 parent f9a9753 commit 3014c89
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gas/config/tc-ppc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3119,6 +3119,9 @@ fixup_size (bfd_reloc_code_real_type reloc, bool *pc_relative)
case BFD_RELOC_PPC_TPREL16_HA:
case BFD_RELOC_PPC_TPREL16_HI:
case BFD_RELOC_PPC_TPREL16_LO:
case R_PPC_AMIGAOS_BREL_LO:
case R_PPC_AMIGAOS_BREL_HI:
case R_PPC_AMIGAOS_BREL_HA:
size = 2;
break;

Expand Down Expand Up @@ -3183,6 +3186,7 @@ fixup_size (bfd_reloc_code_real_type reloc, bool *pc_relative)
case BFD_RELOC_PPC_VLE_SDAREL_LO16D:
case BFD_RELOC_PPC64_TLS_PCREL:
case BFD_RELOC_RVA:
case R_PPC_AMIGAOS_BREL:
size = 4;
break;

Expand Down Expand Up @@ -7678,6 +7682,10 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg)
case BFD_RELOC_16:
case BFD_RELOC_16_PCREL:
case BFD_RELOC_8:
case R_PPC_AMIGAOS_BREL:
case R_PPC_AMIGAOS_BREL_LO:
case R_PPC_AMIGAOS_BREL_HI:
case R_PPC_AMIGAOS_BREL_HA:
break;

default:
Expand Down

0 comments on commit 3014c89

Please sign in to comment.