2024-12
When Toshiba Media Processor (mep) was upstreamed to binutils-gdb in
2007-01 (https://sourceware.org/pipermail/binutils/2007-January/),
binutils got the complex relocations support. While the gas
STT_RELC
feature is only enabled for Toshiba Media
Processor, the ld support is available for all targets. Therefore, an
EM_386
object file can use STT_RELC
symbols.
In 2012, Ian Lance Taylor said
ELF is designed to permit fast program loading at runtime, and to permit fast linking. Changing symbol and relocation values to take general expressions works against that goal.