[Bug binutils/1198] Segfault when executing objdump on a special file...
https://sourceware.org/bugzilla/show_bug.cgi?id=1198 --- Comment #3 from Lionel Debroux --- I had completely forgotten about this bug report posted several days after I first installed Linux on my computer :) In the meantime: * I switched to Linux near-full-time in 2006, for both home and work usage. This computer cannot easily run VirtualBox VMs anymore. The simplest way to perform native Windows builds and tests is now to use another computer from work, which could take a bit of time, possibly not before the end of next week. * I co-created the GCC4TI development environment out of the aforementioned TIGCC. Among the various bugfixes and improvements we made, the following ones are relevant to this discussion: 1) the custom build scripts do not delete ar, objcopy, objdump, size and strip any longer (better having incomplete tools for expert usage than none at all !); 2) GCC4TI's gcc and binutils use a program prefix, so that they don't collide with system gcc and binutils; 3) the local patch to binutils was expanded one hack-ish hunk, so as to mask out the offending flag and make the binutils more usable, though not necessarily in the way upstream would do it. See the first hunk of https://github.com/debrouxl/gcc4ti/blob/4a0341f02f9d95a205b8601ca7be39cd876c5b1c/trunk/tigcc/gcc/gas-2.16-tigcc-patch.diff . * binutils, like many other programs, went through rounds of fuzzing and subsequent bugfixing, while GCC's Windows support further improved. The problem might therefore well be gone from modern binutils versions, only testing will tell - but I can't do that today :) -- 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/mailman/listinfo/bug-binutils
[Bug gold/19060] could not decompress section .debug_str
https://sourceware.org/bugzilla/show_bug.cgi?id=19060 --- Comment #2 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=9706b5e627dfae1ab0a2788dda8a2aa5a0e09af7 commit 9706b5e627dfae1ab0a2788dda8a2aa5a0e09af7 Author: H.J. Lu Date: Sun Oct 4 06:14:13 2015 -0700 Change ch_type to Elf_Word in struct Chdr_data<64> The ch_type field in struct Chdr_data<64> is 4 bytes, followed by a 4-byte padding. This change doesn't introduce any functional change since only the lower 32 bits of the ch_type field are used. PR gold/19060 * elfcpp.h (Chdr::get_ch_type): Change return type to Elf_Word. * elfcpp_internal.h (Chdr_data<64>): Change ch_type to 4 bytes and add ch_reserved. -- 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/mailman/listinfo/bug-binutils
[Bug gold/19060] could not decompress section .debug_str
https://sourceware.org/bugzilla/show_bug.cgi?id=19060 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |2.26 --- Comment #3 from H.J. Lu --- Fixed. -- 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/mailman/listinfo/bug-binutils
[Bug binutils/19063] objcopy does not set Time/Date field for created pei-x86-64 file
https://sourceware.org/bugzilla/show_bug.cgi?id=19063 --- Comment #3 from Toomas Soome --- -p does not change the result. same Thu Jan 1 03:00:00 1970 at time/date field. -- 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/mailman/listinfo/bug-binutils
[Bug binutils/19063] New: objcopy does not set Time/Date field for created pei-x86-64 file
https://sourceware.org/bugzilla/show_bug.cgi?id=19063 Bug ID: 19063 Summary: objcopy does not set Time/Date field for created pei-x86-64 file Product: binutils Version: unspecified Status: NEW Severity: minor Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: tsoome at me dot com Target Milestone: --- GNU objdump (GNU Binutils) 2.25.51.20151004 GNU objcopy (GNU Binutils) 2.25.51.20151004 do create and handle pei files: /home/tsoome/loader.efi: file format pei-x86-64 /home/tsoome/loader.efi architecture: i386:x86-64, flags 0x0133: HAS_RELOC, EXEC_P, HAS_SYMS, HAS_LOCALS, D_PAGED start address 0xcd80 Characteristics 0x206 executable line numbers stripped debugging information removed Time/Date Thu Jan 1 03:00:00 1970 Magic 020b(PE32+) MajorLinkerVersion 2 MinorLinkerVersion 25 there is one minor issue tho (it is there in 2.25.1 at least), this pei-x86-64 file is created with objcopy from elf file and as you see the Time/Date is not set. Not a big issue, but at least GNU objcopy 2.17.50 [FreeBSD] 2007-07-03 seems to set time/date properly - it may be freebsd own patch of course. -- 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/mailman/listinfo/bug-binutils
[Bug binutils/18850] sh_info not verified in VERNEED sections
https://sourceware.org/bugzilla/show_bug.cgi?id=18850 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |2.26 --- Comment #1 from H.J. Lu --- 2.26 gives: [hjl@gnu-tools-1 pr18850]$ ./objdump -p x.obj x.obj: file format elf64-x86-64 Program Header: PHDR off0x0040 vaddr 0x00400040 paddr 0x00400040 align 2**3 filesz 0x01f8 memsz 0x01f8 flags r-x INTERP off0x0238 vaddr 0x00400238 paddr 0x00400238 align 2**0 filesz 0x001c memsz 0x001c flags r-- LOAD off0x vaddr 0x0040 paddr 0x0040 align 2**21 filesz 0x0df4 memsz 0x0df4 flags r-x LOAD off0x0df8 vaddr 0x00600df8 paddr 0x00600df8 align 2**21 filesz 0x0288 memsz 0x02b8 flags rw- DYNAMIC off0x0e10 vaddr 0x00600e10 paddr 0x00600e10 align 2**3 filesz 0x01e0 memsz 0x01e0 flags rw- NOTE off0x0254 vaddr 0x00400254 paddr 0x00400254 align 2**2 filesz 0x0044 memsz 0x0044 flags r-- EH_FRAME off0x0cd4 vaddr 0x00400cd4 paddr 0x00400cd4 align 2**2 filesz 0x0034 memsz 0x0034 flags r-- STACK off0x vaddr 0x paddr 0x align 2**3 filesz 0x memsz 0x flags rw- RELRO off0x0df8 vaddr 0x00600df8 paddr 0x00600df8 align 2**0 filesz 0x0208 memsz 0x0208 flags r-- Dynamic Section: NEEDED libc.so.6 INIT 0x00400638 FINI 0x00400cc4 INIT_ARRAY 0x00600df8 INIT_ARRAYSZ 0x0008 FINI_ARRAY 0x00600e00 FINI_ARRAYSZ 0x0008 HASH 0x00400298 GNU_HASH 0x004002e0 STRTAB 0x00400440 SYMTAB 0x00400308 STRSZ0x0083 SYMENT 0x0018 DEBUG0x PLTGOT 0x00601000 PLTRELSZ 0x0108 PLTREL 0x0007 JMPREL 0x00400530 RELA 0x00400500 RELASZ 0x0030 RELAENT 0x0018 VERNEED 0x004004e0 VERNEEDNUM 0x0001 VERSYM 0x004004c4 Version References: required from libc.so.6: 0x09691a75 0x00 02 GLIBC_2.2.5 [hjl@gnu-tools-1 pr18850]$ -- 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/mailman/listinfo/bug-binutils
[Bug binutils/19063] objcopy does not set Time/Date field for created pei-x86-64 file
https://sourceware.org/bugzilla/show_bug.cgi?id=19063 --- Comment #2 from H.J. Lu --- (In reply to H.J. Lu from comment #1) > Please add "-p" to objcopy. It is unrelated. I don't think we should it by default. Otherwise, the output of objcopy will be different for each run. -- 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/mailman/listinfo/bug-binutils
[Bug gas/18883] Confusing error message for test
https://sourceware.org/bugzilla/show_bug.cgi?id=18883 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com -- 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/mailman/listinfo/bug-binutils
[Bug binutils/18850] sh_info not verified in VERNEED sections
https://sourceware.org/bugzilla/show_bug.cgi?id=18850 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com -- 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/mailman/listinfo/bug-binutils
[Bug gas/18883] Confusing error message for test
https://sourceware.org/bugzilla/show_bug.cgi?id=18883 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #1 from H.J. Lu --- The error message isn't ideal. But technically it isn't incorrect since it is how assembler works. Change it will slow down the assembler. -- 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/mailman/listinfo/bug-binutils