This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: PR ld/13195: -ffunction-sections -Wl,--gc-sections failure with C++ code


Fix for:

http://sourceware.org/bugzilla/show_bug.cgi?id=13177

caused:

http://www.sourceware.org/bugzilla/show_bug.cgi?id=13195

The problem is we don't always set dynamic_def when setting def_dynamic.
We can fix it by

1. Always set dynamic_def when setting def_dynamic.  Or
2. Check both dynamic_def and def_dynamic.

I am enclosing both patches here.  Is any of them OK to install?

Thanks.


H.J.

Attachment: binutils-pr13195-1.patch
Description: Text document

Attachment: binutils-pr13195-2.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]