[Bug ld/20882] GNU ld discards sections required by relocations in .debug_info with --gc-sections

2018-03-13 Thread dmalcolm at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20882 Dave Malcolm changed: What|Removed |Added CC||dmalcolm at redhat dot com -- You

[Bug ld/20152] constructors for c++ objects are sometimes discarded when linked via a .a archive

2016-06-02 Thread dmalcolm at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20152 --- Comment #2 from Dave Malcolm --- (In reply to Nick Clifton from comment #1) > Hi Dave, > > > I noticed when developing a patch for GCC that C++ objects with global > > constructors are sometimes discarded if linked via a .a archive. > >

[Bug ld/20152] New: constructors for c++ objects are sometimes discarded when linked via a .a archive

2016-05-26 Thread dmalcolm at redhat dot com
Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: dmalcolm at redhat dot com Target Milestone: --- I noticed when developing a patch for GCC that C++ objects with global constructors are sometimes discarded if