[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/17900] New: INCLUDE fails if exclamation mark is not followed by
From: |
1500 at engineer dot com |
Subject: |
[Bug ld/17900] New: INCLUDE fails if exclamation mark is not followed by a space |
Date: |
Thu, 29 Jan 2015 06:39:40 +0000 |
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 = 0x00000000, LENGTH = 64M
ram (!rx) : ORIGIN = 0x48000000, LENGTH = 32M
}
parsing will fail. Adding a space after the exclamation mark fixes the issue:
MEMORY
{
rom (rx) : ORIGIN = 0x00000000, LENGTH = 64M
ram (! rx) : ORIGIN = 0x48000000, 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 ld/17900] New: INCLUDE fails if exclamation mark is not followed by a space,
1500 at engineer dot com <=