Source-Changes-HG archive

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

[src/trunk]: src/gnu/dist/bfd Use the new backend.



details:   https://anonhg.NetBSD.org/src/rev/b4944a71527d
branches:  trunk
changeset: 485760:b4944a71527d
user:      kristerw <kristerw%NetBSD.org@localhost>
date:      Thu May 04 20:27:16 2000 +0000

description:
Use the new backend.

diffstat:

 gnu/dist/bfd/i386netbsd.c |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (23 lines):

diff -r 73bb3fd789af -r b4944a71527d gnu/dist/bfd/i386netbsd.c
--- a/gnu/dist/bfd/i386netbsd.c Thu May 04 20:18:32 2000 +0000
+++ b/gnu/dist/bfd/i386netbsd.c Thu May 04 20:27:16 2000 +0000
@@ -18,6 +18,7 @@
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
 
 #define        BYTES_IN_WORD   4
+#define ARCH_SIZE      32
 #undef TARGET_IS_BIG_ENDIAN_P
 
 #define        TARGET_PAGE_SIZE        4096
@@ -27,7 +28,11 @@
 #define        DEFAULT_MID     M_386_NETBSD
 
 #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