Fix FILL linker script command.
FILL command doesn't need a semicolon. Fixes https://bugs.llvm.org/show_bug.cgi?id=32657 llvm-svn: 300280
This commit is contained in:
@@ -559,7 +559,6 @@ uint32_t ScriptParser::readFill() {
|
|||||||
expect("(");
|
expect("(");
|
||||||
uint32_t V = readOutputSectionFiller(next());
|
uint32_t V = readOutputSectionFiller(next());
|
||||||
expect(")");
|
expect(")");
|
||||||
expect(";");
|
|
||||||
return V;
|
return V;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
|
||||||
# RUN: echo "SECTIONS { \
|
# RUN: echo "SECTIONS { \
|
||||||
# RUN: .out : { \
|
# RUN: .out : { \
|
||||||
# RUN: FILL(0x11111111); \
|
# RUN: FILL(0x11111111) \
|
||||||
# RUN: . += 2; \
|
# RUN: . += 2; \
|
||||||
# RUN: *(.aaa) \
|
# RUN: *(.aaa) \
|
||||||
# RUN: . += 4; \
|
# RUN: . += 4; \
|
||||||
|
|||||||
Reference in New Issue
Block a user