37e41c8801
add netbsd/arm EABI target. recognise dwarf2 unwinding in the common arm code. switch convoluted stddef.h logic from relying on include guards having certain names to only applying for netbsd, which should be the sole remaining user. (necessary for netbsd/arm, which uses different include guards for ansi.h) move linux/alpha code out of shared alpha+ELF header. make all netbsd targets include netbsd-stdint.h. Fixes PR pkg/52951. Bump PKGREVISION. bump gcc7-libs PKGREVISION above this one.
16 lines
481 B
C
16 lines
481 B
C
$NetBSD: patch-gcc_common_config_arm_arm-common.c,v 1.1 2018/06/17 19:50:52 maya Exp $
|
|
|
|
use dwarf2 if requested, netbsd/arm uses this.
|
|
|
|
--- gcc/common/config/arm/arm-common.c.orig 2017-01-11 14:39:00.884692000 +0000
|
|
+++ gcc/common/config/arm/arm-common.c
|
|
@@ -49,6 +49,9 @@ arm_except_unwind_info (struct gcc_optio
|
|
return UI_SJLJ;
|
|
#endif
|
|
|
|
+ if (ARM_DWARF_UNWIND_TABLES)
|
|
+ return UI_DWARF2;
|
|
+
|
|
/* If not using ARM EABI unwind tables... */
|
|
if (ARM_UNWIND_INFO)
|
|
{
|