m68k: handle more cases of TLS symbols with offset
authorAndreas Schwab <schwab@linux-m68k.org>
Wed, 8 Aug 2018 20:01:26 +0000 (20:01 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Wed, 8 Aug 2018 20:01:26 +0000 (20:01 +0000)
commitede9446c26a9290bfb60422b31868212c00a4af7
treea1f3ea49d5630e2f4ad14d977deca75fb0d3b278
parentf10a91352f83232394646df5a67bdb8f4366a067
m68k: handle more cases of TLS symbols with offset

PR target/46179
* config/m68k/m68k.h (FINAL_PRESCAN_INSN): Don't define.
* config/m68k/m68k.c (handle_move_double): Don't call
m68k_final_prescan_insn.
(m68k_adjust_decorated_operand): Renamed from
m68k_final_prescan_insn, remove first and third operand and
simplify.
(print_operand): Call it.
(print_operand_address): Call it.

PR target/46179
* gcc.target/m68k/tls-dimode.c: New file.

From-SVN: r263432
gcc/ChangeLog
gcc/config/m68k/m68k.c
gcc/config/m68k/m68k.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/m68k/tls-dimode.c [new file with mode: 0644]