mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-09 03:10:27 +00:00
Update SHSTUB2 docstring to reflect changes
This commit is contained in:
parent
1f10bff58e
commit
43a2ecd947
1 changed files with 6 additions and 3 deletions
|
@ -221,9 +221,12 @@
|
||||||
/**
|
/**
|
||||||
* Binary coded decimal support.
|
* Binary coded decimal support.
|
||||||
*
|
*
|
||||||
* <p>This allows linker scripts to generate dd commands. Leading spaces
|
* <p>This allows linker scripts to generate dd commands, e.g. ape.lds.
|
||||||
* need to be inserted so Mac doesn't consider them octal; therefore,
|
* There are a few ways to pad each number to the necessary 8 bytes.
|
||||||
* parameters must be quoted; and eight digits should be good enough.
|
* Spaces cannot be prepended because busybox refuses to parse them.
|
||||||
|
* Zeros cannot be prepended because Mac will take numbers as octal.
|
||||||
|
* That leaves appending spaces. The user's shell ought to treat any
|
||||||
|
* unquoted run of spaces as if there was only one, so this is safe.
|
||||||
*/
|
*/
|
||||||
#define SHSTUB2(SYM, X) \
|
#define SHSTUB2(SYM, X) \
|
||||||
HIDDEN(SYM##_bcs0 = BCD_LEFT(X)); \
|
HIDDEN(SYM##_bcs0 = BCD_LEFT(X)); \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue