[Bug libsframe/33127] "ld -r" doesn't remove the sframe relocation against the discarded section.

2025-07-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33127 --- Comment #18 from H.J. Lu --- (In reply to Indu Bhagat from comment #17) > Indeed, my proposed patch is not addressing the issue, tests fail. Your > patch does work. Should I submit my patch? -- You are receiving this mail because: You

[Bug libsframe/33127] "ld -r" doesn't remove the sframe relocation against the discarded section.

2025-07-13 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33127 --- Comment #17 from Indu Bhagat --- Indeed, my proposed patch is not addressing the issue, tests fail. Your patch does work. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/33146] sframe: .gnu_object_only contains concatenated SFrame sections

2025-07-13 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=33146 Sam James changed: What|Removed |Added CC||sam at gentoo dot org -- You are receivi

[Bug ld/33146] sframe: .gnu_object_only contains concatenated SFrame sections

2025-07-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33146 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.45 --- Comment #11 from H.J. Lu --- Fixe

[Bug ld/33146] sframe: .gnu_object_only contains concatenated SFrame sections

2025-07-13 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=33146 --- Comment #10 from Sourceware Commits --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=939eb467b21de5d18ee703755fb9704a525cfe21 commit 939eb467b21de5d18ee703755fb9704a525cfe21 A

[Bug ld/33146] sframe: .gnu_object_only contains concatenated SFrame sections

2025-07-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33146 --- Comment #9 from H.J. Lu --- (In reply to Indu Bhagat from comment #7) > The patch works. Thanks a lot for your help. A patch is posted at https://sourceware.org/pipermail/binutils/2025-July/142577.html -- You are receiving this mail be

[Bug ld/33146] sframe: .gnu_object_only contains concatenated SFrame sections

2025-07-13 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=33146 --- Comment #8 from Sourceware Commits --- The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a57a3a169ea9ec79977949c9c8dccd3a2a615fae commit a57a3a169ea9ec79977949c9c8dccd3a2a615fae

[Bug ld/33146] sframe: .gnu_object_only contains concatenated SFrame sections

2025-07-13 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33146 --- Comment #7 from Indu Bhagat --- The patch works. Thanks a lot for your help. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/33146] sframe: .gnu_object_only contains concatenated SFrame sections

2025-07-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33146 H.J. Lu changed: What|Removed |Added Attachment #16172|0 |1 is obsolete|

[Bug ld/33146] sframe: .gnu_object_only contains concatenated SFrame sections

2025-07-13 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=33146 --- Comment #5 from Sourceware Commits --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ef7a634dc01df3d78f208c93316b52937d3fe8f4 commit ef7a634dc01df3d78f208c93316b52937d3fe8f4 Au

[Bug ld/33146] sframe: .gnu_object_only contains concatenated SFrame sections

2025-07-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33146 --- Comment #4 from H.J. Lu --- Created attachment 16172 --> https://sourceware.org/bugzilla/attachment.cgi?id=16172&action=edit A patch to move gas_sframe_check to binutils-common.exp Together with this: diff --git a/ld/testsuite/ld-plugi

[Bug libsframe/33127] "ld -r" doesn't remove the sframe relocation against the discarded section.

2025-07-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33127 H.J. Lu changed: What|Removed |Added Status|WAITING |NEW --- Comment #16 from H.J. Lu --- (In r

[Bug libsframe/33127] "ld -r" doesn't remove the sframe relocation against the discarded section.

2025-07-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33127 H.J. Lu changed: What|Removed |Added Attachment #16169|0 |1 is obsolete|

[Bug ld/33131] Failed assertion when linking gccgo (sframe_decoder_get_fre: Assertion `fre->fre_start_addr < fdep->sfde_func_size' failed.)

2025-07-13 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33131 --- Comment #3 from Indu Bhagat --- With the proposed patch, GCC's go frontend builds fine. https://sourceware.org/pipermail/binutils/2025-July/142560.html -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/33146] sframe: .gnu_object_only contains concatenated SFrame sections

2025-07-13 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33146 Indu Bhagat changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment

[Bug ld/33146] sframe: .gnu_object_only contains concatenated SFrame sections

2025-07-13 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33146 Indu Bhagat changed: What|Removed |Added Blocks||33126 Referenced Bugs: https://source

[Bug gas/33126] SFrame: add a --enable-sframe (or similar) configure option to default-enable --gsframe in gas

2025-07-13 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33126 Indu Bhagat changed: What|Removed |Added Depends on||33146 Referenced Bugs: https://source

[Bug libsframe/33127] "ld -r" doesn't remove the sframe relocation against the discarded section.

2025-07-13 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33127 --- Comment #14 from Indu Bhagat --- Created attachment 16170 --> https://sourceware.org/bugzilla/attachment.cgi?id=16170&action=edit Fix using SEC_EXCLUDE How about this patch to fix the issue by setting SEC_EXCLUDE? -- You are receiving

[Bug libsframe/33127] "ld -r" doesn't remove the sframe relocation against the discarded section.

2025-07-13 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33127 Indu Bhagat changed: What|Removed |Added CC||indu.bhagat at oracle dot com --- Comme

[Bug ld/33146] sframe: .gnu_object_only contains concatenated SFrame sections

2025-07-13 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33146 --- Comment #2 from Indu Bhagat --- So far, I see linker concatenating the two .sframe sections for .gnu_object_only section output. Also can be seen in the temporary file (see the two 0xdee2 which is the SFRAME_MAGIC in the SFrame header).

[Bug ld/33146] sframe: .gnu_object_only contains concatenated SFrame sections

2025-07-13 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33146 --- Comment #1 from Indu Bhagat --- TL;DR: Some issue in the .gnu_object_only section which, IIUC, are generated when there is (mixed) LTO and none-LTO usage with ld -r. Currently the .sframe section in the .gnu_object_only contents show one

[Bug ld/33146] New: sframe: .gnu_object_only contains concatenated SFrame sections

2025-07-13 Thread indu.bhagat at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33146 Bug ID: 33146 Summary: sframe: .gnu_object_only contains concatenated SFrame sections Product: binutils Version: 2.45 Status: NEW Severity: normal

[Bug binutils/33145] CR16 binary output format breaks relocations

2025-07-13 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=33145 --- Comment #1 from Andreas Schwab --- The binary target only knows about simple 8,16,32 bit relocations, if there are any other, non-trivial relocations then producing binary output with the linker is going to fail. It is always better to us

[Bug gas/33095] as fails to respect -march on riscv when it doesn't include the compressed instructions extension

2025-07-13 Thread genericnerdyusername at proton dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=33095 --- Comment #2 from genericnerdyusername --- You could argue that you also explicitly disabled compressed instruction generation with `-march`. I also don't understand why this exists for the C extension but not for others. Regardless, this is

[Bug binutils/33145] New: CR16 binary output format breaks relocations

2025-07-13 Thread Jomosoto at proton dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=33145 Bug ID: 33145 Summary: CR16 binary output format breaks relocations Product: binutils Version: 2.46 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 C

[Bug gas/33144] New: CR16 loadx/storx abs20 disassembly wrong address if >= 0xFF0000

2025-07-13 Thread Jomosoto at proton dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=33144 Bug ID: 33144 Summary: CR16 loadx/storx abs20 disassembly wrong address if >= 0xFF Product: binutils Version: 2.46 (HEAD) Status: UNCONFIRMED Severity: m

[Bug gas/33143] CR16 storx abs always choses slow instruction variant for high addresses

2025-07-13 Thread Jomosoto at proton dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=33143 Jomosoto changed: What|Removed |Added Component|binutils|gas -- You are receiving this mail becaus

[Bug binutils/33143] New: CR16 storx abs always choses slow instruction variant for high addresses

2025-07-13 Thread Jomosoto at proton dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=33143 Bug ID: 33143 Summary: CR16 storx abs always choses slow instruction variant for high addresses Product: binutils Version: 2.46 (HEAD) Status: UNCONFIRMED Se

[Bug gas/33142] New: CR16 loadx disp14 format broken

2025-07-13 Thread Jomosoto at proton dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=33142 Bug ID: 33142 Summary: CR16 loadx disp14 format broken Product: binutils Version: 2.46 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: gas