Skip to content

Commit

Permalink
refs #181: change loading the library bases
Browse files Browse the repository at this point in the history
  • Loading branch information
bebbo committed Jun 9, 2022
1 parent 6529f0b commit caed511
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions gcc/config/m68k/m68k.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
;;- removed opcodes and addressing modes off.
;;-


;;- instruction definitions

;;- @@The original PO technology requires these to be ordered by speed,
Expand Down Expand Up @@ -8913,7 +8912,10 @@
rtx a6 = gen_raw_REG (SImode, A6_REG);
rtx bas;
if (flag_pic >= 3)
bas = gen_rtx_MEM (SImode, gen_rtx_PLUS(SImode, gen_rtx_REG (Pmode, PIC_REG), singbas));
bas = gen_rtx_MEM (SImode, gen_rtx_CONST (Pmode,
gen_rtx_PLUS (Pmode, gen_rtx_REG (Pmode, PIC_REG), gen_rtx_CONST (Pmode,
gen_rtx_UNSPEC (Pmode, gen_rtvec (2, singbas, GEN_INT (0)), UNSPEC_RELOC16)
))));
else
bas = gen_rtx_MEM (SImode, singbas);
bas->unchanging = 1;
Expand Down Expand Up @@ -8974,7 +8976,10 @@
rtx a6 = gen_raw_REG (SImode, A6_REG);
rtx bas;
if (flag_pic >= 3)
bas = gen_rtx_MEM (SImode, gen_rtx_PLUS(SImode, gen_rtx_REG (Pmode, PIC_REG), doubbas));
bas = gen_rtx_MEM (SImode, gen_rtx_CONST (Pmode,
gen_rtx_PLUS (Pmode, gen_rtx_REG (Pmode, PIC_REG), gen_rtx_CONST (Pmode,
gen_rtx_UNSPEC (Pmode, gen_rtvec (2, doubbas, GEN_INT (0)), UNSPEC_RELOC16)
))));
else
bas = gen_rtx_MEM (SImode, doubbas);
bas->unchanging = 1;
Expand Down

0 comments on commit caed511

Please sign in to comment.