[Bug binutils/21564] binary output should scale address by octets per byte

2017-06-10 Thread joe.zbiciak at leftturnonly dot info
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

[Bug binutils/21564] binary output should scale address by octets per byte

2017-06-10 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21564 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug binutils/21564] New: binary output should scale address by octets per byte

2017-06-10 Thread joe.zbiciak at leftturnonly dot info
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

[Bug ld/21562] Refs to __start_SCN of non-orphan sections affect --gc-sections

2017-06-10 Thread hjl.tools at gmail dot com
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

[Bug ld/21562] Refs to __start_SCN of non-orphan sections affect --gc-sections

2017-06-10 Thread amonakov at gmail dot com
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

[Bug ld/21562] Refs to __start_SCN of non-orphan sections affect --gc-sections

2017-06-10 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21562 H.J. Lu changed: What|Removed |Added Attachment #10085|0 |1 is obsolete|

[Bug ld/21562] Refs to __start_SCN of non-orphan sections affect --gc-sections

2017-06-10 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21562 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ld/19167] --gc-sections is broken with __start_

2017-06-10 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19167 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ld/21562] Refs to __start_SCN of non-orphan sections affect --gc-sections

2017-06-10 Thread hjl.tools at gmail dot com
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