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.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to