aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-10-02 14:40:41 +0000
committerAlan Modra <amodra@gmail.com>2009-10-02 14:40:41 +0000
commit4a056f1472ee3ce5a2dde5df46a0faf6e794b114 (patch)
tree77b335db9177e8f660d8be88ad68b42fb9aab96b /bfd
parent38462edfa268c245acf1f53f65cf3e4c0772e2cd (diff)
downloadgdb-4a056f1472ee3ce5a2dde5df46a0faf6e794b114.zip
gdb-4a056f1472ee3ce5a2dde5df46a0faf6e794b114.tar.gz
gdb-4a056f1472ee3ce5a2dde5df46a0faf6e794b114.tar.bz2
include/aout/
* aout64.h (N_SHARED_LIB): Define as zero if not already defined. * sun4.h (N_SHARED_LIB): Define. * hp300hpux.h (N_SHARED_LIB): Don't define. bfd/ * aout-cris.c (N_SHARED_LIB): Don't define. * hp300bsd.c (N_SHARED_LIB): Don't define. * i386bsd.c (N_SHARED_LIB): Don't define. * i386linux.c (N_SHARED_LIB): Don't define. * i386lynx.c (N_SHARED_LIB): Don't define. * m68klinux.c (N_SHARED_LIB): Don't define. * m88kmach3.c (N_SHARED_LIB): Don't define. * mipsbsd.c (N_SHARED_LIB): Don't define. * newsos3.c (N_SHARED_LIB): Don't define. * pc532-mach.c (N_SHARED_LIB): Don't define. * pdp11.c (N_SHARED_LIB): Don't define. * sparclinux.c (N_SHARED_LIB): Don't define. * vaxbsd.c (N_SHARED_LIB): Don't define.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog20
-rw-r--r--bfd/aout-cris.c7
-rw-r--r--bfd/hp300bsd.c3
-rw-r--r--bfd/i386bsd.c3
-rw-r--r--bfd/i386linux.c3
-rw-r--r--bfd/i386lynx.c4
-rw-r--r--bfd/m68klinux.c3
-rw-r--r--bfd/m88kmach3.c3
-rw-r--r--bfd/mipsbsd.c3
-rw-r--r--bfd/newsos3.c3
-rw-r--r--bfd/pc532-mach.c3
-rw-r--r--bfd/pdp11.c3
-rw-r--r--bfd/sparclinux.c3
-rw-r--r--bfd/vaxbsd.c3
14 files changed, 30 insertions, 34 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index b4301eb..d0655d2 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,19 @@
+2009-10-02 Alan Modra <amodra@bigpond.net.au>
+
+ * aout-cris.c (N_SHARED_LIB): Don't define.
+ * hp300bsd.c (N_SHARED_LIB): Don't define.
+ * i386bsd.c (N_SHARED_LIB): Don't define.
+ * i386linux.c (N_SHARED_LIB): Don't define.
+ * i386lynx.c (N_SHARED_LIB): Don't define.
+ * m68klinux.c (N_SHARED_LIB): Don't define.
+ * m88kmach3.c (N_SHARED_LIB): Don't define.
+ * mipsbsd.c (N_SHARED_LIB): Don't define.
+ * newsos3.c (N_SHARED_LIB): Don't define.
+ * pc532-mach.c (N_SHARED_LIB): Don't define.
+ * pdp11.c (N_SHARED_LIB): Don't define.
+ * sparclinux.c (N_SHARED_LIB): Don't define.
+ * vaxbsd.c (N_SHARED_LIB): Don't define.
+
2009-10-01 Dave Korn <dave.korn.cygwin@gmail.com>
* cofflink.c (_bfd_coff_generic_relocate_section): Look for the aux
@@ -61,7 +77,7 @@
2009-09-25 Martin Thuresson <martint@google.com>
- Update soruces to make alpha and arm targets compile cleanly with
+ Update sources to make alpha and arm targets compile cleanly with
-Wc++-compat:
* ecoff.c: Add casts.
* ecofflink.c: Add casts.
@@ -252,7 +268,7 @@
2009-09-09 Martin Thuresson <martin@mtme.org>
- Update soruces to compile cleanly with -Wc++-compat:
+ Update sources to compile cleanly with -Wc++-compat:
* aoutx.h: Add casts.
* archive.c: Add casts.
* archive64.c: Add casts.
diff --git a/bfd/aout-cris.c b/bfd/aout-cris.c
index c5f71b0..f1f3060 100644
--- a/bfd/aout-cris.c
+++ b/bfd/aout-cris.c
@@ -1,5 +1,5 @@
/* BFD backend for CRIS a.out binaries.
- Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2007
+ Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2009
Free Software Foundation, Inc.
Contributed by Axis Communications AB.
Written by Hans-Peter Nilsson.
@@ -57,11 +57,6 @@
#define TARGET_PAGE_SIZE SEGMENT_SIZE
#define TARGETNAME "a.out-cris"
-/* N_SHARED_LIB gets this reasonable default as of 1999-07-12, but we
- have to work with 2.9.1. Note that N_SHARED_LIB is used in a
- SUN-specific context, not applicable to CRIS. */
-#define N_SHARED_LIB(x) 0
-
/* The definition here seems not used; just provided as a convention. */
#define DEFAULT_ARCH bfd_arch_cris
diff --git a/bfd/hp300bsd.c b/bfd/hp300bsd.c
index d498419..2688b80 100644
--- a/bfd/hp300bsd.c
+++ b/bfd/hp300bsd.c
@@ -1,5 +1,5 @@
/* BFD back-end for HP 9000/300 (68000-based) machines running BSD Unix.
- Copyright 1992, 1994, 1995, 2001, 2003, 2005, 2007
+ Copyright 1992, 1994, 1995, 2001, 2003, 2005, 2007, 2009
Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -22,7 +22,6 @@
#define TARGET_IS_BIG_ENDIAN_P
#define N_HEADER_IN_TEXT(x) 0
#define ENTRY_CAN_BE_ZERO
-#define N_SHARED_LIB(x) 0 /* Avoids warning */
#define TEXT_START_ADDR 0
#define TARGET_PAGE_SIZE 4096
#define SEGMENT_SIZE TARGET_PAGE_SIZE
diff --git a/bfd/i386bsd.c b/bfd/i386bsd.c
index b59171c..d54841c 100644
--- a/bfd/i386bsd.c
+++ b/bfd/i386bsd.c
@@ -1,5 +1,5 @@
/* BFD back-end for i386 a.out binaries under BSD.
- Copyright 1990, 1991, 1992, 1993, 1994, 2001, 2005, 2007
+ Copyright 1990, 1991, 1992, 1993, 1994, 2001, 2005, 2007, 2009
Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -30,7 +30,6 @@
/* ZMAGIC files start at address 0. This does not apply to QMAGIC. */
#define TEXT_START_ADDR 0
-#define N_SHARED_LIB(x) 0
#define TARGET_PAGE_SIZE 4096
#define SEGMENT_SIZE TARGET_PAGE_SIZE
diff --git a/bfd/i386linux.c b/bfd/i386linux.c
index dee733d..a5bb77d 100644
--- a/bfd/i386linux.c
+++ b/bfd/i386linux.c
@@ -1,6 +1,6 @@
/* BFD back-end for linux flavored i386 a.out binaries.
Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2001, 2002, 2003,
- 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+ 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -23,7 +23,6 @@
#define ZMAGIC_DISK_BLOCK_SIZE 1024
#define SEGMENT_SIZE TARGET_PAGE_SIZE
#define TEXT_START_ADDR 0x0
-#define N_SHARED_LIB(x) 0
#define MACHTYPE_OK(mtype) ((mtype) == M_386 || (mtype) == M_UNKNOWN)
diff --git a/bfd/i386lynx.c b/bfd/i386lynx.c
index 2e85724..45909bf 100644
--- a/bfd/i386lynx.c
+++ b/bfd/i386lynx.c
@@ -1,6 +1,6 @@
/* BFD back-end for i386 a.out binaries under LynxOS.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2001, 2002,
- 2003, 2005, 2007 Free Software Foundation, Inc.
+ 2003, 2005, 2007, 2009 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -19,8 +19,6 @@
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
-#define N_SHARED_LIB(x) 0
-
#define TEXT_START_ADDR 0
#define TARGET_PAGE_SIZE 4096
#define SEGMENT_SIZE TARGET_PAGE_SIZE
diff --git a/bfd/m68klinux.c b/bfd/m68klinux.c
index 403e4f3..08b0010 100644
--- a/bfd/m68klinux.c
+++ b/bfd/m68klinux.c
@@ -1,6 +1,6 @@
/* BFD back-end for linux flavored m68k a.out binaries.
Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002,
- 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+ 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -23,7 +23,6 @@
#define ZMAGIC_DISK_BLOCK_SIZE 1024
#define SEGMENT_SIZE TARGET_PAGE_SIZE
#define TEXT_START_ADDR 0x0
-#define N_SHARED_LIB(x) 0
#define MACHTYPE_OK(mtype) ((mtype) == M_68020 || (mtype) == M_UNKNOWN)
diff --git a/bfd/m88kmach3.c b/bfd/m88kmach3.c
index 2a0e2f4..d98b4c7 100644
--- a/bfd/m88kmach3.c
+++ b/bfd/m88kmach3.c
@@ -1,5 +1,5 @@
/* BFD back-end for Motorola m88k a.out (Mach 3) binaries.
- Copyright 1990, 1991, 1993, 1994, 1995, 2001, 2003, 2005, 2007
+ Copyright 1990, 1991, 1993, 1994, 1995, 2001, 2003, 2005, 2007, 2009
Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -23,7 +23,6 @@
#define SEGMENT_SIZE 0x20000
#define TEXT_START_ADDR 0
#define N_HEADER_IN_TEXT(x) 1 /* (N_MAGIG(x) == ZMAGIC) */
-#define N_SHARED_LIB(x) 0
#define N_TXTSIZE(x) ((x).a_text)
diff --git a/bfd/mipsbsd.c b/bfd/mipsbsd.c
index db4c86b..004ef6e 100644
--- a/bfd/mipsbsd.c
+++ b/bfd/mipsbsd.c
@@ -1,6 +1,6 @@
/* BFD backend for MIPS BSD (a.out) binaries.
Copyright 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
- 2005, 2007 Free Software Foundation, Inc.
+ 2005, 2007, 2009 Free Software Foundation, Inc.
Written by Ralph Campbell.
This file is part of BFD, the Binary File Descriptor library.
@@ -23,7 +23,6 @@
/* #define ENTRY_CAN_BE_ZERO */
#define N_HEADER_IN_TEXT(x) 1
-#define N_SHARED_LIB(x) 0
#define N_TXTADDR(x) \
(N_MAGIC(x) != ZMAGIC ? (x).a_entry : /* object file or NMAGIC */\
TEXT_START_ADDR + EXEC_BYTES_SIZE /* no padding */\
diff --git a/bfd/newsos3.c b/bfd/newsos3.c
index 5f8e1f7..650901c 100644
--- a/bfd/newsos3.c
+++ b/bfd/newsos3.c
@@ -1,5 +1,5 @@
/* BFD back-end for NewsOS3 (Sony, 68k) binaries.
- Copyright 1990, 1991, 1994, 1995, 2000, 2001, 2003, 2005, 2007
+ Copyright 1990, 1991, 1994, 1995, 2000, 2001, 2003, 2005, 2007, 2009
Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -29,7 +29,6 @@
#define MY(OP) CONCAT2 (newsos3_,OP)
#define TARGETNAME "a.out-newsos3"
#define ENTRY_CAN_BE_ZERO
-#define N_SHARED_LIB(x) 0 /* Avoids warning when compiled with -Wall. */
#define DEFAULT_ARCH bfd_arch_m68k
#define TARGET_IS_BIG_ENDIAN_P
#define N_HEADER_IN_TEXT(x) 0
diff --git a/bfd/pc532-mach.c b/bfd/pc532-mach.c
index e466536..b472006 100644
--- a/bfd/pc532-mach.c
+++ b/bfd/pc532-mach.c
@@ -1,5 +1,5 @@
/* BFD back-end for Mach3/532 a.out-ish binaries.
- Copyright 1990, 1991, 1992, 1994, 1995, 2000, 2001, 2002, 2005, 2007
+ Copyright 1990, 1991, 1992, 1994, 1995, 2000, 2001, 2002, 2005, 2007, 2009
Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -46,7 +46,6 @@
#define SEGMENT_SIZE TARGET_PAGE_SIZE
-#define N_SHARED_LIB(x) 0
#define SEGMENT_SIZE TARGET_PAGE_SIZE
#define DEFAULT_ARCH bfd_arch_ns32k
diff --git a/bfd/pdp11.c b/bfd/pdp11.c
index 620d218..e4096f3 100644
--- a/bfd/pdp11.c
+++ b/bfd/pdp11.c
@@ -58,9 +58,6 @@
/* The header is not included in the text segment. */
#define N_HEADER_IN_TEXT(x) 0
-/* There are no shared libraries. */
-#define N_SHARED_LIB(x) 0
-
/* There is no flags field. */
#define N_FLAGS(exec) 0
diff --git a/bfd/sparclinux.c b/bfd/sparclinux.c
index f0c1e4a..7bb10d8 100644
--- a/bfd/sparclinux.c
+++ b/bfd/sparclinux.c
@@ -1,6 +1,6 @@
/* BFD back-end for linux flavored sparc a.out binaries.
Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002,
- 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+ 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -23,7 +23,6 @@
#define ZMAGIC_DISK_BLOCK_SIZE 1024
#define SEGMENT_SIZE TARGET_PAGE_SIZE
#define TEXT_START_ADDR 0x0
-#define N_SHARED_LIB(x) 0
#define MACHTYPE_OK(mtype) ((mtype) == M_SPARC || (mtype) == M_UNKNOWN)
diff --git a/bfd/vaxbsd.c b/bfd/vaxbsd.c
index cf566b9..21fbe58 100644
--- a/bfd/vaxbsd.c
+++ b/bfd/vaxbsd.c
@@ -1,5 +1,5 @@
/* BFD back-end for BSD and Ultrix/VAX (1K page size) a.out-ish binaries.
- Copyright 2002, 2003, 2005, 2007 Free Software Foundation, Inc.
+ Copyright 2002, 2003, 2005, 2007, 2009 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -20,7 +20,6 @@
#define N_HEADER_IN_TEXT(x) 0
#define ENTRY_CAN_BE_ZERO
-#define N_SHARED_LIB(x) 0 /* Avoids warning */
#define TEXT_START_ADDR 0
#define TARGET_PAGE_SIZE 1024
#define SEGMENT_SIZE TARGET_PAGE_SIZE