Readelf

To find out which loader is being used by an application use the -l flag.

readelf -l /opt/biarch/tc/bin/as

Elf file type is EXEC (Executable file) Entry point 0x100012a0 There are 8 program headers, starting at offset 52

Program Headers: Type          Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align PHDR          0x000034 0x10000034 0x10000034 0x00100 0x00100 R E 0x4 INTERP        0x000134 0x10000134 0x10000134 0x0000d 0x0000d R   0x1 [Requesting program interpreter: /lib/ld.so.1] LOAD          0x000000 0x10000000 0x10000000 0xe5c88 0xe5c88 R E 0x10000 LOAD          0x0e6000 0x100f6000 0x100f6000 0x01174 0x0e4c4 RW  0x10000 DYNAMIC       0x0e601c 0x100f601c 0x100f601c 0x000d0 0x000d0 RW  0x4 NOTE          0x000144 0x10000144 0x10000144 0x00020 0x00020 R   0x4 GNU_EH_FRAME  0x0e5b8c 0x100e5b8c 0x100e5b8c 0x00034 0x00034 R   0x4 STACK         0x000000 0x00000000 0x00000000 0x00000 0x00000 RW  0x4