aboutsummaryrefslogtreecommitdiff
path: root/libbacktrace/filetype.awk
diff options
context:
space:
mode:
authorTony Reix <tony.reix@atos.net>2017-07-26 21:43:28 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2017-07-26 21:43:28 +0000
commit7e2a8417f76b13f06c6a5e21a32e1b83d763d119 (patch)
treed8214f197401a1dc972b412aa4994ee671871b1a /libbacktrace/filetype.awk
parent993323a14f46c25b18c5b9c69d577a4907c9e04c (diff)
downloadgcc-7e2a8417f76b13f06c6a5e21a32e1b83d763d119.zip
gcc-7e2a8417f76b13f06c6a5e21a32e1b83d763d119.tar.gz
gcc-7e2a8417f76b13f06c6a5e21a32e1b83d763d119.tar.bz2
configure.ac: Check for XCOFF32/XCOFF64.
* configure.ac: Check for XCOFF32/XCOFF64. Check for loadquery. * filetype.awk: Separate AIX XCOFF32 and XCOFF64. * xcoff.c: Add support for AIX XCOFF32 and XCOFF64 formats. * configure, config.h.in: Regenerate. From-SVN: r250590
Diffstat (limited to 'libbacktrace/filetype.awk')
-rw-r--r--libbacktrace/filetype.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbacktrace/filetype.awk b/libbacktrace/filetype.awk
index 7bee5e5..cf6e1b6 100644
--- a/libbacktrace/filetype.awk
+++ b/libbacktrace/filetype.awk
@@ -3,6 +3,6 @@
/\177ELF\002/ { if (NR == 1) { print "elf64"; exit } }
/\114\001/ { if (NR == 1) { print "pecoff"; exit } }
/\144\206/ { if (NR == 1) { print "pecoff"; exit } }
-/\001\337/ { if (NR == 1) { print "xcoff"; exit } }
-/\001\367/ { if (NR == 1) { print "xcoff"; exit } }
+/\001\337/ { if (NR == 1) { print "xcoff32"; exit } }
+/\001\367/ { if (NR == 1) { print "xcoff64"; exit } }