[Bug ld/10373] SH: ld relaxes jmp to bsr.

2009-07-07 Thread yoshii dot takashi at renesas dot com
--- Additional Comments From yoshii dot takashi at renesas dot com 2009-07-07 08:03 --- Created an attachment (id=4040) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4040&action=view) patch to fix Because gcc generates .uses(R_SH_USES) both for jmp and jsr, 1. Gcc should not ge

[Bug ld/10373] New: SH: ld relaxes jmp to bsr.

2009-07-07 Thread yoshii dot takashi at renesas dot com
ld relaxes jmp to bsr which should be bra. Apparently, it doesn't care about jmp, but just generate bsr for R_SH_USES. -- Summary: SH: ld relaxes jmp to bsr. Product: binutils Version: unspecified Status: NEW Severity: normal Priori

[Bug ld/10373] SH: ld relaxes jmp to bsr.

2009-07-07 Thread yoshii dot takashi at renesas dot com
--- Additional Comments From yoshii dot takashi at renesas dot com 2009-07-07 07:44 --- Created an attachment (id=4039) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4039&action=view) test program as -relax jmp.s -o jmp.o; ld -relax jmp.o; objdump -d a.out You will found "bsr"

[Bug ld/10372] SH: ld test with sim/sh/run fails always.

2009-07-07 Thread yoshii dot takashi at renesas dot com
--- Additional Comments From yoshii dot takashi at renesas dot com 2009-07-07 07:12 --- Created an attachment (id=4038) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4038&action=view) patch to fix There are two (1.initial stack value, 2.syscall trap No.) to be fixed. 1. sh-linu

[Bug ld/10373] SH: ld relaxes jmp to bsr.

2009-07-07 Thread yoshii dot takashi at renesas dot com
--- Additional Comments From yoshii dot takashi at renesas dot com 2009-07-07 08:25 --- Created an attachment (id=4041) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4041&action=view) testcase patch for ld This patch adds test for "jmp to bra relaxing" to ld's testcase. --

[Bug ld/10373] SH: ld relaxes jmp to bsr.

2009-07-07 Thread yoshii dot takashi at renesas dot com
-- What|Removed |Added Attachment #4039 is|1 |0 patch|| http://sourceware.org/bugzilla/show_bug.cgi?id=10373

[Bug ld/10372] New: SH: ld test with sim/sh/run fails always.

2009-07-07 Thread yoshii dot takashi at renesas dot com
ld/testsuite/ld-sh/sh.exp:"SH relaxing execution" uses simulator. But using sim/sh/run as a simulator, it fails always, regardless of real test results. -- Summary: SH: ld test with sim/sh/run fails always. Product: binutils Version: unspecified Status

[Bug binutils/10288] "objdump -D --target=binary -m arm7tdmi" shows non-ARM7TDMI instructions

2009-07-07 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-07-07 14:44 --- Created an attachment (id=4042) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4042&action=view) Catch unexpected STRB scaled addressing modes -- http://sourceware.org/bugzilla/show_bug.cgi?id=10288 -

[Bug binutils/10288] "objdump -D --target=binary -m arm7tdmi" shows non-ARM7TDMI instructions

2009-07-07 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-07-07 14:45 --- Hi Chris, I have uploaded another patch which should take care of the bogus STRB addressing modes. I will be checking it into the mainline sources shortly. Cheers Nick -- http://sourceware.org/bugzilla/

[Bug binutils/10288] "objdump -D --target=binary -m arm7tdmi" shows non-ARM7TDMI instructions

2009-07-07 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-07-07 14:46 --- Subject: Bug 10288 CVSROOT:/cvs/src Module name:src Changes by: ni...@sourceware.org2009-07-07 14:46:14 Modified files: opcodes: ChangeLog arm-dis.c Log message:

[Bug binutils/10288] "objdump -D --target=binary -m arm7tdmi" shows non-ARM7TDMI instructions

2009-07-07 Thread chris at seberino dot org
--- Additional Comments From chris at seberino dot org 2009-07-07 17:41 --- Nick, I'm very glad you are still sending patches on this. I very much appreciate it. We are almost done I was afraid this would happen. It seems for some reason often when we try to fix something unrela

[Bug gas/10374] New: Local/global symbol order in symbol table

2009-07-07 Thread Pierre dot Habraken at imag dot fr
mips-elf-as puts local symbol after global symbols in symbol table. ELF specification (TIS) states that all symbols with STB_LOCAL binding should precede global symbols. This rule is not enforced by mips-elf-as (compiled from binutils 2.19) : == bug trace ===

[Bug binutils/10376] New: configure: error: cannot compute sizeof (off_t), 77

2009-07-07 Thread booleandomain at gmail dot com
I'm trying to compile binutils-2.19.1 with gcc-4.4.0. It fails with the following error message: checking size of off_t... configure: error: in `/home/booleandomain/tmp/lfs/sources/binutils-build/bfd': configure: error: cannot compute sizeof (off_t), 77 See `config.log' for more details. make[1]:

[Bug binutils/10376] configure: error: cannot compute sizeof (off_t), 77

2009-07-07 Thread booleandomain at gmail dot com
--- Additional Comments From booleandomain at gmail dot com 2009-07-07 20:51 --- Created an attachment (id=4043) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4043&action=view) bfd/config.log -- http://sourceware.org/bugzilla/show_bug.cgi?id=10376 --- You are receiving

[Bug gold/10126] internal error in relocate_sections, at ../../gold/reloc.cc:737

2009-07-07 Thread llucax at gmail dot com
--- Additional Comments From llucax at gmail dot com 2009-07-07 23:26 --- I do confirm that this bug seems to be fixed in svn trunk as of 20090704. Thank you. -- What|Removed |Added

[Bug ld/10378] New: SH: jump table for switch/case got invalid adjustment during relaxing.

2009-07-07 Thread yoshii dot takashi at renesas dot com
R_SH_SWITCH8(.byte Label2-Label1) can be alterd if codes between two labels got shorter by relaxing. But currently the adjustment value seems to be bad. -- Summary: SH: jump table for switch/case got invalid adjustment during relaxing. Product: binutils

[Bug ld/10378] SH: jump table for switch/case got invalid adjustment during relaxing.

2009-07-07 Thread yoshii dot takashi at renesas dot com
--- Additional Comments From yoshii dot takashi at renesas dot com 2009-07-08 06:03 --- Created an attachment (id=4044) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4044&action=view) test program as -relax adjsw8.s -o adjsw8.o; ld -relax adjsw8.o; objdump -t; objdump -s and se

[Bug ld/10378] SH: jump table for switch/case got invalid adjustment during relaxing.

2009-07-07 Thread yoshii dot takashi at renesas dot com
--- Additional Comments From yoshii dot takashi at renesas dot com 2009-07-08 06:38 --- Created an attachment (id=4045) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4045&action=view) patch to fix I added small code to gas as bfd/elf-sh.c expects r_addend holds the different be