|
| From: | Hugo Villeneuve |
| Subject: | [avr-gcc-list] Strings constant limitation? |
| Date: | Wed, 01 Jun 2005 12:48:59 -0400 |
| User-agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
Hi,Using avr-gcc 3.4.3 (win32), I defined string constants in my C program, but checking the generated LST file, it seems that if a string is 20 characters or more, it gets truncated:
518 0000 696E 6974 .string "initEthernet()\n"
518 4574 6865
518 726E 6574
518 2829 0A00
519 .LC1:
520 0010 7465 7374 .string "test11111111111111\n"
520 3131 3131
520 3131 3131
520 3131 3131
520 3131 0A00
521 .LC2:
522 0024 7465 7374 .string "test1111111111111111\n"
522 3131 3131
522 3131 3131
522 3131 3131
522 3131 3131
523 .LC3:
524 003a 6162 6364 .string "abcdefghijklmnopqrstuvwxyz\n"
524 6566 6768
524 696A 6B6C
524 6D6E 6F70
524 7172 7374
Hugo.
| [Prev in Thread] | Current Thread | [Next in Thread] |