diff options
author | Nick Clifton <nickc@redhat.com> | 2008-09-29 14:21:33 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2008-09-29 14:21:33 +0000 |
commit | 810cb31fbb8847360ac510af84057239f13de848 (patch) | |
tree | d0ef86c331fded365a6338c59863154a84fd7f39 /gas | |
parent | 87b8784d581443ffc20bc5047ddc7b5cf10a99c3 (diff) | |
download | gdb-810cb31fbb8847360ac510af84057239f13de848.zip gdb-810cb31fbb8847360ac510af84057239f13de848.tar.gz gdb-810cb31fbb8847360ac510af84057239f13de848.tar.bz2 |
PR 6878
* app.c (do_scrub_chars): Only issue warnings about tick
characters detected in symbol strings if hex ticks are supported.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/app.c | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 09d6548..af79d31 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,11 @@ 2008-09-29 Nick Clifton <nickc@redhat.com> + PR 6878 + * app.c (do_scrub_chars): Only issue warnings about tick + characters detected in symbol strings if hex ticks are supported. + +2008-09-29 Nick Clifton <nickc@redhat.com> + * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of tc_cfi_emit_pcrel_expr macro. @@ -1024,7 +1024,8 @@ do_scrub_chars (int (*get) (char *, int), char *tostart, int tolen) #ifndef IEEE_STYLE case LEX_IS_ONECHAR_QUOTE: - if (state == 9) +#ifdef H_TICK_HEX + if (state == 9 && enable_h_tick_hex) { char c; @@ -1032,6 +1033,7 @@ do_scrub_chars (int (*get) (char *, int), char *tostart, int tolen) as_warn ("'%c found after symbol", c); UNGET (c); } +#endif if (state == 10) { /* Preserve the whitespace in foo 'b'. */ |