'final link failed: Bad value' when building Linux/MIPS kernels.

2007-03-15 Thread Steven J. Hill
Greetings. I have been chasing down a binutils regression that is preventing me from building a Linux/MIPS kernel using a gcc-4.2 based toolchain. Here is the snippet of output when building a 2.6.12 kernel for my platform: LD drivers/mtd/maps/built-in.o LD drivers/mtd/nand/bu

Re: 'final link failed: Bad value' when building Linux/MIPS kernels.

2007-03-15 Thread H. J. Lu
On Thu, Mar 15, 2007 at 09:35:42PM -0500, Steven J. Hill wrote: > Greetings. > > I have been chasing down a binutils regression that is preventing me from > building a Linux/MIPS kernel using a gcc-4.2 based toolchain. Here is the > snippet of output when building a 2.6.12 kernel for my platform:

[Bug gas/4184] # 0 "" 2 doesn't handle assembler input buffer properly

2007-03-15 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2007-03-15 16:23 --- (In reply to comment #6) > http://sourceware.org/ml/binutils/2007-03/msg00149.html Fixed. -- What|Removed |Added ---

[Bug ld/4188] Different results in R_H8_PCREL8 relocations between direct binary output and objcopy

2007-03-15 Thread flameeyes at gmail dot com
--- Additional Comments From flameeyes at gmail dot com 2007-03-15 16:21 --- Created an attachment (id=1619) --> (http://sourceware.org/bugzilla/attachment.cgi?id=1619&action=view) Reduced testcase ASM sources -- http://sourceware.org/bugzilla/show_bug.cgi?id=4188 --- You are

[Bug ld/4188] New: Different results in R_H8_PCREL8 relocations between direct binary output and objcopy

2007-03-15 Thread flameeyes at gmail dot com
When building a reduced firmware image for h8300s architecture, the results of linking directly to a binary file with -oformat binary are wrong compared with the ones of linking to an elf file and then using objcopy to create a binary file. I'm attaching a reduced testcase (I'm not sure how muc