aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-ppc.c6
-rw-r--r--gas/config/te-aix5.h3
2 files changed, 8 insertions, 1 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 560622b..4248be7 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -1137,7 +1137,11 @@ ppc_target_format ()
#elif TE_POWERMAC
return "xcoff-powermac";
#else
- return ppc_xcoff64 ? "aixcoff64-rs6000" : "aixcoff-rs6000";
+# ifdef TE_AIX5
+ return (ppc_xcoff64 ? "aix5coff64-rs6000" : "aixcoff-rs6000");
+# else
+ return (ppc_xcoff64 ? "aixcoff64-rs6000" : "aixcoff-rs6000");
+# endif
#endif
#endif
#ifdef OBJ_ELF
diff --git a/gas/config/te-aix5.h b/gas/config/te-aix5.h
new file mode 100644
index 0000000..302eaaf
--- /dev/null
+++ b/gas/config/te-aix5.h
@@ -0,0 +1,3 @@
+#define TE_AIX5
+
+x#include "obj-format.h"