Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/bfd Moved inclusion of netbsd.h and the _get_sectio...



details:   https://anonhg.NetBSD.org/src/rev/16a57065ad71
branches:  trunk
changeset: 486381:16a57065ad71
user:      kristerw <kristerw%NetBSD.org@localhost>
date:      Sat May 20 17:56:54 2000 +0000

description:
Moved inclusion of netbsd.h and the _get_section_contents #define to
aoutnbsd.h

diffstat:

 gnu/dist/bfd/aoutnbsd.h   |  3 +++
 gnu/dist/bfd/i386netbsd.c |  2 --
 2 files changed, 3 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 84712c2507b5 -r 16a57065ad71 gnu/dist/bfd/aoutnbsd.h
--- a/gnu/dist/bfd/aoutnbsd.h   Sat May 20 16:16:15 2000 +0000
+++ b/gnu/dist/bfd/aoutnbsd.h   Sat May 20 17:56:54 2000 +0000
@@ -19,6 +19,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
+#define MY_get_section_contents _bfd_generic_get_section_contents
+#include "netbsd.h"
+
 /*
 SECTION
        a.out backends
diff -r 84712c2507b5 -r 16a57065ad71 gnu/dist/bfd/i386netbsd.c
--- a/gnu/dist/bfd/i386netbsd.c Sat May 20 16:16:15 2000 +0000
+++ b/gnu/dist/bfd/i386netbsd.c Sat May 20 17:56:54 2000 +0000
@@ -29,10 +29,8 @@
 
 #define MY(OP) CAT(i386netbsd_,OP)
 #define NAME(x,y) CAT3(x,_i386netbsd_,y)
-#define aout_i386netbsd_get_section_contents _bfd_generic_get_section_contents
 
 /* This needs to start with a.out so GDB knows it is an a.out variant.  */
 #define TARGETNAME "a.out-i386-netbsd"
 
-#include "netbsd.h"
 #include "aoutnbsd.h"



Home | Main Index | Thread Index | Old Index