aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/2.18.50.0.9/PR6878.01.patch
blob: 498ef300b374d7bde84c39d0bc5632bc0cf0d500 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Index: a/gas/app.c
===================================================================
RCS file: /cvs/src/src/gas/app.c,v
retrieving revision 1.47
diff -c -3 -p -r1.47 app.c
*** a/gas/app.c	18 Jul 2008 22:25:07 -0000	1.47
--- b/gas/app.c	18 Sep 2008 07:50:44 -0000
*************** do_scrub_chars (int (*get) (char *, int)
*** 1024,1030 ****
  
  #ifndef IEEE_STYLE
  	case LEX_IS_ONECHAR_QUOTE:
! 	  if (state == 9)
  	    {
  	      char c;
  
--- 1024,1031 ----
  
  #ifndef IEEE_STYLE
  	case LEX_IS_ONECHAR_QUOTE:
! #ifdef H_TICK_HEX
! 	  if (state == 9 && enable_h_tick_hex)
  	    {
  	      char c;
  
*************** do_scrub_chars (int (*get) (char *, int)
*** 1032,1037 ****
--- 1033,1039 ----
  	      as_warn ("'%c found after symbol", c);
  	      UNGET (c);
  	    }
+ #endif
  	  if (state == 10)
  	    {
  	      /* Preserve the whitespace in foo 'b'.  */
Index: gas/messages.c
===================================================================
RCS file: /cvs/src/src/gas/messages.c,v
retrieving revision 1.21
diff -c -3 -p -r1.21 messages.c
*** a/gas/messages.c	30 Jul 2008 04:34:57 -0000	1.21
--- b/gas/messages.c	18 Sep 2008 07:50:44 -0000
*************** as_warn_internal (char *file, unsigned i
*** 162,171 ****
  
    identify (file);
    if (file)
!     fprintf (stderr, "%s:%u: ", file, line);
!   fprintf (stderr, _("Warning: "));
!   fputs (buffer, stderr);
!   (void) putc ('\n', stderr);
  #ifndef NO_LISTING
    listing_warning (buffer);
  #endif
--- 162,174 ----
  
    identify (file);
    if (file)
!     {
!       fprintf (stderr, "%s:", file);
!       if (line)
! 	fprintf (stderr, "%u:", line);
!       fputc (' ', stderr);
!     }
!   fprintf (stderr, _("Warning: %s\n"), buffer);
  #ifndef NO_LISTING
    listing_warning (buffer);
  #endif