Mercurial > hg > aboriginal
annotate sources/patches/binutils-shpcrel.patch @ 1823:1d233a893085 draft
Switch sh4 to musl.
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 01 Dec 2015 20:50:53 -0600 |
parents | |
children |
rev | line source |
---|---|
1823 | 1 Teach gas to understand a thing musl's assembly uses. |
2 | |
3 --- binutils-397a64b3.orig//gas/config/tc-sh.c 2015-08-11 01:29:26.000000000 +0000 | |
4 +++ binutils-397a64b3/gas/config/tc-sh.c 2015-11-02 23:17:03.931462591 +0000 | |
5 @@ -4491,6 +4496,8 @@ sh_parse_name (char const *name, | |
6 reloc_type = BFD_RELOC_SH_TLS_LE_32; | |
7 else if ((next_end = sh_end_of_match (next + 1, "DTPOFF"))) | |
8 reloc_type = BFD_RELOC_SH_TLS_LDO_32; | |
9 + else if ((next_end = sh_end_of_match (next + 1, "PCREL"))) | |
10 + reloc_type = BFD_RELOC_32_PCREL; | |
11 else | |
12 goto no_suffix; | |
13 |