summaryrefslogtreecommitdiff
path: root/gas/config/tc-hppa.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-10-06 11:01:36 +0000
committerNick Clifton <nickc@redhat.com>2003-10-06 11:01:36 +0000
commit85cf2a8a15d156b4bd8bc3362c0a9b3924a705f4 (patch)
tree4f37c6ea0a2c80c98bb17a1600a317af10fdbada /gas/config/tc-hppa.h
parent249dba3eb2eeb44d8603ad0105963fbc95f6da34 (diff)
downloadbinutils-gdb-85cf2a8a15d156b4bd8bc3362c0a9b3924a705f4.tar.gz
Change target of hppa-netbsd port
Diffstat (limited to 'gas/config/tc-hppa.h')
-rw-r--r--gas/config/tc-hppa.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/gas/config/tc-hppa.h b/gas/config/tc-hppa.h
index 338b6e83f98..64d06442331 100644
--- a/gas/config/tc-hppa.h
+++ b/gas/config/tc-hppa.h
@@ -48,14 +48,14 @@
#ifdef OBJ_ELF
#if TARGET_ARCH_SIZE == 64
#include "bfd/elf64-hppa.h"
-#ifdef TE_LINUX
+#if defined (TE_LINUX) || defined (TE_NetBSD)
#define TARGET_FORMAT "elf64-hppa-linux"
#else
#define TARGET_FORMAT "elf64-hppa"
#endif
#else /* TARGET_ARCH_SIZE == 32 */
#include "bfd/elf32-hppa.h"
-#ifdef TE_LINUX
+#if defined (TE_LINUX) || defined (TE_NetBSD)
#define TARGET_FORMAT "elf32-hppa-linux"
#else
#define TARGET_FORMAT "elf32-hppa"
@@ -77,13 +77,6 @@
#define WARN_COMMENTS 1
#endif
-#ifdef TE_NetBSD
-/* XXX the original OpenBSD code has labels without colons,
- so this is required, for now -- fredette@netbsd.org */
-/* Labels are not required to have a colon for a suffix. */
-#define LABELS_WITHOUT_COLONS 1
-#endif
-
/* FIXME. Why oh why aren't these defined somewhere globally? */
#ifndef FALSE
#define FALSE (0)