- put back a a.out related patch I removed on upgrade

- don't like new files being patched into existence
This commit is contained in:
brad 2003-06-05 23:39:47 +00:00
parent f7d5ee55d7
commit e653c8d5b0
4 changed files with 23 additions and 11 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.14 2003/06/05 18:28:24 brad Exp $
# $OpenBSD: Makefile,v 1.15 2003/06/05 23:39:47 brad Exp $
COMMENT= "GNU development tools"
@ -51,6 +51,7 @@ FILES= ar nm-new objdump ranlib size strings strip-new
post-extract:
@cp -f ${FILESDIR}/{i386obsd.sh,sparcobsd.sh,m68kobsd.sh} \
${WRKSRC}/ld/emulparams
@cp -f ${FILESDIR}/te-obsd.h ${WRKSRC}/gas/config
post-patch:
@cd ${WRKSRC}/bfd && AUTOCONF_VERSION=${AUTOCONF_VERSION} autoconf

View File

@ -0,0 +1,6 @@
#define TE_OpenBSD 1
/* We want [0-9][bf] style local temporary labels. */
#define LOCAL_LABELS_FB 1
#include "obj-format.h"

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-gas_config_tc-i386_h,v 1.4 2003/06/05 23:39:48 brad Exp $
--- gas/config/tc-i386.h.orig Thu Jun 5 19:36:34 2003
+++ gas/config/tc-i386.h Thu Jun 5 19:38:49 2003
@@ -515,7 +515,11 @@ arch_entry;
/* The name of the global offset table generated by the compiler. Allow
this to be overridden if need be. */
#ifndef GLOBAL_OFFSET_TABLE_NAME
+#ifdef OBJ_ELF
#define GLOBAL_OFFSET_TABLE_NAME "_GLOBAL_OFFSET_TABLE_"
+#else
+#define GLOBAL_OFFSET_TABLE_NAME "__GLOBAL_OFFSET_TABLE_"
+#endif
#endif
#ifdef BFD_ASSEMBLER

View File

@ -1,10 +0,0 @@
$OpenBSD: patch-gas_config_te-obsd_h,v 1.1.1.1 2002/02/19 04:19:21 fgsch Exp $
--- gas/config/te-obsd.h.orig Thu Feb 14 18:37:15 2002
+++ gas/config/te-obsd.h Thu Feb 14 18:38:15 2002
@@ -0,0 +1,6 @@
+#define TE_OpenBSD 1
+
+/* We want [0-9][bf] style local temporary labels. */
+#define LOCAL_LABELS_FB 1
+
+#include "obj-format.h"