aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/avr/elf.h
AgeCommit message (Collapse)AuthorFilesLines
2019-01-01Update copyright years.Jakub Jelinek1-1/+1
From-SVN: r267494
2018-01-03Update copyright years.Jakub Jelinek1-1/+1
From-SVN: r256169
2017-07-10Move jump-tables out of .text again.Georg-Johann Lay1-5/+0
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
2017-01-01Update copyright years.Jakub Jelinek1-1/+1
From-SVN: r243994
2016-01-04Update copyright years.Jakub Jelinek1-1/+1
From-SVN: r232055
2015-01-05Update copyright years.Jakub Jelinek1-1/+1
From-SVN: r219188
2014-01-02Update copyright years in gcc/Richard Sandiford1-1/+1
From-SVN: r206289
2013-01-10Update copyright years in gcc/Richard Sandiford1-2/+1
From-SVN: r195098
2013-01-04Update Copyright years for files modified in 2011 and/or 2012.Jakub Jelinek1-1/+1
From-SVN: r194903
2012-05-23re PR target/53448 ([avr] ignoring __attribute__((aligned(2))))Georg-Johann Lay1-1/+1
PR target/53448 * config/avr/avr.h (ASM_OUTPUT_ALIGN): Don't inhibit .p2align 1. * config/avr/elf.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Use ASM_OUTPUT_ALIGN. From-SVN: r187803
2012-05-09re PR target/53256 ([avr] Attribute 'interrupt' shall override attribute ↵Georg-Johann Lay1-5/+0
'signal') PR target/53256 * config/avr/elf.h (ASM_DECLARE_FUNCTION_NAME): Remove. * config/avr/avr-protos.h (avr_asm_declare_function_name): Remove. * config/avr/avr.h (struct machine_function): Add attributes_checked_p. * config/avr/avr.c (avr_asm_declare_function_name): Remove. (expand_prologue): Move initialization of cfun->machine->is_naked, is_interrupt, is_signal, is_OS_task, is_OS_main from here to... (avr_set_current_function): ...this new static function. (TARGET_SET_CURRENT_FUNCTION): New define. (avr_function_ok_for_sibcall): Use cfun->machine->is_* instead of checking attributes of current_function_decl. (avr_regs_to_save): Ditto. (signal_function_p): Rename to avr_signal_function_p. (interrupt_function_p): Rename to avr_interrupt_function_p. * doc/extend.texi (Function Attributes): Better explanation of 'interrupt' and 'signal' for AVR. Move 'ifunc' down to establish alphabetical order. From-SVN: r187342
2011-09-05avr.h (progmem_section): Remove Declaration.Georg-Johann Lay1-1/+2
* config/avr/avr.h (progmem_section): Remove Declaration. * config/avr/avr.c (progmem_section): Make static and rename to progmem_swtable_section. (avr_output_addr_vec_elt): No need to switch sections. (avr_asm_init_sections): Use output_section_asm_op as section callback for progmem_swtable_section. (avr_output_progmem_section_asm_op): Remove Function. (TARGET_ASM_FUNCTION_RODATA_SECTION): New Define. (avr_asm_function_rodata_section): New static Function. * config/avr/elf.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Output alignment 2**1 for jump tables. From-SVN: r178525
2011-07-14re PR target/43746 (-fmerge-constants and -fmerge-all-constants don't work ↵Georg-Johann Lay1-12/+0
at AVR target) gcc/ PR target/43746 * config/avr/elf.h (TARGET_ASM_SELECT_SECTION): Remove, i.e. use default_elf_select_section. (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Remove. (READONLY_DATA_SECTION_ASM_OP): Remove. (TARGET_ASM_NAMED_SECTION): Move from here... * config/avr/avr.c: ...to here. (avr_asm_init_sections): Set unnamed callback of readonly_data_section. (avr_asm_named_section): Make static. testsuite/ PR target/43746 * gcc.dg/array-quals-1.c: Don't xfail on AVR. From-SVN: r176262
2011-06-28config.gcc (tm_file): Add elfos.h and avr/elf.h for avr-*-* and avr-*-rtems* ↵Georg-Johann Lay1-0/+58
targets. * config.gcc (tm_file): Add elfos.h and avr/elf.h for avr-*-* and avr-*-rtems* targets. * config/avr/elf.h: New file. (ASM_OUTPUT_BEFORE_CASE_LABEL): Define. (TARGET_ASM_SELECT_SECTION): Define. (INIT_SECTION_ASM_OP): Undefine. (FINI_SECTION_ASM_OP): Undefine. (READONLY_DATA_SECTION_ASM_OP): Undefine. (PCC_BITFIELD_TYPE_MATTERS): Undefine. (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Undefine. * config/avr/avr.h: (PREFERRED_DEBUGGING_TYPE): Move to elf.h. (TARGET_ASM_NAMED_SECTION): Move to elf.h. (MAX_OFILE_ALIGNMENT): Move to elf.h. (STRING_LIMIT): Move to elf.h. (ASM_DECLARE_FUNCTION_NAME): Move to elf.h. (ASM_DECLARE_OBJECT_NAME): Remove. (ESCAPES): Remove. (ASM_OUTPUT_SKIP): Remove. (DWARF2_DEBUGGING_INFO): Remove. (OBJECT_FORMAT_ELF): Remove. (USER_LABEL_PREFIX): Remove. (ASM_OUTPUT_EXTERNAL): Remove. (ASM_OUTPUT_ASCII): Remove. (TYPE_ASM_OP): Remove. (SIZE_ASM_OP): Remove. (WEAK_ASM_OP): Remove. (STRING_ASM_OP): Remove. (SET_ASM_OP): Remove. (ASM_WEAKEN_LABEL): Remove. (TYPE_OPERAND_FMT): Remove. (ASM_DECLARE_FUNCTION_SIZE): Remove. (ASM_FINISH_DECLARE_OBJECT): Remove. (NO_DOLLAR_IN_LABEL): Remove. (ASM_GENERATE_INTERNAL_LABEL): Remove. (ASM_OUTPUT_CASE_LABEL): Remove. * config/avr/avr.c (avr_asm_output_aligned_decl_common): Use ASM_OUTPUT_ALIGNED_LOCAL, ASM_OUTPUT_ALIGNED_COMMON. (gas_output_ascii): Remove. (gas_output_limited_string): Remove. (TARGET_ASM_FILE_START_FILE_DIRECTIVE): Remove. * config/avr/avr-protos.h (gas_output_ascii): Remove prototye. (gas_output_limited_string): Remove prototype. From-SVN: r175575