-
- Downloads
"README.md" did not exist on "efadbf6820753a8d9427e879dd0fdabc87e66eed"
Add support for the ASCII directive inside linker scripts.
* ldlex.l: Add ASCII token. * ldgram.y: Add parsing of the ASCII command. * ldlang.c (lang_add_string): Add maximum size parameter. Move escape character handling code into separate function. * ldlang.h (lang_add_string): Update prototype. * NEWS: Mention the new feature. * ld.texi (Output Section Data): Document the new directives. * testsuite/ld-scripts/asciz.t: Adjust to work on more architectures and to test more aspects of the ASCIZ directive. * testsuite/ld-scripts/asciz.d: Adjust to match the changes to the test linker script. * testsuite/ld-scripts/ascii.d: New test driver. * testsuite/ld-scripts/ascii.s: New test assembler source. * testsuite/ld-scripts/ascii.t: New test script. * testsuite/ld-scripts/script.exp: Run the new test.
Showing
- ld/ChangeLog 19 additions, 0 deletionsld/ChangeLog
- ld/NEWS 7 additions, 1 deletionld/NEWS
- ld/ld.texi 40 additions, 13 deletionsld/ld.texi
- ld/ldgram.y 8 additions, 2 deletionsld/ldgram.y
- ld/ldlang.c 53 additions, 16 deletionsld/ldlang.c
- ld/ldlang.h 2 additions, 1 deletionld/ldlang.h
- ld/ldlex.l 1 addition, 0 deletionsld/ldlex.l
- ld/testsuite/ld-scripts/ascii.d 25 additions, 0 deletionsld/testsuite/ld-scripts/ascii.d
- ld/testsuite/ld-scripts/ascii.s 11 additions, 0 deletionsld/testsuite/ld-scripts/ascii.s
- ld/testsuite/ld-scripts/ascii.t 38 additions, 0 deletionsld/testsuite/ld-scripts/ascii.t
- ld/testsuite/ld-scripts/asciz.d 8 additions, 11 deletionsld/testsuite/ld-scripts/asciz.d
- ld/testsuite/ld-scripts/asciz.t 8 additions, 15 deletionsld/testsuite/ld-scripts/asciz.t
- ld/testsuite/ld-scripts/script.exp 1 addition, 0 deletionsld/testsuite/ld-scripts/script.exp
Loading
Please register or sign in to comment