bfd:
* config.bfd (hppa*-*-netbsd*): New target. gas: * configure.in (hppa-*-netbsd*): New target. * configure: Regenerate. * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD. ld: * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o. (ehppanbsd.c): New rule. * Makefile.in: Regenerate. * configure.tgt (hppa*-*-netbsd*): New target. * emulparams/hppalinux.sh: Add comment to check other files that source this file it is modified, and list which files that do. * emulparams/hppanbsd.sh: New file.
This commit is contained in:
parent
fffee0be3f
commit
006336b8fe
12 changed files with 217 additions and 188 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
|
||||||
|
|
||||||
|
* config.bfd (hppa*-*-netbsd*): New target.
|
||||||
|
|
||||||
2002-01-31 Philipp Thomas <pthomas@suse.de>
|
2002-01-31 Philipp Thomas <pthomas@suse.de>
|
||||||
|
|
||||||
* coff-arm.c (coff_arm_merge_private_bfd_data): Move ERROR
|
* coff-arm.c (coff_arm_merge_private_bfd_data): Move ERROR
|
||||||
|
|
|
@ -302,7 +302,7 @@ case "${targ}" in
|
||||||
targ_defvec=bfd_elf32_hppa_linux_vec
|
targ_defvec=bfd_elf32_hppa_linux_vec
|
||||||
targ_selvecs=bfd_elf32_hppa_vec
|
targ_selvecs=bfd_elf32_hppa_vec
|
||||||
;;
|
;;
|
||||||
hppa*-*-*elf* | hppa*-*-lites* | hppa*-*-sysv4* | hppa*-*-rtems*)
|
hppa*-*-*elf* | hppa*-*-lites* | hppa*-*-netbsd* | hppa*-*-sysv4* | hppa*-*-rtems*)
|
||||||
targ_defvec=bfd_elf32_hppa_vec
|
targ_defvec=bfd_elf32_hppa_vec
|
||||||
targ_selvecs=bfd_elf32_hppa_linux_vec
|
targ_selvecs=bfd_elf32_hppa_linux_vec
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
2002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
|
||||||
|
|
||||||
|
* configure.in (hppa-*-netbsd*): New target.
|
||||||
|
* configure: Regenerate.
|
||||||
|
* config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD.
|
||||||
|
|
||||||
2002-02-02 Alan Modra <amodra@bigpond.net.au>
|
2002-02-02 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* config/tc-v850.c: Add missing prototypes amd use old-style
|
* config/tc-v850.c: Add missing prototypes amd use old-style
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
#define TARGET_FORMAT "som"
|
#define TARGET_FORMAT "som"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef TE_LINUX
|
#if defined(TE_LINUX) || defined(TE_NetBSD)
|
||||||
/* Define to compile in an extra assembler option, -c, which enables a
|
/* Define to compile in an extra assembler option, -c, which enables a
|
||||||
warning (once per file) when a comment is encountered.
|
warning (once per file) when a comment is encountered.
|
||||||
The hppa comment char is a `;' which tends to occur in random C asm
|
The hppa comment char is a `;' which tends to occur in random C asm
|
||||||
|
|
360
gas/configure
vendored
360
gas/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -222,6 +222,7 @@ changequote([,])dnl
|
||||||
esac ;;
|
esac ;;
|
||||||
hppa-*-*elf*) fmt=elf em=hppa ;;
|
hppa-*-*elf*) fmt=elf em=hppa ;;
|
||||||
hppa-*-lites*) fmt=elf em=hppa ;;
|
hppa-*-lites*) fmt=elf em=hppa ;;
|
||||||
|
hppa-*-netbsd*) fmt=elf em=nbsd ;;
|
||||||
hppa-*-osf*) fmt=som em=hppa ;;
|
hppa-*-osf*) fmt=som em=hppa ;;
|
||||||
hppa-*-rtems*) fmt=elf em=hppa ;;
|
hppa-*-rtems*) fmt=elf em=hppa ;;
|
||||||
hppa-*-hpux11*) case ${cpu} in
|
hppa-*-hpux11*) case ${cpu} in
|
||||||
|
|
11
ld/ChangeLog
11
ld/ChangeLog
|
@ -1,3 +1,14 @@
|
||||||
|
2002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
|
||||||
|
|
||||||
|
* Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
|
||||||
|
(ehppanbsd.c): New rule.
|
||||||
|
* Makefile.in: Regenerate.
|
||||||
|
* configure.tgt (hppa*-*-netbsd*): New target.
|
||||||
|
* emulparams/hppalinux.sh: Add comment to check other files
|
||||||
|
that source this file it is modified, and list which
|
||||||
|
files that do.
|
||||||
|
* emulparams/hppanbsd.sh: New file.
|
||||||
|
|
||||||
2002-02-01 Geoffrey Keating <geoffk@redhat.com>
|
2002-02-01 Geoffrey Keating <geoffk@redhat.com>
|
||||||
|
|
||||||
* scripttempl/xstormy16.sc: Don't allocate extra space for the
|
* scripttempl/xstormy16.sc: Don't allocate extra space for the
|
||||||
|
|
|
@ -184,6 +184,7 @@ ALL_EMULATIONS = \
|
||||||
ehp3hpux.o \
|
ehp3hpux.o \
|
||||||
ehppaelf.o \
|
ehppaelf.o \
|
||||||
ehppalinux.o \
|
ehppalinux.o \
|
||||||
|
ehppanbsd.o \
|
||||||
ei386aout.o \
|
ei386aout.o \
|
||||||
ei386beos.o \
|
ei386beos.o \
|
||||||
ei386bsd.o \
|
ei386bsd.o \
|
||||||
|
@ -662,6 +663,11 @@ ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
|
||||||
$(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
|
$(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
|
||||||
$(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
$(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||||
${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
|
${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
|
||||||
|
ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
|
||||||
|
$(srcdir)/emulparams/hppaelf.sh \
|
||||||
|
$(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
|
||||||
|
$(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||||
|
${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)"
|
||||||
ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
|
ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
|
||||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||||
${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
|
${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
|
||||||
|
|
|
@ -293,6 +293,7 @@ ALL_EMULATIONS = \
|
||||||
ehp3hpux.o \
|
ehp3hpux.o \
|
||||||
ehppaelf.o \
|
ehppaelf.o \
|
||||||
ehppalinux.o \
|
ehppalinux.o \
|
||||||
|
ehppanbsd.o \
|
||||||
ei386aout.o \
|
ei386aout.o \
|
||||||
ei386beos.o \
|
ei386beos.o \
|
||||||
ei386bsd.o \
|
ei386bsd.o \
|
||||||
|
@ -1383,6 +1384,11 @@ ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
|
||||||
$(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
|
$(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
|
||||||
$(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
$(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||||
${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
|
${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
|
||||||
|
ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
|
||||||
|
$(srcdir)/emulparams/hppaelf.sh \
|
||||||
|
$(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
|
||||||
|
$(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||||
|
${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)"
|
||||||
ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
|
ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
|
||||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||||
${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
|
${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
|
||||||
|
|
|
@ -304,6 +304,7 @@ hppa*64*-*) targ_emul=elf64hppa ;;
|
||||||
hppa*-*-linux-gnu*) targ_emul=hppalinux ;;
|
hppa*-*-linux-gnu*) targ_emul=hppalinux ;;
|
||||||
hppa*-*-*elf*) targ_emul=hppaelf ;;
|
hppa*-*-*elf*) targ_emul=hppaelf ;;
|
||||||
hppa*-*-lites*) targ_emul=hppaelf ;;
|
hppa*-*-lites*) targ_emul=hppaelf ;;
|
||||||
|
hppa*-*-netbsd*) targ_emul=hppanbsd ;;
|
||||||
hppa*-*-rtems*) targ_emul=hppaelf ;;
|
hppa*-*-rtems*) targ_emul=hppaelf ;;
|
||||||
vax-dec-ultrix* | vax-dec-bsd*) targ_emul=vax ;;
|
vax-dec-ultrix* | vax-dec-bsd*) targ_emul=vax ;;
|
||||||
mips*-*-pe) targ_emul=mipspe ;
|
mips*-*-pe) targ_emul=mipspe ;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# If you change this file, please also look at files which source this one:
|
||||||
|
# hppanbsd.sh
|
||||||
|
|
||||||
SCRIPT_NAME=elf
|
SCRIPT_NAME=elf
|
||||||
ELFSIZE=32
|
ELFSIZE=32
|
||||||
OUTPUT_FORMAT="elf32-hppa-linux"
|
OUTPUT_FORMAT="elf32-hppa-linux"
|
||||||
|
|
3
ld/emulparams/hppanbsd.sh
Normal file
3
ld/emulparams/hppanbsd.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
. ${srcdir}/emulparams/hppalinux.sh
|
||||||
|
|
||||||
|
OUTPUT_FORMAT="elf32-hppa"
|
Loading…
Reference in a new issue