[Bug admin/31881] binutils-gdb Git repository is flooded by automatic commits

2024-06-17 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31881 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #2

[Bug ld/30002] pr26391-5, pr26391-6 ld test failures on sparc64-unknown-linux-gnu since 496afd17055aeb7d8f45e01715c475664f2b73bd

2023-01-16 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30002 --- Comment #14 from Mark Wielaard --- (In reply to H.J. Lu from comment #13) > Created attachment 14602 [details] > Try this one Note that since the gentoo-sparc builder also does binutils-try builds you can try by pushing to a branch

[Bug ld/30002] pr26391-5, pr26391-6 ld test failures on sparc64-unknown-linux-gnu since 496afd17055aeb7d8f45e01715c475664f2b73bd

2023-01-16 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30002 --- Comment #10 from Mark Wielaard --- (In reply to cvs-com...@gcc.gnu.org from comment #9) > The try-PR26391 branch has been updated by Mark Wielaard > : > > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git; >

[Bug ld/30002] pr26391-5, pr26391-6 ld test failures on sparc64-unknown-linux-gnu since 496afd17055aeb7d8f45e01715c475664f2b73bd

2023-01-15 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30002 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #3

[Bug binutils/29993] objcopy --merge-notes slow for large .so with many annobin notes

2023-01-12 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=29993 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org -- You

[Bug gas/29451] gas-2.39 started adding 0-sized DIEs to functions without .size

2022-08-09 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=29451 --- Comment #11 from Mark Wielaard --- (In reply to Jan Beulich from comment #8) > (In reply to Mark Wielaard from comment #7) > > > and the symbol size is also 0 in the table: > > > $ readelf -s crti.o > > > > > > Symbol table '.symtab'

[Bug gas/29451] gas-2.39 started adding 0-sized DIEs to functions without .size

2022-08-08 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=29451 --- Comment #7 from Mark Wielaard --- > and the symbol size is also 0 in the table: > $ readelf -s crti.o > > Symbol table '.symtab' contains 11 entries: >Num:Value Size TypeBind Vis Ndx Name > ... > 9:

[Bug gas/29451] gas-2.39 started adding 0-sized DIEs to functions without .size

2022-08-08 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=29451 --- Comment #5 from Mark Wielaard --- >> So when this file is linked in with object files and these relocations are >> resolved the correct values for the __x86.get_pc_thunk.bx symbol will be >> installed into the .debug_info section, and

[Bug binutils/29075] objdump -S does not support debuginfod

2022-08-08 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=29075 --- Comment #13 from Mark Wielaard --- (In reply to Martin Liska from comment #12) > > So in order for -S to work, we either have to add debuginfod support to the > > BFD library or else add a new find_nearest_line() type function to > >

[Bug gas/29451] gas-2.39 started adding 0-sized DIEs to functions without .size

2022-08-07 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=29451 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #2

[Bug binutils/29075] objdump -S does not support debuginfod

2022-04-21 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=29075 --- Comment #7 from Mark Wielaard --- So more specifically whenever objdump -S cannot find the sources it can try to call debuginfod_find_source () just like it tries to find the original debuginfo through debuginfod_find_debuginfo. See the

[Bug binutils/29075] objdump -S does not support debuginfod

2022-04-20 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=29075 Mark Wielaard changed: What|Removed |Added CC|mjw at fedoraproject dot org |mark at klomp dot org -- You

[Bug ld/28915] dwarf2.c doesn't correctly parse DW_UT_skeleton

2022-02-21 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28915 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org -- You

[Bug gold/23535] gold needs to produce two PT_NOTE segments with ELFCLASS64

2021-10-25 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23535 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org -- You

[Bug gold/28494] New: gold combines different aligned/padded SHT_NOTE sections in the same PT_NOTE segment

2021-10-25 Thread mark at klomp dot org
Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: mark at klomp dot org CC: ian at airs dot com, mliska at suse dot cz Target Milestone: --- Minimal reproducer: $ echo 'main() { return 0; }' | gcc

[Bug ld/2378] Incorrect opcode in __do_clear_bss if bss has more than 15 bytes

2021-09-22 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=2378 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org -- You

[Bug ld/6019] [avr] avr-ld --relax requires --gc-sections

2021-09-22 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=6019 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org -- You

[Bug gas/1038] resolution of weak symbol not left for the linker if value is already known

2021-09-22 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=1038 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org -- You

[Bug binutils/27797] [size] attempting double-free on bfd/mach-o.c:5978

2021-04-30 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27797 --- Comment #7 from Mark Wielaard --- realloc with size zero is super confusing, so much so that C11 deprecated the use of calling realloc with size zero: http://www.open-std.org/jtc1/sc22/wg14/www/docs/summary.htm#dr_400 -- You are

[Bug gas/27215] as: Error: non-constant .uleb128 is not supported on riscv64

2021-03-12 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27215 Mark Wielaard changed: What|Removed |Added CC|mjw at fedoraproject dot org |mark at klomp dot org -- You

[Bug ld/27226] ld.bfd contains huge .rodata section

2021-03-12 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27226 Mark Wielaard changed: What|Removed |Added CC|mjw at fedoraproject dot org | -- You are receiving this

[Bug ld/26706] pad strings in .dynstr

2021-03-09 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26706 --- Comment #4 from Mark Wielaard --- Hi Ben, Bugzilla tricked you and changed the from so your reply went directly into the bug. On Tue, Mar 09, 2021 at 12:41:46AM +, woodard at redhat dot com wrote: >

[Bug ld/26706] pad strings in .dynstr

2021-03-07 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26706 --- Comment #2 from Mark Wielaard --- (In reply to Fangrui Song from comment #1) > You can additionally link an object file with an artificial long symbol > name. Since that symbol is not used, you can change its .dynstr I think that is

[Bug binutils/27484] clang++: objdump: DWARF error: could not find variable specification at offset

2021-03-02 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27484 --- Comment #6 from Mark Wielaard --- Comment on attachment 13273 --> https://sourceware.org/bugzilla/attachment.cgi?id=13273 object file - ICC That does look like the same issue. It also generates an DW_AT_specification with a forward

[Bug binutils/27478] [readelf] warning about missing section in separate debug info file

2021-02-28 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27478 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org -- You

[Bug binutils/27484] clang++: objdump: DWARF error: could not find variable specification at offset

2021-02-28 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27484 Mark Wielaard changed: What|Removed |Added CC|mjw at fedoraproject dot org | -- You are receiving this

[Bug binutils/27484] clang++: objdump: DWARF error: could not find variable specification at offset

2021-02-28 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27484 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #1

[Bug gold/27246] ld.gold does not support DWARF5

2021-01-26 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27246 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org -- You

[Bug binutils/27231] objdump -S doesn't work on DWARF5 generated by GCC 11

2021-01-24 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27231 --- Comment #10 from Mark Wielaard --- (In reply to Jakub Jelinek from comment #9) > (In reply to H.J. Lu from comment #6) > > > > if ((low_pc == 0 && high_pc == 0) || low_pc == high_pc) > > return FALSE; > > > > in

[Bug ld/27226] ld.bfd contains huge .rodata section

2021-01-22 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27226 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #2

[Bug binutils/26808] [2.36 Regression] readelf: Warning: DIE at offset 0x232 refers to abbreviation number 77 which does not exist

2020-10-29 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26808 --- Comment #11 from Mark Wielaard --- (In reply to H.J. Lu from comment #10) > A patch is posted at > > https://sourceware.org/pipermail/binutils/2020-October/113938.html Thanks. I get what is going on now. This isn't a normal .dwo file,

[Bug binutils/26808] [2.36 Regression] readelf: Warning: DIE at offset 0x232 refers to abbreviation number 77 which does not exist

2020-10-29 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26808 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #3

[Bug gas/26778] Error: file table slot 1 is already occupied by a different file

2020-10-23 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26778 --- Comment #1 from Mark Wielaard --- Introduced by: commit bd0c565edbf4ba8121fded38e389530d7fa6f963 Author: H.J. Lu Date: Sat Oct 17 04:24:22 2020 -0700 gas: Always use as_where for preprocessed assembly codes Always clear the

[Bug gas/26778] Error: file table slot 1 is already occupied by a different file

2020-10-23 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26778 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org -- You

[Bug gas/25878] Error: file table slot 1 is already occupied by a different file

2020-10-15 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25878 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org -- You

[Bug gas/26740] Extra filename generated by --gdwarf-4

2020-10-15 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26740 Mark Wielaard changed: What|Removed |Added CC||nickc at sourceware dot org ---

[Bug gas/26740] Extra filename generated by --gdwarf-4

2020-10-15 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26740 --- Comment #3 from Mark Wielaard --- (In reply to H.J. Lu from comment #2) > (In reply to Mark Wielaard from comment #1) > > The issue is that some instructions are emitted (dwarf2_emit_insn is called) > > before the first .file directive

[Bug gas/26740] Extra filename generated by --gdwarf-4

2020-10-15 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26740 --- Comment #1 from Mark Wielaard --- The issue is that some instructions are emitted (dwarf2_emit_insn is called) before the first .file directive has been seen. This allocates x.s (the input file) as first file entry. Later when the actual

[Bug ld/26706] pad strings in .dynstr

2020-10-05 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26706 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org -- You

[Bug ld/26312] ld produces broken PLT on aarch64 with BTI+PAC

2020-07-29 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26312 --- Comment #3 from Mark Wielaard --- (In reply to Szabolcs Nagy from comment #2) > i don't know about sh_entsize, i will have to check what it should be. In general sh_size modulo sh_entsize needs to be zero (if sh_entsize isn't zero

[Bug ld/26312] ld produces broken PLT on aarch64 with BTI+PAC

2020-07-29 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26312 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org -- You

[Bug ld/24717] .note.gnu.property sections are not stored at an offset equal to their VMA in debuginfo files

2019-06-21 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24717 --- Comment #6 from Mark Wielaard --- (In reply to Nick Clifton from comment #5) > Presumably it would make sense to silence this warning when processing .debug > files. Is there a reliable way to detect them ? For example can such files >

[Bug ld/24717] .note.gnu.property sections are not stored at an offset equal to their VMA in debuginfo files

2019-06-21 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24717 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #2

[Bug binutils/23919] bfd doesn't handle ELF compressed data alignment

2018-12-05 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23919 Bug 23919 depends on bug 23916, which changed state. Bug 23916 Summary: [bisected] elifutils-0.175 broke kernel's objtool (elifutils-0.173 works) https://sourceware.org/bugzilla/show_bug.cgi?id=23916 What|Removed

[Bug binutils/23919] bfd doesn't handle ELF compressed data alignment

2018-11-28 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23919 --- Comment #11 from Mark Wielaard --- (In reply to H.J. Lu from comment #9) > This change triggered > > gcctestdir/collect-ld: warning: gdb_index_test_cdebug_gabi.o: section > .debug_str contains incorrectly aligned strings; the alignment

[Bug binutils/23919] bfd doesn't handle ELF compressed data alignment

2018-11-28 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23919 --- Comment #10 from Mark Wielaard --- (In reply to cvs-com...@gcc.gnu.org from comment #6) > The master branch has been updated by H.J. Lu : > > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git; >

[Bug binutils/23919] bfd doesn't handle ELF compressed data alignment

2018-11-27 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23919 --- Comment #4 from Mark Wielaard --- (In reply to Nick Clifton from comment #3) > Thanks very much for the bug report, and especially for a patch to fix it! > I have applied the patch, so I hope that this problem is now resolved.

[Bug binutils/23919] bfd doesn't handle ELF compressed data alignment

2018-11-24 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23919 --- Comment #1 from Mark Wielaard --- Created attachment 11413 --> https://sourceware.org/bugzilla/attachment.cgi?id=11413=edit Proposed patch to handle compressed section alignment correctly The attached git format-patch resolved this

[Bug binutils/23919] New: bfd doesn't handle ELF compressed data alignment

2018-11-24 Thread mark at klomp dot org
Component: binutils Assignee: unassigned at sourceware dot org Reporter: mark at klomp dot org CC: devurandom at gmx dot net, elfutils-devel at sourceware dot org, mark at klomp dot org, slyfox at inbox dot ru, unassigned

[Bug binutils/22911] Huge slowdown in objdump -d caused by scanning the dynamic relocs

2018-03-05 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22911 --- Comment #7 from Mark Wielaard --- (In reply to H.J. Lu from comment #6) > A patch is posted at > > https://sourceware.org/ml/binutils/2018-03/msg00015.html Thanks. With that patch my original testcase takes just 11 seconds (from 2

[Bug binutils/22911] Huge slowdown in objdump -d caused by scanning the dynamic relocs

2018-03-03 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22911 Mark Wielaard changed: What|Removed |Added Status|WAITING |NEW --- Comment #2 from Mark

[Bug binutils/22911] New: Huge slowdown in objdump -d caused by scanning the dynamic relocs

2018-03-02 Thread mark at klomp dot org
Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: mark at klomp dot org CC: jseward at acm dot org Target Milestone: --- The following commit: commit a24bb4f0cce83eea8b2ad1542316651143af6f90 Author: Nick

[Bug ld/22749] New: Bad alignment and padding of .note.gnu.property

2018-01-26 Thread mark at klomp dot org
Component: ld Assignee: unassigned at sourceware dot org Reporter: mark at klomp dot org Target Milestone: --- The .note.gnu.property SHT_NOTE uses wrong alignment and padding on ELFCLASS64. This breaks note parsers which will see garbage data inside a NOTE and might flag the ELF

[Bug binutils/22249] objdump --dwarf-start can be very slow

2017-10-11 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22249 --- Comment #13 from Mark Wielaard --- (In reply to Tom Tromey from comment #4) > (In reply to Nick Clifton from comment #2) > > * For completeness sake if nothing else, shouldn't we also be able to > > specify an end address for CU dumping

[Bug ld/13569] Linker garbage collection retains debug information which leads to GDB bus errors

2017-10-11 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=13569 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org -- You

[Bug binutils/15152] readelf and objdump don't print strings from .dwz file

2017-10-11 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=15152 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org -- You

[Bug binutils/22249] objdump --dwarf-start can be very slow

2017-10-09 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22249 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #3

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 --- Comment #18 from Mark Wielaard --- (In reply to H.J. Lu from comment #16) > (In reply to Mark Wielaard from comment #15) > > (In reply to H.J. Lu from comment #14) > > > Anything else besides "identical to the phdrs"? Must .dynamic

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 --- Comment #15 from Mark Wielaard --- (In reply to H.J. Lu from comment #14) > Anything else besides "identical to the phdrs"? Must .dynamic section have > the identical section contents in debug info file? Allocated sections are NOBITS in

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 --- Comment #13 from Mark Wielaard --- (In reply to H.J. Lu from comment #11) > So the problem is the invalid .dynamic section. Can we just drop > .dynamic section with "objcopy --only-keep-debug" No. The phdrs in a separate debug file are

[Bug binutils/22136] Support marking "debug" info files with special ET_GNU_DEBUG_* values.

2017-09-15 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22136 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org -- You

[Bug gas/21809] gas outputs data symbol markers "$d" in .debug_frame

2017-07-21 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21809 --- Comment #2 from Mark Wielaard --- (In reply to Nick Clifton from comment #1) > Created attachment 10280 [details] > Something like this ? > > Please give it a try and let me know if it works for you. It seems to work on an armv7l

[Bug gas/21809] New: gas outputs data symbol markers "$d" in .debug_frame

2017-07-21 Thread mark at klomp dot org
iority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: mark at klomp dot org Target Milestone: --- On arm and aarch64: $ echo "int main() { return 1; }" | gcc -g -xc - $ eu-readelf -S ./a.out | grep debug_frame [31] .debug_frame P

[Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info

2017-01-11 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=20876 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #3