[Bug gold/31415] Section coalescing should ignore (and merge) SHF_GNU_RETAIN

2024-03-12 Thread alast...@alastairs-place.net
https://sourceware.org/bugzilla/show_bug.cgi?id=31415 Alastair Houghton changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Version|2.43

[Bug gold/31415] Section coalescing should ignore (and merge) SHF_GNU_RETAIN

2024-02-26 Thread alast...@alastairs-place.net
https://sourceware.org/bugzilla/show_bug.cgi?id=31415 --- Comment #1 from Alastair Houghton --- Just to add to the above, you might say "well, you should either always set `SHF_GNU_RETAIN` or never set it". The issue comes where, for example, you have library code that would like to access embed

[Bug gold/31415] New: Section coalescing should ignore (and merge) SHF_GNU_RETAIN

2024-02-26 Thread alast...@alastairs-place.net
: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: alast...@alastairs-place.net CC: ian at airs dot com Target Milestone: --- In layout.cc, the code avoids combining sections whose flags differ, while ignoring