[Bug ld/31200] New: Surprising behavior of DISCARD section and explicitly mentioned archive file

2023-12-30 Thread petedietl at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31200 Bug ID: 31200 Summary: Surprising behavior of DISCARD section and explicitly mentioned archive file Product: binutils Version: 2.38 Status: UNCONFIRMED Sever

[Bug ld/31200] Surprising behavior of DISCARD section and explicitly mentioned archive file

2023-12-30 Thread petedietl at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31200 --- Comment #1 from Pete Dietl --- Another interesting note, a `.o` file mentioned on the command line is only searched for the current directory, but a `.o` file mentioned in an input section description gets searched for in the current direc

[Bug ld/31200] Surprising behavior of DISCARD section and explicitly mentioned archive file

2023-12-30 Thread petedietl at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31200 --- Comment #2 from Pete Dietl --- Oh one more note, `gold` discards the section no matter what. -- You are receiving this mail because: You are on the CC list for the bug.