aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-09-28 14:08:28 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2017-09-28 14:08:28 +0100
commitfcef3abdc5b8ff77404e1cab97570a8431bcde5d (patch)
tree45878272f006c8d8b063fce30c9a5010c4817f6f /gcc/config.gcc
parent78c98bf2d98bba45b128e1461f79b85ba12d2775 (diff)
downloadgcc-fcef3abdc5b8ff77404e1cab97570a8431bcde5d.zip
gcc-fcef3abdc5b8ff77404e1cab97570a8431bcde5d.tar.gz
gcc-fcef3abdc5b8ff77404e1cab97570a8431bcde5d.tar.bz2
Avoid assembler warnings from AArch64 constructor/destructor priorities.
Many GCC tests fail for AArch64 with current binutils because of assembler warnings of the form "Warning: ignoring incorrect section type for .init_array.00100". The same issue was fixed for ARM in r247015 by using SECTION_NOTYPE when creating those sections; this patch applies the same fix to AArch64. Tested with no regressions with cross to aarch64-linux-gnu. * config/aarch64/aarch64.c (aarch64_elf_asm_constructor) (aarch64_elf_asm_destructor): Pass SECTION_NOTYPE to get_section when creating .init_array and .fini_array sections with priority specified. From-SVN: r253252
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions