[Bug other/77609] __attribute__((section(".note.foo"))) forces SHT_PROGBITS though the assembler would use SHT_NOTE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77609 --- Comment #4 from roland at gcc dot gnu.org --- Author: roland Date: Sat May 5 23:35:25 2018 New Revision: 259969 URL: https://gcc.gnu.org/viewcvs?rev=259969&root=gcc&view=rev Log: PR other/77609: Let the assembler choose ELF section types for miscellaneous named sections gcc/ PR other/77609 * varasm.c (default_section_type_flags): Set SECTION_NOTYPE for any section for which we don't know a specific type it should have, regardless of name. Previously this was done only for the exact names ".init_array", ".fini_array", and ".preinit_array". (default_elf_asm_named_section): Add comment about relationship with default_section_type_flags and SECTION_NOTYPE. (get_section): Don't consider it a type conflict if one side has SECTION_NOTYPE and the other doesn't, as long as neither has the SECTION_BSS et al used in the default_section_type_flags logic. Modified: trunk/gcc/ChangeLog trunk/gcc/varasm.c
[Bug other/77609] __attribute__((section(".note.foo"))) forces SHT_PROGBITS though the assembler would use SHT_NOTE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77609 --- Comment #5 from roland at gcc dot gnu.org --- Author: roland Date: Thu Jun 14 01:18:59 2018 New Revision: 261581 URL: https://gcc.gnu.org/viewcvs?rev=261581&root=gcc&view=rev Log: PR other/77609: Let the assembler choose ELF section types for miscellaneous named sections gcc/ PR other/77609 * varasm.c (default_section_type_flags): Set SECTION_NOTYPE for any section for which we don't know a specific type it should have, regardless of name. Previously this was done only for the exact names ".init_array", ".fini_array", and ".preinit_array". (default_elf_asm_named_section): Add comment about relationship with default_section_type_flags and SECTION_NOTYPE. (get_section): Don't consider it a type conflict if one side has SECTION_NOTYPE and the other doesn't, as long as neither has the SECTION_BSS et al used in the default_section_type_flags logic. (cherry picked from commit db7548a2771bbf34cf7430712af7ac670b429958) Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/varasm.c
[Bug libstdc++/59392] crash on throw from "unexpected exception" handler with ARM EABI unwinder
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59392 --- Comment #4 from roland at gcc dot gnu.org --- Author: roland Date: Wed Mar 12 22:42:13 2014 New Revision: 208519 URL: http://gcc.gnu.org/viewcvs?rev=208519&root=gcc&view=rev Log: PR libstdc++/59392: Fix ARM EABI uncaught throw from unexpected exception handler libstdc++-v3/ PR libstdc++/59392 * libsupc++/eh_call.cc (__cxa_call_unexpected): Call __do_catch with the address of a null pointer, not with a null pointer to pointer. Copy comment for this case from eh_personality.cc:__cxa_call_unexpected. * testsuite/18_support/bad_exception/59392.cc: New file. Added: trunk/libstdc++-v3/testsuite/18_support/bad_exception/59392.cc (with props) Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/libsupc++/eh_call.cc Propchange: trunk/libstdc++-v3/testsuite/18_support/bad_exception/59392.cc ('svn:eol-style' added)
[Bug libstdc++/59392] crash on throw from "unexpected exception" handler with ARM EABI unwinder
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59392 --- Comment #5 from roland at gcc dot gnu.org --- Author: roland Date: Wed Mar 12 22:44:09 2014 New Revision: 208520 URL: http://gcc.gnu.org/viewcvs?rev=208520&root=gcc&view=rev Log: PR libstdc++/59392: Fix ARM EABI uncaught throw from unexpected exception handler libstdc++-v3/ PR libstdc++/59392 * libsupc++/eh_call.cc (__cxa_call_unexpected): Call __do_catch with the address of a null pointer, not with a null pointer to pointer. Copy comment for this case from eh_personality.cc:__cxa_call_unexpected. * testsuite/18_support/bad_exception/59392.cc: New file. Added: branches/gcc-4_8-branch/libstdc++-v3/testsuite/18_support/bad_exception/59392.cc (with props) Modified: branches/gcc-4_8-branch/libstdc++-v3/ChangeLog branches/gcc-4_8-branch/libstdc++-v3/libsupc++/eh_call.cc Propchange: branches/gcc-4_8-branch/libstdc++-v3/testsuite/18_support/bad_exception/59392.cc ('svn:eol-style' added)