[Bug ld/21571] --gc-sections doesn't work with PROVIDE in linker script

2017-06-12 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21571 --- Comment #2 from H.J. Lu --- ELF linker stores the first input section whose name matches __start_SECNAME or __stop_SECNAME in u.undef.section for garbage collection. If these symbols are provide in linker script, u.undef.section is

[Bug ld/21571] --gc-sections doesn't work with PROVIDE in linker script

2017-06-12 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21571 H.J. Lu changed: What|Removed |Added Summary|--gc-sections doesn'|--gc-sections doesn't work

[Bug ld/21571] New: --gc-sections doesn'

2017-06-12 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21571 Bug ID: 21571 Summary: --gc-sections doesn' Product: binutils Version: 2.29 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld

[Bug ld/21524] Assert on ld.bfd with -r and --gc-sections

2017-06-12 Thread adhemerval.zanella at linaro dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21524 --- Comment #4 from Adhemerval Zanella --- Created attachment 10094 --> https://sourceware.org/bugzilla/attachment.cgi?id=10094=edit Bug reproducer To reproduce it issue: $ tar xf bz21524.tar.bz2 $ ld.bfd -i --gc-sections -u_start

[Bug ld/21524] Assert on ld.bfd with -r and --gc-sections

2017-06-12 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21524 --- Comment #3 from Nick Clifton --- > Yes, I tested with master when I opened the bug report and I just rested > with master: Hmm, in which case please could you upload the object files so that I can attempt to reproduce the problem ?

[Bug ld/21524] Assert on ld.bfd with -r and --gc-sections

2017-06-12 Thread adhemerval.zanella at linaro dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21524 --- Comment #2 from Adhemerval Zanella --- Yes, I tested with master when I opened the bug report and I just rested with master: ld-new: BFD (GNU Binutils) 2.28.51.20170612 assertion fail ../../binutils-gdb/bfd/elflink.c:8598 -- You are

[Bug ld/21524] Assert on ld.bfd with -r and --gc-sections

2017-06-12 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21524 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment

[Bug ld/12484] avr-ld doesn't warn when a memory section is over

2017-06-12 Thread s.pitchumani at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=12484 Pitchumani changed: What|Removed |Added CC||s.pitchumani at gmail dot com ---

[Bug ld/21569] [avr] Make avr.sc so generic that there is no need for avrtiny.sc.

2017-06-12 Thread gjl at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21569 --- Comment #1 from Georg-Johann Lay --- Created attachment 10093 --> https://sourceware.org/bugzilla/attachment.cgi?id=10093=edit Proposed patch ld/ Genericize avr.sc so that it also works for avrtiny. *

[Bug ld/21569] [avr] Make avr.sc so generic that there is no need for avrtiny.sc.

2017-06-12 Thread gjl at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21569 Georg-Johann Lay changed: What|Removed |Added Summary|[avr] Make avr-sc so|[avr] Make avr.sc so

[Bug ld/21569] [avr] Make avr-sc so generic that there is no need for avrtiny.sc.

2017-06-12 Thread gjl at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21569 Georg-Johann Lay changed: What|Removed |Added Target||avr Priority|P2

[Bug ld/21569] New: [avr] Make avr-sc so generic that there is no need for avrtiny.sc.

2017-06-12 Thread gjl at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21569 Bug ID: 21569 Summary: [avr] Make avr-sc so generic that there is no need for avrtiny.sc. Product: binutils Version: unspecified Status: NEW Severity: