aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-01-15 02:36:21 +0000
committerAlan Modra <amodra@gmail.com>2001-01-15 02:36:21 +0000
commitfcfd49160866d2d7d6e1ed8ac3a728af5a3db8e2 (patch)
tree2453a53b582a37989f70700837e073bccb634dd4 /gas
parent19203624a6a5f946ee87ccfa767f0654999d2703 (diff)
downloadgdb-fcfd49160866d2d7d6e1ed8ac3a728af5a3db8e2.zip
gdb-fcfd49160866d2d7d6e1ed8ac3a728af5a3db8e2.tar.gz
gdb-fcfd49160866d2d7d6e1ed8ac3a728af5a3db8e2.tar.bz2
Missed this in last commit "Linux target variants for elfxx-hppa."
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-hppa.h12
2 files changed, 14 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 4b5a58d..bed841e 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2001-01-14 Alan Modra <alan@linuxcare.com.au>
+
+ * config/tc-hppa.h (TARGET_FORMAT): Add hppa-linux variants.
+
2001-01-14 Kazu Hirata <kazu@hxi.com>
* config/tc-alpha.c: Fix formatting.
diff --git a/gas/config/tc-hppa.h b/gas/config/tc-hppa.h
index bb40d59..013540c 100644
--- a/gas/config/tc-hppa.h
+++ b/gas/config/tc-hppa.h
@@ -1,5 +1,5 @@
/* tc-hppa.h -- Header file for the PA
- Copyright (C) 1989, 93, 94, 95, 96, 97, 98, 99, 2000
+ Copyright 1989, 93, 94, 95, 96, 97, 98, 99, 2000, 2001
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -48,12 +48,20 @@
#ifdef OBJ_ELF
#if TARGET_ARCH_SIZE == 64
#include "bfd/elf64-hppa.h"
-#define TARGET_FORMAT "elf64-hppa"
+#ifdef TE_LINUX
+#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
+#define TARGET_FORMAT "elf32-hppa-linux"
+#else
#define TARGET_FORMAT "elf32-hppa"
#endif
#endif
+#endif
#ifdef OBJ_SOM
#include "bfd/som.h"