File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1040,11 +1040,11 @@ OutputDesc *ScriptParser::readOutputSectionDescription(StringRef outSec) {
1040
1040
}
1041
1041
1042
1042
if (consume (" >" ))
1043
- osec->memoryRegionName = std::string (next ());
1043
+ osec->memoryRegionName = std::string (readName ());
1044
1044
1045
1045
if (consume (" AT" )) {
1046
1046
expect (" >" );
1047
- osec->lmaRegionName = std::string (next ());
1047
+ osec->lmaRegionName = std::string (readName ());
1048
1048
}
1049
1049
1050
1050
if (osec->lmaExpr && !osec->lmaRegionName .empty ())
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ SECTIONS {
19
19
.foo2 : { *(.foo2) } > AX
20
20
21
21
.bar1 : { *(.bar1) } > AW
22
- .bar2 : { *(.bar2) } > AW AT > RAM
22
+ .bar2 : { *(.bar2) } > "AW" AT > " RAM"
23
23
.bar3 . : { *(.bar3) } > AW
24
24
.bar4 : { *(.bar4) } > AW AT >RAM
25
25
}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ MEMORY {
13
13
SECTIONS {
14
14
.foo1 : { *(.foo1) } > FOO AT>FLASH
15
15
.foo2 : { *(.foo2) BYTE(0x42) } > BAR AT>FLASH
16
- .foo3 : { *(.foo3) } > ZED AT>FLASH
16
+ .foo3 : { *(.foo3) } >" ZED" AT>" FLASH"
17
17
}
18
18
19
19
# CHECK: .foo1 PROGBITS 0000000000001000 001000
You can’t perform that action at this time.
0 commit comments