Move jump-tables out of .text again.
authorGeorg-Johann Lay <avr@gjlay.de>
Mon, 10 Jul 2017 08:22:47 +0000 (08:22 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Mon, 10 Jul 2017 08:22:47 +0000 (08:22 +0000)
commit92383fee5c764578927b7a3f559c50c28ad395f4
tree432aea6aa3f4a202c5d4b579aa306fdc98f894b5
parent464306673d9c8e7a818c0eedb9cee839e695752f
Move jump-tables out of .text again.

gcc/
Move jump-tables out of .text again.
PR target/81075
* config/avr/avr.c (ASM_OUTPUT_ADDR_VEC_ELT): Remove function.
(ASM_OUTPUT_ADDR_VEC): New function.
(avr_adjust_insn_length) [JUMP_TABLE_DATA_P]: Return 0.
(avr_final_prescan_insn) [avr_log.insn_addresses]: Dump
INSN_ADDRESSes as asm comment.
* config/avr/avr.h (JUMP_TABLES_IN_TEXT_SECTION): Adjust comment.
(ASM_OUTPUT_ADDR_VEC_ELT): Remove define.
(ASM_OUTPUT_ADDR_VEC): Define to avr_output_addr_vec.
* config/avr/avr.md (*tablejump): Adjust comment.
* config/avr/elf.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove.
* config/avr/avr-log.c (avr_log_set_avr_log) <insn_addresses>:
New detail.
* config/avr/avr-protos.h (avr_output_addr_vec_elt): Remove proto.
(avr_output_addr_vec): New proto.
(avr_log_t) <insn_addresses>: New field.

From-SVN: r250091
gcc/ChangeLog
gcc/config/avr/avr-log.c
gcc/config/avr/avr-protos.h
gcc/config/avr/avr.c
gcc/config/avr/avr.h
gcc/config/avr/avr.md
gcc/config/avr/elf.h