|
Description
|
A forthcoming update to gcc in SFW will offer the following new flags:
-mno-integer-ldd-std (SPARC only)
-fno-constant-pools
-fno-jump-tables
-fno-dwarf2-indirect-strings
cw should map -Wu,-no_got_reloc to -fno-constant-pools -fno-jump-tables
on x86, and both flags should be added to the sparc krtld Makefile. These
prevent the use of constructs which would trigger a need for GOT relocations
in krtld.
DWARF2 indirect string suppression should be enabled as a part of CTF_CFLAGS.
Without this option, CTF data may be generated incorrectly because libdwarf
does not interpret relocations when reading debug data.
cw should unconditionally use -mno-integer-ldd-std on SPARC to avoid
tripping over buggy code that assumes 4-byte alignment is sufficient
for long long types.
|