aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-hppa.h
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-hppa.h')
-rw-r--r--gas/config/tc-hppa.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gas/config/tc-hppa.h b/gas/config/tc-hppa.h
index 64d0644..4b43a7f 100644
--- a/gas/config/tc-hppa.h
+++ b/gas/config/tc-hppa.h
@@ -55,13 +55,17 @@
#endif
#else /* TARGET_ARCH_SIZE == 32 */
#include "bfd/elf32-hppa.h"
-#if defined (TE_LINUX) || defined (TE_NetBSD)
+#if defined (TE_LINUX)
#define TARGET_FORMAT "elf32-hppa-linux"
#else
+#if defined (TE_NetBSD)
+#define TARGET_FORMAT "elf32-hppa-netbsd"
+#else
#define TARGET_FORMAT "elf32-hppa"
#endif
#endif
#endif
+#endif
#ifdef OBJ_SOM
#include "bfd/som.h"