Revision | c0ffaa1e8740dadba1d27fd99c007aac04485430 (tree) |
---|---|
Time | 2022-12-08 12:30:07 |
Author | Yoshinori Sato <ysato@user...> |
Commiter | Yoshinori Sato |
WIP: gas rx fdpic
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
@@ -2218,16 +2218,10 @@ md_convert_frag (bfd * abfd ATTRIBUTE_UNUSED, | ||
2218 | 2218 | break; |
2219 | 2219 | case BFD_RELOC_32_GOTOFF: |
2220 | 2220 | case BFD_RELOC_RX_GOTPC: |
2221 | - reloc_type = rxb->fixups[fi].exp.X_md; | |
2222 | - break; | |
2223 | 2221 | case BFD_RELOC_RX_GOTFUNCDESC: |
2224 | - reloc_type = BFD_RELOC_RX_GOTFUNCDESC; | |
2225 | - break; | |
2226 | 2222 | case BFD_RELOC_RX_GOTOFFFUNCDESC: |
2227 | - reloc_type = BFD_RELOC_RX_GOTOFFFUNCDESC; | |
2228 | - break; | |
2229 | 2223 | case BFD_RELOC_RX_FUNCDESC: |
2230 | - reloc_type = BFD_RELOC_RX_FUNCDESC; | |
2224 | + reloc_type = rxb->fixups[fi].exp.X_md; | |
2231 | 2225 | break; |
2232 | 2226 | } |
2233 | 2227 | } |
@@ -2284,6 +2278,9 @@ md_convert_frag (bfd * abfd ATTRIBUTE_UNUSED, | ||
2284 | 2278 | break; |
2285 | 2279 | case BFD_RELOC_32_GOTOFF: |
2286 | 2280 | case BFD_RELOC_RX_GOTPC: |
2281 | + case BFD_RELOC_RX_GOTFUNCDESC: | |
2282 | + case BFD_RELOC_RX_GOTOFFFUNCDESC: | |
2283 | + case BFD_RELOC_RX_FUNCDESC: | |
2287 | 2284 | reloc_type = rxb->fixups[fi].exp.X_md; |
2288 | 2285 | break; |
2289 | 2286 | } |