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: dhowells at redhat dot com
Subject: [Bug ld/17288] sh64 incremental link does not set flags in ELF header
Date: Tue, 19 Aug 2014 15:43:45 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=17288

--- Comment #3 from David Howells <dhowells at redhat dot com> ---
Using --whole-archive seems to work.

+ sh64-linux-gnu-ar rcsD wibble.o hello.o
+ sh64-linux-gnu-ld -EL -mshlelf64 --whole-archive -r -o foo.o wibble.o
+ sh64-linux-gnu-readelf -h foo.o
+ grep Flags
  Flags:                             0xa, sh5
+ sh64-linux-gnu-ld -EL -mshlelf64 -r -o bar.o foo.o
+ sh64-linux-gnu-readelf -h bar.o
+ grep Flags
  Flags:                             0xa, sh5

-- 
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]