https://sourceware.org/bugzilla/show_bug.cgi?id=17288
--- Comment #5 from Kaz Kojima <kkojima at rr dot iij4u.or.jp> --- I've tried operations in #c0 on arm-eabi toolchain and the result looks similar with sh64: echo 'int hello(int i) {return i + 42;}' | ../build/gcc/cc1 -o hello.s - ../build/gas/as-new -o hello.o hello.s ../build/binutils/readelf -h hello.o | grep Flags Flags: 0x5000000, Version5 EABI ../build/binutils/ar rcs wibble.o hello.o ../build/ld/ld-new -r -o foo.o wibble.o ./build/binutils/readelf -h foo.o | grep Flags Flags: 0x0 It seems that 'ld -r -o foo.o some_archive.a' makes a null foo.o object which has null flags. It looks a plausible behavior. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils