Re: [PATCH] don't crash on overflow on hppa64

2011-07-27 Thread Joseph S. Myers
On Wed, 27 Jul 2011, Mikulas Patocka wrote: > @@ -3296,13 +3296,13 @@ elf_hppa_final_link_relocate (Elf_Intern > && value + addend + max_branch_offset >= 2*max_branch_offset) > { > (*_bfd_error_handler) > - (_("%B(%A+0x%lx): cannot reach %s"), > + (_

[PATCH] don't crash on overflow on hppa64

2011-07-27 Thread Mikulas Patocka
Hi This patch fixes crash that happens if we build too big linux kernel so that offsets overflow. There are several bugs in elf64-hppa.c: 1. offset is 64-bit, but 32-bit format "%lx" is used. This causes parameters mismatch 2. eh may be NULL. If it is NULL, I changed the code to print "unknown"

[Bug ld/13031] Building CodeBlocks on Windows using mingw gcc 4.6.1 "-flto -fuse-linker-plugin" results in many linker stage errors

2011-07-27 Thread xunxun1982 at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13031 --- Comment #1 from PcX 2011-07-27 17:28:18 UTC --- I found that if I add the option "-flto-partition=none", the problem will disappear. As is : - g++.exe -share

[Bug gas/13033] ARM Assembler Segfaults

2011-07-27 Thread matthew.r.maurer+SourcewareBugzilla at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13033 --- Comment #3 from Matthew Maurer 2011-07-27 16:56:47 UTC --- Thanks for the quick response. Sorry I didn't check against HEAD first. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this

[Bug gas/13036] New: cross compiling gas for arm fails using gcc-4.5.2 where 4.5.1 worked

2011-07-27 Thread bugzilla at prograde dot net
http://sourceware.org/bugzilla/show_bug.cgi?id=13036 Summary: cross compiling gas for arm fails using gcc-4.5.2 where 4.5.1 worked Product: binutils Version: 2.21 Status: NEW Severity: critical Priority: P2

[Bug gas/13033] ARM Assembler Segfaults

2011-07-27 Thread mikpe at it dot uu.se
http://sourceware.org/bugzilla/show_bug.cgi?id=13033 --- Comment #2 from Mikael Pettersson 2011-07-27 11:03:31 UTC --- The SEGV was fixed on trunk 2011-05-31 by Paul Brook's "Thumb branches to an absolute address" . Applying that patch to

[Bug gas/13033] ARM Assembler Segfaults

2011-07-27 Thread mikpe at it dot uu.se
http://sourceware.org/bugzilla/show_bug.cgi?id=13033 Mikael Pettersson changed: What|Removed |Added CC||mikpe at it dot uu.se --- Comment