bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/17288] sh64 incremental link does not set flags in ELF header


From: kkojima at rr dot iij4u.or.jp
Subject: [Bug ld/17288] sh64 incremental link does not set flags in ELF header
Date: Thu, 21 Aug 2014 02:14:32 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]