https://sourceware.org/bugzilla/show_bug.cgi?id=21564
--- Comment #2 from Joe Zbiciak ---
Good point. While my executables may have a small number of sections, this is
common code that all architectures will hit when writing a binary output.
I suppose something like this will do the trick, hois
https://sourceware.org/bugzilla/show_bug.cgi?id=21564
Alan Modra changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://sourceware.org/bugzilla/show_bug.cgi?id=21564
Bug ID: 21564
Summary: binary output should scale address by octets per byte
Product: binutils
Version: 2.28
Status: UNCONFIRMED
Severity: normal
Priority: P2
https://sourceware.org/bugzilla/show_bug.cgi?id=21562
--- Comment #6 from H.J. Lu ---
(In reply to Alexander Monakov from comment #5)
> The patch looks wrong, it appears to ensure that __start_scnfoo is defined.
> The linker manual says it shouldn't get defined (scnfoo is not orphan), and
> there
https://sourceware.org/bugzilla/show_bug.cgi?id=21562
--- Comment #5 from Alexander Monakov ---
The patch looks wrong, it appears to ensure that __start_scnfoo is defined. The
linker manual says it shouldn't get defined (scnfoo is not orphan), and
therefore scnfoo should be eliminated due to --gc
https://sourceware.org/bugzilla/show_bug.cgi?id=21562
H.J. Lu changed:
What|Removed |Added
Attachment #10085|0 |1
is obsolete|
https://sourceware.org/bugzilla/show_bug.cgi?id=21562
H.J. Lu changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://sourceware.org/bugzilla/show_bug.cgi?id=19167
H.J. Lu changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=21562
Bug 21562 depends on bug 19167, which changed state.
Bug 19167 Summary: --gc-sections is broken with __start_
https://sourceware.org/bugzilla/show_bug.cgi?id=19167
What|Removed |Added