Re: [binutils] error in readelf when trying to search for missing section header table

2023-05-08 Thread Alan Modra
This was fixed with commit 907b52f4ceb6 2022-10-03. -- Alan Modra Australia Development Lab, IBM

[binutils] error in readelf when trying to search for missing section header table

2023-05-08 Thread pini
Hello, I stumbled upon the following error when reading data from a file that has no section header table. The file I tested has the `e_shoff` and `e_shnum` members set to zero in the ELF header, which are the expected values when the file has no section header table (according to e.g. "gABI" doc

[binutils] error in readelf when trying to search for missing section header table

2023-05-08 Thread pini
Hello, I stumbled upon the following error when reading data from a file that has no section header table. The file I tested has the `e_shoff` and `e_shnum` members set to zero in the ELF header, which are the expected values when the file has no section header table (according to e.g. "gABI" doc

Issue 55955 in oss-fuzz: binutils:fuzz_strings: Out-of-memory in fuzz_strings

2023-05-08 Thread sheriffbot via monorail
Updates: Labels: Deadline-Approaching Comment #2 on issue 55955 by sheriffbot: binutils:fuzz_strings: Out-of-memory in fuzz_strings https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=55955#c2 This bug is approaching its deadline for being fixed, and will be automatically derestricted

[Bug binutils/30426] gas x86: reject {call,jmp} [offset func] in Intel syntax

2023-05-08 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30426 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com -- You are rece

[Bug ld/16566] Please provide a way to include static symbols in linker map file

2023-05-08 Thread jon at beniston dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16566 --- Comment #8 from jon at beniston dot com --- test.c: void func() { } int main() { func(); return 0; } Compile with: arm-eabi-gcc test.c -o test.exe -Xlinker -Map=arm.map -flto -Xlinker --print-map-locals With the bfd_link_hash_

[Bug ld/30145] No way to specify PE IMAGE_SCN_* characteristics

2023-05-08 Thread pali at kernel dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30145 --- Comment #4 from Pali Rohár --- So it looks like that IMAGE_SCN_MEM_READ characteristic is always added, IMAGE_SCN_MEM_WRITE characteristic is added only when readonly flag is not specified. And other flags add following characteristics: a

[Bug ld/30359] Create Resource-Only DLL

2023-05-08 Thread pali at kernel dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30359 --- Comment #12 from Pali Rohár --- This new linker script works fine. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/30343] LTO ignores linker reference to _pei386_runtime_relocator

2023-05-08 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30343 Alan Modra changed: What|Removed |Added CC|amodra at gmail dot com| Assignee|unassigned at