[Bug ld/17900] New: INCLUDE fails if exclamation mark is not followed by a space

2015-01-28 Thread 1500 at engineer dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17900

Bug ID: 17900
   Summary: INCLUDE fails if exclamation mark is not followed by a
space
   Product: binutils
   Version: 2.24
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
  Assignee: unassigned at sourceware dot org
  Reporter: 1500 at engineer dot com

See
http://stackoverflow.com/questions/19252128/how-to-use-the-include-command-in-ld-linker-script?answertab=active#tab-top


If a linker script that is INCLUDEd contains a MEMORY region:

MEMORY
{
  rom (rx) : ORIGIN = 0x, LENGTH = 64M
  ram (!rx) : ORIGIN = 0x4800, LENGTH = 32M
}

parsing will fail. Adding a space after the exclamation mark fixes the issue:

MEMORY
{
  rom (rx) : ORIGIN = 0x, LENGTH = 64M
  ram (! rx) : ORIGIN = 0x4800, LENGTH = 32M
}

This extra space is not required when the contents are not INCLUDEd but just
pasted together in one text file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/17900] INCLUDE fails if exclamation mark is not followed by a space

2015-01-28 Thread 1500 at engineer dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17900

1500 at engineer dot com changed:

   What|Removed |Added

URL||http://stackoverflow.com/qu
   ||estions/19252128/how-to-use
   ||-the-include-command-in-ld-
   ||linker-script?answertab=act
   ||ive#tab-top
 CC||1500 at engineer dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils