mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 05:44:15 +08:00
7e2a8417f7
* 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
9 lines
386 B
Awk
9 lines
386 B
Awk
# An awk script to determine the type of a file.
|
|
/\177ELF\001/ { if (NR == 1) { print "elf32"; exit } }
|
|
/\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 "xcoff32"; exit } }
|
|
/\001\367/ { if (NR == 1) { print "xcoff64"; exit } }
|
|
|