[Bug binutils/12467] libbfd cant recognize valid ELF file
http://sourceware.org/bugzilla/show_bug.cgi?id=12467 --- Comment #3 from cvs-commit at gcc dot gnu.org 2011-02-08 09:40:10 UTC --- CVSROOT:/cvs/src Module name:src Changes by:ni...@sourceware.org2011-02-08 09:40:05 Modified files: binutils : ChangeLog readelf.c bfd: ChangeLog elf.c Log message: PR binutils/12467 * readelf.c (process_program_headers): Issue a warning if there are no program headers but the file header has a non-zero program header offset. (process_section_headers): Issue a warning if there are no section headers but the file header has a non-zero section header offset. (process_section_groups): Reword the no section message so that it can be distinguished from the one issued by process_section_headers. * elf.c (assign_file_positions_for_load_sections): Set the program header offset and entry size to zero if there are no program headers. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/ChangeLog.diff?cvsroot=src&r1=1.1740&r2=1.1741 http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/readelf.c.diff?cvsroot=src&r1=1.531&r2=1.532 http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5241&r2=1.5242 http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf.c.diff?cvsroot=src&r1=1.528&r2=1.529 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/12467] libbfd cant recognize valid ELF file
http://sourceware.org/bugzilla/show_bug.cgi?id=12467 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com Resolution|INVALID |FIXED --- Comment #4 from Nick Clifton 2011-02-08 09:51:53 UTC --- Hi Anton, I have applied a patch to readelf so that it will report files that have a section-header offset in the ELF header, but no actual section headers. Cheers Nick -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/6957] i386 NOPs must be derived from march not mtune
http://sourceware.org/bugzilla/show_bug.cgi?id=6957 Andreas Schwab changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | --- Comment #28 from Andreas Schwab 2011-02-08 17:02:41 UTC --- Still broken. $ cat nopl.s nop .align 8 $ gas/as-new --32 -mtune=i686 nopl.s $ objdump -d a.out: file format elf32-i386 Disassembly of section .text: <.text>: 0: 90 nop 1: 0f 1f 80 00 00 00 00nopl 0x0(%eax) -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/6957] i386 NOPs must be derived from march not mtune
http://sourceware.org/bugzilla/show_bug.cgi?id=6957 Jan Kratochvil changed: What|Removed |Added CC||jan.kratochvil at redhat ||dot com --- Comment #29 from Jan Kratochvil 2011-02-08 17:12:26 UTC --- Fix: [rfc] nopl should not be output on -mtune=i686 http://sourceware.org/ml/binutils/2011-02/msg00070.html -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/6957] i386 NOPs must be derived from march not mtune
http://sourceware.org/bugzilla/show_bug.cgi?id=6957 --- Comment #30 from cvs-commit at gcc dot gnu.org 2011-02-08 20:21:30 UTC --- CVSROOT:/cvs/src Module name:src Changes by:h...@sourceware.org2011-02-08 20:21:26 Modified files: gas: ChangeLog gas/config : tc-i386.c gas/testsuite : ChangeLog gas/testsuite/gas/i386: nops-1-i686.d nops-3-i686.d nops-4-i686.d Log message: Use f32_patt in i386_align_code when tuning for i686. gas/ 2011-02-08 H.J. Lu PR gas/6957 * config/tc-i386.c (i386_align_code): Use f32_patt when tuning for i686. gas/testsuite/ 2011-02-08 H.J. Lu PR gas/6957 * gas/i386/nops-1-i686.d: Updated. * gas/i386/nops-3-i686.d: Likewise. * gas/i386/nops-4-i686.d: Likewise. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.4399&r2=1.4400 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-i386.c.diff?cvsroot=src&r1=1.462&r2=1.463 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1846&r2=1.1847 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/nops-1-i686.d.diff?cvsroot=src&r1=1.4&r2=1.5 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/nops-3-i686.d.diff?cvsroot=src&r1=1.3&r2=1.4 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/nops-4-i686.d.diff?cvsroot=src&r1=1.3&r2=1.4 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/6957] i386 NOPs must be derived from march not mtune
http://sourceware.org/bugzilla/show_bug.cgi?id=6957 H.J. Lu changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||FIXED --- Comment #31 from H.J. Lu 2011-02-08 20:24:15 UTC --- Fixed. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/12476] New: mingw target should reference windows.h instead of Windows.h
http://sourceware.org/bugzilla/show_bug.cgi?id=12476 Summary: mingw target should reference windows.h instead of Windows.h Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: critical Priority: P2 Component: ld AssignedTo: unassig...@sources.redhat.com ReportedBy: dongsheng.s...@gmail.com Created attachment 5233 --> http://sourceware.org/bugzilla/attachment.cgi?id=5233 Here is the patch There have 3 files reference to Windows.h: ld/config.in: AC_CHECK_HEADERS([Windows.h],[enable_plugins=yes],[],[AC_INCLUDES_DEFAULT]) ld/configure: ... ld/plugin.c: #include But in the mingw or mingw-w64 repository, the name should be windows.h: http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/?cvsroot=src https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk/mingw-w64-headers/include/ So in an case sensitive filesystem/platform, AC_CHECK_HEADERS will fail, and the plugin will not build. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils