[PATCH v2 0/7] ASCII output section command

binutils@emagii.com binutils@emagii.com
Fri Jul 5 16:22:41 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.

Note: Will be merged into fewer patches after acceptance in final version

[PATCH v2 1/7] ldlex.l: Add ASCII token
[PATCH v2 2/7] ldgram.y: Add ASCII parsing
[PATCH v2 3/7] ldlang.*: process ASCII command
[PATCH v2 4/7] ld.texi: Add ASCII to info file
[PATCH v2 5/7] Add testsuite for ASCII command
[PATCH v2 6/7] NEWS: Add ASCII command
[PATCH v2 7/7] ChangeLog: Add ASCII command



More information about the Binutils mailing list