[Bug gas/22598] [RISCV] No way to disable two-instruction sequences for branch or relocation for jal instructions

2018-01-08 Thread wilson at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22598 --- Comment #6 from Jim Wilson --- The address printed for jal is nonsense because it has a reloc, but the address for the branches should be correct. I think the problem with the is that we have two ".L0 " fake symbols, and objdump is using

[Bug gas/22598] [RISCV] No way to disable two-instruction sequences for branch or relocation for jal instructions

2018-01-08 Thread palmer at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22598 --- Comment #5 from Palmer Dabbelt --- (In reply to Jim Wilson from comment #4) > I would expect this to work > .option norelax > beq s1, s0, .+102 > bne a4, a5, .-4096 > jal a2, 1048574 > I get > <.L0 >: >

[Bug gas/22598] [RISCV] No way to disable two-instruction sequences for branch or relocation for jal instructions

2018-01-08 Thread wilson at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22598 --- Comment #4 from Jim Wilson --- I would expect this to work .option norelax beq s1, s0, .+102 bne a4, a5, .-4096 jal a2, 1048574 I get <.L0 >: 0: 06848363beq s1,s0,66 <.L0 +0

[Bug gas/22598] [RISCV] No way to disable two-instruction sequences for branch or relocation for jal instructions

2018-01-08 Thread palmer at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22598 Palmer Dabbelt changed: What|Removed |Added CC||palmer at gcc dot gnu.org --- Commen

[Bug gas/22598] [RISCV] No way to disable two-instruction sequences for branch or relocation for jal instructions

2018-01-08 Thread wilson at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22598 --- Comment #2 from Jim Wilson --- Note that the testcase is trying to use absolute addresses with a pc-relative branch. The assembler can't know the address the linker will assign to the code, so this requires a relocation. I don't know if

[Bug gas/22598] [RISCV] No way to disable two-instruction sequences for branch or relocation for jal instructions

2018-01-08 Thread wilson at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22598 Jim Wilson changed: What|Removed |Added Assignee|unassigned at sourceware dot org |wilson at gcc dot gnu.org -- Yo

[Bug gas/22598] [RISCV] No way to disable two-instruction sequences for branch or relocation for jal instructions

2018-01-08 Thread palmer at dabbelt dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22598 Palmer Dabbelt changed: What|Removed |Added CC||palmer at dabbelt dot com --- Commen

[Bug ld/22655] gcc unable to compile assembly with -nostdlib

2018-01-08 Thread calculuswhiz at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22655 --- Comment #6 from Zach --- Ah, thanks. Got it. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org

[Bug ld/13391] .rofixup section size mismatch

2018-01-08 Thread wbx at openadk dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=13391 --- Comment #13 from wbx at openadk dot org --- Hi Nick, all attached. best regards Waldemar -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing l

[Bug ld/13391] .rofixup section size mismatch

2018-01-08 Thread wbx at openadk dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=13391 --- Comment #12 from wbx at openadk dot org --- Created attachment 10722 --> https://sourceware.org/bugzilla/attachment.cgi?id=10722&action=edit test.o object file -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/13391] .rofixup section size mismatch

2018-01-08 Thread wbx at openadk dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=13391 --- Comment #11 from wbx at openadk dot org --- Created attachment 10721 --> https://sourceware.org/bugzilla/attachment.cgi?id=10721&action=edit libuClibc.so shared library -- You are receiving this mail because: You are on the CC list for

[Bug ld/13391] .rofixup section size mismatch

2018-01-08 Thread wbx at openadk dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=13391 --- Comment #10 from wbx at openadk dot org --- Created attachment 10720 --> https://sourceware.org/bugzilla/attachment.cgi?id=10720&action=edit ld-uClibc.so shared library loader -- You are receiving this mail because: You are on the CC li

[Bug ld/13391] .rofixup section size mismatch

2018-01-08 Thread wbx at openadk dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=13391 --- Comment #9 from wbx at openadk dot org --- Created attachment 10719 --> https://sourceware.org/bugzilla/attachment.cgi?id=10719&action=edit libgcc_eh.a static archive -- You are receiving this mail because: You are on the CC list for th

[Bug ld/13391] .rofixup section size mismatch

2018-01-08 Thread wbx at openadk dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=13391 --- Comment #8 from wbx at openadk dot org --- Created attachment 10718 --> https://sourceware.org/bugzilla/attachment.cgi?id=10718&action=edit libgcc.a static archive -- You are receiving this mail because: You are on the CC list for the b

[Bug ld/13391] .rofixup section size mismatch

2018-01-08 Thread wbx at openadk dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=13391 --- Comment #7 from wbx at openadk dot org --- Created attachment 10717 --> https://sourceware.org/bugzilla/attachment.cgi?id=10717&action=edit crtendS.o object file -- You are receiving this mail because: You are on the CC list for the bug

[Bug ld/13391] .rofixup section size mismatch

2018-01-08 Thread wbx at openadk dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=13391 --- Comment #6 from wbx at openadk dot org --- Created attachment 10716 --> https://sourceware.org/bugzilla/attachment.cgi?id=10716&action=edit crtend.o object file -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/13391] .rofixup section size mismatch

2018-01-08 Thread wbx at openadk dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=13391 --- Comment #5 from wbx at openadk dot org --- Created attachment 10715 --> https://sourceware.org/bugzilla/attachment.cgi?id=10715&action=edit crtbeginS.o object file -- You are receiving this mail because: You are on the CC list for the b

[Bug ld/13391] .rofixup section size mismatch

2018-01-08 Thread wbx at openadk dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=13391 --- Comment #4 from wbx at openadk dot org --- Created attachment 10714 --> https://sourceware.org/bugzilla/attachment.cgi?id=10714&action=edit crtbegin.o object file -- You are receiving this mail because: You are on the CC list for the bu

[Bug ld/13391] .rofixup section size mismatch

2018-01-08 Thread wbx at openadk dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=13391 --- Comment #3 from wbx at openadk dot org --- Created attachment 10713 --> https://sourceware.org/bugzilla/attachment.cgi?id=10713&action=edit gcc verbose linker output gcc -Wl,-verbose output -- You are receiving this mail because: You a

[Bug gas/22598] [RISCV] No way to disable two-instruction sequences for branch or relocation for jal instructions

2018-01-08 Thread wilson at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22598 Jim Wilson changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug gas/22681] vmovd with qword ptr [rax] is misassembled

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

[Bug gas/22681] vmovd with qword ptr [rax] is misassembled

2018-01-08 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22681 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=704a705d7aaab8041df76e2981e2a1efc014aad0 commit 704a705d7aaab8041df76e2981e2a1ef

[Bug ld/22589] aarch64: adrp relocation gets filled with non-zero address for undefined weak symbol

2018-01-08 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22589 Nick Clifton changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug ld/22677] ld -r --gc-section does not KEEP .init_array/.fini_array

2018-01-08 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22677 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #2

[Bug ld/13391] .rofixup section size mismatch

2018-01-08 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=13391 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #2

[Bug gas/22553] .largecomm, .lbss, .ldata, and .lrodata are still not documented after many, many years

2018-01-08 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22553 --- Comment #6 from Nick Clifton --- Hi John, I have checked in the patch to document the .largecomm directive. I do not think that .ldata, .lbss or .lrodata exists as assembler directives, so I do not plan on documenting these unless

[Bug gas/22553] .largecomm, .lbss, .ldata, and .lrodata are still not documented after many, many years

2018-01-08 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22553 --- Comment #5 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=102e9361c2756ad7ffceb0713a794c991e69 commit 102e9361c2756ad7ffceb07

[Bug gas/22553] .largecomm, .lbss, .ldata, and .lrodata are still not documented after many, many years

2018-01-08 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22553 --- Comment #4 from Nick Clifton --- (In reply to john from comment #3) Hi John, > - I'll try and find the code that generated .lrodata Probably something like this should work: const char *bigarray2[THECOUNT]; > This generates .lbss a

[Bug gas/22553] .largecomm, .lbss, .ldata, and .lrodata are still not documented after many, many years

2018-01-08 Thread john at buu dot ac.th
https://sourceware.org/bugzilla/show_bug.cgi?id=22553 --- Comment #3 from john at buu dot ac.th --- This generates .lbss and .ldata - I'll try and find the code that generated .lrodata and send that in a different email. /* $gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_W