-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Parenthesis around output section VMA is not recorded during parsing. Consequentially, it is missing when the output section description is printed / dumped.
Reproducer:
#!/usr/bin/env bash
cat >script.t <<\EOF
SECTIONS {
.text (0x1000) : { *(.text*) }
}
EOF
cat >PluginConfig.yaml <<\EOF
GlobalPlugins:
- Type: LinkerPlugin
Name: BasicLinkerScriptGenerator
Library: BasicLinkerScriptGenerator
EOF
ld.eld -o a.eld.out -m elf64lriscv script.t --plugin-config PluginConfig.yaml \
-L${ELD_BUILD_ROOT}/lib/testOutput:
SECTIONS {
.text 0x1000 : {
*(.text*)
}
}Please note that 0x1000 is not enclosed in the output here.
Reactions are currently unavailable