[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/10378] SH: jump table for switch/case got invalid adjustment dur
From: |
yoshii dot takashi at renesas dot com |
Subject: |
[Bug ld/10378] SH: jump table for switch/case got invalid adjustment during relaxing. |
Date: |
8 Jul 2009 06:38:46 -0000 |
------- 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
between reloc address and label1. I can't find any official documents(ELF-ps or
so), though.
Tested for target=sh4-unknown-linux-gnu host=build=x86_64-pc-linux-gnu with
$ make check-bfd check-gas check-ld RUNTESTFLAGS="--target_board=sh-sim
SIM=$PWD/sim/sh/run"
New test case and even old sh.exp:"SH relaxing execution" can detect this
issue.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10378
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.