aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-ia64.c17
-rw-r--r--gas/config/te-ia64aix.h4
2 files changed, 21 insertions, 0 deletions
diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c
index 517d96c..a551a41 100644
--- a/gas/config/tc-ia64.c
+++ b/gas/config/tc-ia64.c
@@ -6049,6 +6049,7 @@ md_parse_option (c, arg)
int c;
char *arg;
{
+
switch (c)
{
/* Switches from the Intel assembler. */
@@ -6468,16 +6469,32 @@ ia64_target_format ()
if (md.flags & EF_IA_64_BE)
{
if (md.flags & EF_IA_64_ABI64)
+#ifdef TE_AIX50
+ return "elf64-ia64-aix-big";
+#else
return "elf64-ia64-big";
+#endif
else
+#ifdef TE_AIX50
+ return "elf32-ia64-aix-big";
+#else
return "elf32-ia64-big";
+#endif
}
else
{
if (md.flags & EF_IA_64_ABI64)
+#ifdef TE_AIX50
+ return "elf64-ia64-aix-little";
+#else
return "elf64-ia64-little";
+#endif
else
+#ifdef TE_AIX50
+ return "elf32-ia64-aix-little";
+#else
return "elf32-ia64-little";
+#endif
}
}
else
diff --git a/gas/config/te-ia64aix.h b/gas/config/te-ia64aix.h
new file mode 100644
index 0000000..8937023
--- /dev/null
+++ b/gas/config/te-ia64aix.h
@@ -0,0 +1,4 @@
+#define TE_AIX50
+#define LOCAL_LABELS_FB 1
+
+#include "obj-format.h"