elf-attrs.c patch
Is it me or is the for (i...) loop going beyond the end of the array? diff --git a/bfd/elf-attrs.c b/bfd/elf-attrs.c index 569e846..555779b 100644 --- a/bfd/elf-attrs.c +++ b/bfd/elf-attrs.c @@ -353,7 +353,7 @@ _bfd_elf_copy_obj_attributes (bfd *ibfd, bfd *obfd) = &elf_known_obj_attributes (ibfd)[vendor][LEAST_KNOWN_OBJ_ATTRIBUTE]; out_attr = &elf_known_obj_attributes (obfd)[vendor][LEAST_KNOWN_OBJ_ATTRIBUTE]; - for (i = LEAST_KNOWN_OBJ_ATTRIBUTE; i < NUM_KNOWN_OBJ_ATTRIBUTES; i++) + for (i = LEAST_KNOWN_OBJ_ATTRIBUTE; i < NUM_KNOWN_OBJ_ATTRIBUTES - LEAST_KNOWN_OBJ_ATTRIBUTE; i++) { out_attr->type = in_attr->type; out_attr->i = in_attr->i; ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/13794] New: ELF flags on MIPS
http://sourceware.org/bugzilla/show_bug.cgi?id=13794 Bug #: 13794 Summary: ELF flags on MIPS Product: binutils Version: 2.12 Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassig...@sourceware.org ReportedBy: weijun.hu...@cs2c.com.cn Classification: Unclassified rpmbuild glibc(with MIPS patch) on MIPS, parameters: gcc -march=mips3 -mabi=32 g++ -march=mips3 -mabi=n32 after installed glibc, find ELF Flags is 0x20001107. Q: How 0x20001107 come from? According to march or mabi? -- 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 https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/12742] ld error "unrecognized option '-plugin'" on mingw and how to build with plugins enabled on mingw
http://sourceware.org/bugzilla/show_bug.cgi?id=12742 --- Comment #9 from Georg-Johann Lay 2012-03-01 21:29:25 UTC --- Tried again today and I can do a Canadian cross build and LTO works :-)) Configuration was Build = i686-pc-linux-gnu Host = i386-pc-mingw32 Target = avr-unknown-none With GCC 3.4.5 as linux -> mingw32 cross and GCC from trunk with 50616 fixed. Binutils were from trunk but some days/weeks old. There was no fake libdl or dlfcn-win32 in the build environment. The last problem I had was that the linker calls the plugin but failed to operate properly on it; presumably unloading the dll but I don't know enough of that stuff. Anyways, now it works and a small LTO compile finished without error and produced reasonable results and optimizations that only LTO can perform. Great! Hope I will find the time to bundle the snapshot build so that more people can test and experiment with it and report problems. -- 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 https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/12742] ld error "unrecognized option '-plugin'" on mingw and how to build with plugins enabled on mingw
http://sourceware.org/bugzilla/show_bug.cgi?id=12742 --- Comment #8 from Kai Tietz 2012-03-01 20:23:51 UTC --- (In reply to comment #7) > Ok, there is some PR magic. GCC PR number is 50616. This issue was fixed on gcc trunk. -- 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 https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/12152] Many 64-bit Solaris/SPARC gcc -gstabs testcases fail to link
http://sourceware.org/bugzilla/show_bug.cgi?id=12152 Rainer Orth changed: What|Removed |Added URL||http://sourceware.org/ml/bi ||nutils/2012-03/msg00012.htm ||l --- Comment #2 from Rainer Orth 2012-03-01 19:06:54 UTC --- Patch submitted. -- 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 https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/13789] ld-elf/zerosize1 failing on mips targets
http://sourceware.org/bugzilla/show_bug.cgi?id=13789 Hans-Peter Nilsson changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #2 from Hans-Peter Nilsson 2012-03-01 15:10:56 UTC --- Fixed for 2.23. -- 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 https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/13789] ld-elf/zerosize1 failing on mips targets
http://sourceware.org/bugzilla/show_bug.cgi?id=13789 --- Comment #1 from cvs-commit at gcc dot gnu.org 2012-03-01 08:24:16 UTC --- CVSROOT:/cvs/src Module name:src Changes by:h...@sourceware.org2012-03-01 08:24:10 Modified files: ld/testsuite : ChangeLog ld/testsuite/ld-elf: zerosize1.d Log message: PR ld/13789 * ld-elf/zerosize1.d: Allow xyzzy to be either OBJECT or NOTYPE. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1496&r2=1.1497 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/zerosize1.d.diff?cvsroot=src&r1=1.1&r2=1.2 -- 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 https://lists.gnu.org/mailman/listinfo/bug-binutils