aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-section-in.c
diff options
context:
space:
mode:
authorAndre Vieira <andre.simoesdiasvieira@arm.com>2016-09-23 13:26:44 +0000
committerAndre Vieira <andre.simoesdiasvieira@arm.com>2016-09-23 13:26:44 +0000
commit4eb9c120a5edc23d07d927a7cfa56d40fa8803fb (patch)
treed145978715ef37910da73a65317932d1ab8e5a20 /gcc/lto-section-in.c
parentfac0917b8276336f61568d54c1482e122de9ba8a (diff)
2016-09-23 Andre Vieira <andre.simoesdiasvieira@arm.com>ARM/embedded-5-branch-2016q3ARM/embedded-5-branch
Backport from mainline gcc/ChangeLog.arm: 2016-09-23 Uros Bizjak <ubizjak@gmail.com> Jakub Jelinek <jakub@redhat.com> * hooks.h (hook_uint_uintp_false): Rename to... (hook_bool_uint_uintp_false): ... this. * hooks.c (hook_uint_uintp_false): Rename to... (hook_bool_uint_uintp_false): ... this. * target.def (elf_flags_numeric): Use hook_bool_uint_uintp_false instead of hook_uint_uintp_false. 2016-09-23 Richard Biener <rguenther@suse.de> * hooks.h (hook_uint_uintp_false): Declare. 2016-09-22 Andre Vieira <andre.simoesdiasvieira@arm.com> Terry Guo <terry.guo@arm.com> * target.def (elf_flags_numeric): New target hook. * targhooks.h (default_asm_elf_flags_numeric): New. * hooks.c (hook_uint_uintp_false): New. * varasm.c (default_asm_elf_flags_numeric): New. (default_elf_asm_named_section): Use new target hook. * config/arm/arm.opt (mpure-code): New. * config/arm/arm.h (SECTION_ARM_PURECODE): New. * config/arm/arm.c (arm_asm_init_sections): Add section attribute to default text section if -mpure-code. (arm_option_option_override): Diagnose use of option with non supported targets and/or options. (arm_asm_elf_flags_numeric): New. (arm_function_section): New. (arm_elf_section_type_flags): New. * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Disable for -mpure-code. * gcc/doc/texi (TARGET_ASM_ELF_FLAGS_NUMERIC): New. * gcc/doc/texi.in (TARGET_ASM_ELF_FLAGS_NUMERIC): Likewise. gcc/testsuite/ChangeLog.arm: 2016-09-22 Andre Vieira <andre.simoesdiasvieira@arm.com> Terry Guo <terry.guo@arm.com> * gcc.target/arm/pure-code/ffunction-sections.c: New. * gcc.target/arm/pure-code/no-literal-pool.c: New. * gcc.target/arm/pure-code/pure-code.exp: New. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ARM/embedded-5-branch@240432 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-section-in.c')
0 files changed, 0 insertions, 0 deletions