Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/i386/sysv4.h @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | f6334be47118 |
comparison
equal
deleted
inserted
replaced
52:c156f1bd5cd9 | 55:77e2b8dfacca |
---|---|
53 const unsigned char *_ascii_bytes = \ | 53 const unsigned char *_ascii_bytes = \ |
54 (const unsigned char *) (STR); \ | 54 (const unsigned char *) (STR); \ |
55 const unsigned char *limit = _ascii_bytes + (LENGTH); \ | 55 const unsigned char *limit = _ascii_bytes + (LENGTH); \ |
56 unsigned bytes_in_chunk = 0; \ | 56 unsigned bytes_in_chunk = 0; \ |
57 for (; _ascii_bytes < limit; _ascii_bytes++) \ | 57 for (; _ascii_bytes < limit; _ascii_bytes++) \ |
58 { \ | 58 { \ |
59 const unsigned char *p; \ | 59 const unsigned char *p; \ |
60 if (bytes_in_chunk >= 64) \ | 60 if (bytes_in_chunk >= 64) \ |
61 { \ | 61 { \ |
62 fputc ('\n', (FILE)); \ | 62 fputc ('\n', (FILE)); \ |
63 bytes_in_chunk = 0; \ | 63 bytes_in_chunk = 0; \ |
75 _ascii_bytes = p; \ | 75 _ascii_bytes = p; \ |
76 } \ | 76 } \ |
77 else \ | 77 else \ |
78 { \ | 78 { \ |
79 if (bytes_in_chunk == 0) \ | 79 if (bytes_in_chunk == 0) \ |
80 fprintf ((FILE), "\t.byte\t"); \ | 80 fputs (ASM_BYTE, (FILE)); \ |
81 else \ | 81 else \ |
82 fputc (',', (FILE)); \ | 82 fputc (',', (FILE)); \ |
83 fprintf ((FILE), "0x%02x", *_ascii_bytes); \ | 83 fprintf ((FILE), "0x%02x", *_ascii_bytes); \ |
84 bytes_in_chunk += 5; \ | 84 bytes_in_chunk += 5; \ |
85 } \ | 85 } \ |
86 } \ | 86 } \ |
87 if (bytes_in_chunk > 0) \ | 87 if (bytes_in_chunk > 0) \ |
88 fprintf ((FILE), "\n"); \ | 88 fputc ('\n', (FILE)); \ |
89 } \ | 89 } \ |
90 while (0) | 90 while (0) |
91 | 91 |
92 /* A C statement (sans semicolon) to output to the stdio stream | 92 /* A C statement (sans semicolon) to output to the stdio stream |
93 FILE the assembler definition of uninitialized global DECL named | 93 FILE the assembler definition of uninitialized global DECL named |
101 indirect are handled automatically. */ | 101 indirect are handled automatically. */ |
102 #define ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX(FILE, ENCODING, SIZE, ADDR, DONE) \ | 102 #define ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX(FILE, ENCODING, SIZE, ADDR, DONE) \ |
103 do { \ | 103 do { \ |
104 if ((SIZE) == 4 && ((ENCODING) & 0x70) == DW_EH_PE_datarel) \ | 104 if ((SIZE) == 4 && ((ENCODING) & 0x70) == DW_EH_PE_datarel) \ |
105 { \ | 105 { \ |
106 fputs (ASM_LONG, FILE); \ | 106 fputs (ASM_LONG, (FILE)); \ |
107 assemble_name (FILE, XSTR (ADDR, 0)); \ | 107 assemble_name (FILE, XSTR (ADDR, 0)); \ |
108 fputs (((ENCODING) & DW_EH_PE_indirect ? "@GOT" : "@GOTOFF"), FILE); \ | 108 fputs (((ENCODING) & DW_EH_PE_indirect ? "@GOT" : "@GOTOFF"), (FILE)); \ |
109 goto DONE; \ | 109 goto DONE; \ |
110 } \ | 110 } \ |
111 } while (0) | 111 } while (0) |
112 | 112 |
113 /* Used by crtstuff.c to initialize the base of data-relative relocations. | 113 /* Used by crtstuff.c to initialize the base of data-relative relocations. |
114 These are GOT relative on x86, so return the pic register. */ | 114 These are GOT relative on x86, so return the pic register. */ |