How to list all the bfdname and bfdarch?
Peng Yu
pengyu.ut@gmail.com
Sun Apr 18 20:37:42 GMT 2021
Thanks. I see these. What are bfdnames and what are bfdarchs?
$ objcopy --help
objcopy: supported targets: elf64-x86-64 elf32-i386 elf32-iamcu
elf32-x86-64 pei-i386 pei-x86-64 elf64-l1om elf64-k1om elf64-little
elf64-big elf32-little elf32-big elf64-littleaarch64 elf64-bigaarch64
elf32-littleaarch64 elf32-bigaarch64 elf32-littlearm elf32-bigarm
elf64-alpha ecoff-littlealpha elf32-littlearm-fdpic elf32-bigarm-fdpic
elf32-hppa-linux elf32-hppa elf64-ia64-little elf64-ia64-big pei-ia64
elf32-m32r-linux elf32-m32rle-linux elf32-m68k elf32-tradbigmips
elf32-tradlittlemips ecoff-bigmips ecoff-littlemips elf32-ntradbigmips
elf64-tradbigmips elf32-ntradlittlemips elf64-tradlittlemips
elf32-powerpc aixcoff-rs6000 elf32-powerpcle ppcboot elf64-powerpc
elf64-powerpcle aixcoff64-rs6000 aix5coff64-rs6000 elf64-littleriscv
elf32-littleriscv elf32-s390 elf64-s390 elf32-sh-linux
elf32-shbig-linux elf32-sh-fdpic elf32-shbig-fdpic elf32-sparc
elf64-sparc pe-x86-64 pe-bigobj-x86-64 pe-i386 srec symbolsrec verilog
tekhex binary ihex plugin
$ objcopy --info
BFD header file version (GNU Binutils for Debian) 2.35.2
elf64-x86-64
(header little endian, data little endian)
i386
...
elf64-x86-64 elf32-i386 elf32-iamcu elf32-x86-64 pei-i386
m68k ------------ ---------- ----------- ------------ --------
sparc ------------ ---------- ----------- ------------ --------
...
On 4/18/21, Andreas Schwab <schwab@linux-m68k.org> wrote:
> On Apr 18 2021, Peng Yu via Binutils wrote:
>
>> I see the following in man objcopy. How to list all the bfdnames and
>> bfdarchs?
>
> objcopy --help
> objcopy --info
>
> Andreas.
>
> --
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
> "And now for something completely different."
>
--
Regards,
Peng
More information about the Binutils
mailing list