Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/crunch/crunchgen remove the hack to remove .eh_frame...
details: https://anonhg.NetBSD.org/src/rev/9c7f7aa81679
branches: trunk
changeset: 996951:9c7f7aa81679
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Feb 14 12:22:06 2019 +0000
description:
remove the hack to remove .eh_frame -- gcc7 is fixed it seems.
diffstat:
usr.bin/crunch/crunchgen/crunchgen.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (30 lines):
diff -r e2cfb15d2c15 -r 9c7f7aa81679 usr.bin/crunch/crunchgen/crunchgen.c
--- a/usr.bin/crunch/crunchgen/crunchgen.c Thu Feb 14 11:15:24 2019 +0000
+++ b/usr.bin/crunch/crunchgen/crunchgen.c Thu Feb 14 12:22:06 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crunchgen.c,v 1.91 2019/02/13 20:48:56 mrg Exp $ */
+/* $NetBSD: crunchgen.c,v 1.92 2019/02/14 12:22:06 mrg Exp $ */
/*
* Copyright (c) 1994 University of Maryland
* All Rights Reserved.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
-__RCSID("$NetBSD: crunchgen.c,v 1.91 2019/02/13 20:48:56 mrg Exp $");
+__RCSID("$NetBSD: crunchgen.c,v 1.92 2019/02/14 12:22:06 mrg Exp $");
#endif
#include <stdlib.h>
@@ -964,11 +964,7 @@
fprintf(outmk, "OBJCOPY_REMOVE_FLAGS=-R .eh_frame_hdr -R .note -R .note.netbsd.pax -R .ident -R .comment -R .copyright\n\n");
- fprintf(outmk, ".if !(${MACHINE} == \"sparc\" || \\\n");
- fprintf(outmk, " ${MACHINE} == \"sparc64\" || \\\n");
- fprintf(outmk, " ${MACHINE_ARCH:C/mips(e|64e)[bl]/mips/} == \"mips\")\n");
fprintf(outmk, "OBJCOPY_REMOVE_FLAGS+=-R .eh_frame\n");
- fprintf(outmk, ".endif\n");
fprintf(outmk, ".if ${MACHINE} != \"sparc64\"\n");
fprintf(outmk, "OBJCOPY_REMOVE_FLAGS+=-R .note.netbsd.mcmodel\n");
fprintf(outmk, ".endif\n\n");
Home |
Main Index |
Thread Index |
Old Index