diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2012-01-08 12:33:54 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2012-01-08 12:33:54 +0000 |
commit | de64cffdf8df81f522d582d6a596803b351168df (patch) | |
tree | 1e7e41b690c31efcf0484e746d3e8148d7a591b8 /gas/config/tc-mips.c | |
parent | 462427c4188dd69b535b4e5c4e058820bbb736d0 (diff) | |
download | gdb-de64cffdf8df81f522d582d6a596803b351168df.zip gdb-de64cffdf8df81f522d582d6a596803b351168df.tar.gz gdb-de64cffdf8df81f522d582d6a596803b351168df.tar.bz2 |
gas/
* config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
gas/testsuite/
* gas/mips/tls-relw.s, gas/mips/tls-relw.d: New test.
* gas/mips/mips.exp: Run it.
Diffstat (limited to 'gas/config/tc-mips.c')
-rw-r--r-- | gas/config/tc-mips.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 842d890..f23835a 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -16630,6 +16630,7 @@ s_tls_rel_directive (const size_t bytes, const char *dirstr, md_number_to_chars (p, 0, bytes); fix_new_exp (frag_now, p - frag_now->fr_literal, bytes, &ex, FALSE, rtype); demand_empty_rest_of_line (); + mips_clear_insn_labels (); } /* Handle .dtprelword. */ |