Skip to content

Commit c0a139c

Browse files
committed
PR 6878
* app.c (do_scrub_chars): Only issue warnings about tick characters detected in symbol strings if hex ticks are supported.
1 parent ceae84a commit c0a139c

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

gas/ChangeLog

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
2008-09-29 Nick Clifton <[email protected]>
2+
3+
PR 6878
4+
* app.c (do_scrub_chars): Only issue warnings about tick
5+
characters detected in symbol strings if hex ticks are supported.
6+
7+
2008-09-29 Nick Clifton <[email protected]>
8+
9+
* dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
10+
tc_cfi_emit_pcrel_expr macro.
11+
112
2008-09-28 Daniel Jacobowitz <[email protected]>
213

314
* NEWS: Mention .cfi_val_encoded_addr.

gas/app.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -1024,14 +1024,16 @@ do_scrub_chars (int (*get) (char *, int), char *tostart, int tolen)
10241024

10251025
#ifndef IEEE_STYLE
10261026
case LEX_IS_ONECHAR_QUOTE:
1027-
if (state == 9)
1027+
#ifdef H_TICK_HEX
1028+
if (state == 9 && enable_h_tick_hex)
10281029
{
10291030
char c;
10301031

10311032
c = GET ();
10321033
as_warn ("'%c found after symbol", c);
10331034
UNGET (c);
10341035
}
1036+
#endif
10351037
if (state == 10)
10361038
{
10371039
/* Preserve the whitespace in foo 'b'. */

0 commit comments

Comments
 (0)