Previously our scripts handles these commands incorrectly. For example:
SECTIONS { .foo : { *(.foo.1) BYTE(0x11) ...
We accepted the script above treating BYTE as input section description. These commands are used in the wild though, eg:
https://searchcode.com/codesearch/view/42878166/
The BYTE, SHORT, LONG, and QUAD commands store one, two, four, and eight bytes (respectively). After storing the bytes, the location counter is incremented by the number of bytes
stored.
Patch implements them.