[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 sho

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

2009-07-07 Thread yoshii dot takashi at renesas dot com
ormal Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: yoshii dot takashi at renesas dot com CC: bug-binutils at gnu dot org GCC target triplet: sh-*-* http://sourceware.org/bugzilla/show_bug.cgi?id=10373 --- Yo

[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 fou

[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

[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"

[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
nspecified Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: yoshii dot takashi at renesas dot com CC: bug-binutils at gnu dot org GCC build triplet: x86_64-pc-linux-gnu

[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
Version: unspecified Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: yoshii dot takashi at renesas dot com CC: bug-binutils at gnu dot org GCC

[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

[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 di