summaryrefslogtreecommitdiff
path: root/libpsx/src
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2020-11-07 15:43:30 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2020-11-07 16:02:54 +0100
commit89b059cace59a2c6dd8d4920b02cac75053a37db (patch)
treed380bd51c6e3b60402c5d15211c1f194839b1e16 /libpsx/src
parentad890e56b63225aaa601ddacf7cb21cab18e233e (diff)
downloadpsxsdk-89b059cace59a2c6dd8d4920b02cac75053a37db.tar.gz
Allocate .sbss and .common into .bss
GNU ld fragments .bss into .sbss and .common (see man nm(1) for further reference). However, the linker script used by PSXSDK did not determine where to put such sections, causing some statically allocated objects to be placed **after** __bss_end, leading to undefined behaviour.
Diffstat (limited to 'libpsx/src')
0 files changed, 0 insertions, 0 deletions