[Bug gold/16794] gold doesn't include the "implicit addend" when processing REL relocations to mergable sections

2019-09-10 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16794 Alan Modra changed: What|Removed |Added Status|REOPENED|NEW -- You are receiving this mail beca

[Bug gold/16794] gold doesn't include the "implicit addend" when processing REL relocations to mergable sections

2019-09-10 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16794 --- Comment #10 from Alan Modra --- Created attachment 11986 --> https://sourceware.org/bugzilla/attachment.cgi?id=11986&action=edit possible fix It's a long time since I maintained x86 binutils, but this untested patch will likely fix the

[Bug gold/16794] gold doesn't include the "implicit addend" when processing REL relocations to mergable sections

2019-09-10 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16794 Alan Modra changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID

[Bug gold/16794] gold doesn't include the "implicit addend" when processing REL relocations to mergable sections

2019-09-10 Thread rprichard at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16794 --- Comment #8 from Ryan Prichard --- > In a string merge section, sym+offset is valid only for offset within the > string at sym. The GNU assembler is apparently willing to use section+offset to identify a mergeable string for some relocati

[Bug gas/24991] the assembler generates incorrect offset for jumps on arm thumb2

2019-09-10 Thread mikulas at artax dot karlin.mff.cuni.cz
https://sourceware.org/bugzilla/show_bug.cgi?id=24991 Mikulas Patocka changed: What|Removed |Added Target||arm-linux-gnueabihf

[Bug gas/24991] New: the assembler generates incorrect offset for jumps on arm thumb2

2019-09-10 Thread mikulas at artax dot karlin.mff.cuni.cz
https://sourceware.org/bugzilla/show_bug.cgi?id=24991 Bug ID: 24991 Summary: the assembler generates incorrect offset for jumps on arm thumb2 Product: binutils Version: 2.32 Status: UNCONFIRMED Severity: normal

[Bug ld/24983] RISC-V GP linker relaxation is not performed with -nostdlib

2019-09-10 Thread wilson at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24983 Jim Wilson changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug gas/24982] m68k tdiv instructions assembled incorrectly

2019-09-10 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24982 Nick Clifton changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug gas/24982] m68k tdiv instructions assembled incorrectly

2019-09-10 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24982 --- Comment #2 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8063ab7e37c1a2abfa272d10e8d2c7ae192b1787 commit 8063ab7e37c1a2abfa272d10e8d

[Bug binutils/24907] Objdump produces wrong branch opcode interpretation in some cases

2019-09-10 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24907 Nick Clifton changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug binutils/24907] Objdump produces wrong branch opcode interpretation in some cases

2019-09-10 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24907 --- Comment #2 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=aebcfb76fc165795e67917cb67cf985c4dfdc577 commit aebcfb76fc165795e67917cb67c

[Bug binutils/24984] Objcopy -I binary --rename-section reserves space for input file, but doesn't include file's contents in .o file

2019-09-10 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24984 --- Comment #5 from Alan Modra --- Yes, perhaps objcopy should be changed for no contents sections. The place to look, if you're interested, is setup_section. -- You are receiving this mail because: You are on the CC list for the bug. _

[Bug binutils/24984] Objcopy -I binary --rename-section reserves space for input file, but doesn't include file's contents in .o file

2019-09-10 Thread antonone+sourceware at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24984 --- Comment #4 from Grzegorz Antoniak --- Okay, I understand that ".bss" has a non-zero virtual size, and a zero physical size (that means, there is no file data inside the file for this section). But when I mark ".CustomData" as no-content,

[Bug binutils/24984] Objcopy -I binary --rename-section reserves space for input file, but doesn't include file's contents in .o file

2019-09-10 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24984 --- Comment #3 from Alan Modra --- (In reply to Grzegorz Antoniak from comment #2) > But if I won't specify contents, so I indicate the section has no contents, > shouldn't the section size be zero? No. An example of a section without conten

[Bug binutils/24984] Objcopy -I binary --rename-section reserves space for input file, but doesn't include file's contents in .o file

2019-09-10 Thread antonone+sourceware at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24984 --- Comment #2 from Grzegorz Antoniak --- Well, lack of documentation for those section flags doesn't help with using them properly. Adding 'contents' to section flags indeed copies the file's contents to the object file, and resolves my prob

[Bug binutils/24984] Objcopy -I binary --rename-section reserves space for input file, but doesn't include file's contents in .o file

2019-09-10 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24984 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug binutils/24984] New: Objcopy -I binary --rename-section reserves space for input file, but doesn't include file's contents in .o file

2019-09-10 Thread antonone+sourceware at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24984 Bug ID: 24984 Summary: Objcopy -I binary --rename-section reserves space for input file, but doesn't include file's contents in .o file Product: binutils Versi