[PATCH v5 0/1] ASCII output section command

binutils@emagii.com binutils@emagii.com
Sat Jul 13 11:17:16 GMT 2024


Implement the ASCII command for output sections

Introduce a command which adds a fixed size string.

   ASCII <size>  ',' <string>

Size specified in command.
If the string is shorter than the allocated area, it is zero filled
If the string is longer than the allocated area, it is truncated
and a NUL character is added at the end.

Corrected ld.texi to use new syntax in index
Use hyphen instead of double quote in index, also for ASCIZ
More examples on misformed ASCII commands
Fix off-by-one error in lang_add_string
Fix whitespace error in ldgram.y and testsuite

Previous patchset of seven patches merged into a single patch

[PATCH v5 1/1] ld: Implement the ASCII command for output sections



More information about the Binutils mailing list