Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: riastradh
Date: Thu Nov 21 18:16:15 UTC 2024
Modified Files:
src/lib/libm: m.aarch64.expsym m.alpha.expsym m.common.expsym
m.hppa.expsym m.i386.expsym m.ia64.expsym m.m68k.expsym
m.mips.expsym m.mips64.expsym m.mipshf.expsym m.powerpc.expsym
m.powerpc64.expsym m.sh3.expsym m.sparc.expsym m.sparc64.expsym
m.vax.expsym m.x86_64.expsym
src/share/mk: bsd.lib.mk
Log Message:
bsd.lib.mk: Exclude MD linker-generated crud from expected symbols.
Not entirely sure why these symbols like _init/_fini/_end on x86 or
__bss_start__/__bss_end__ on aarch64 or _GLOBAL_OFFSET_TABLE_ on hppa
are exported at all, but it's something the linker is doing
automatically -- and unnecessarily, since libraries with explicit
version scripts don't export these -- and I'm not sure there's any way
to suppress it.
This way, most *.expsym lists can be machine-independent, which will
help keep maintenance burden much lower.
Currently we have only one *.expsym file for a library that _doesn't_
use a version script, libm -- fix that up to reduce the crud. (That
one already happens to have a lot of machine-dependent exports
because of differences in floating-point ABIs so the linker-generated
MD symbol crud wasn't much more of a maintenance burden in this case,
but this maintenance burden is why I haven't aggressively gone around
creating *.expsym files for other libraries.)
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libm/m.aarch64.expsym \
src/lib/libm/m.i386.expsym src/lib/libm/m.sparc64.expsym \
src/lib/libm/m.x86_64.expsym
cvs rdiff -u -r1.4 -r1.5 src/lib/libm/m.alpha.expsym \
src/lib/libm/m.hppa.expsym src/lib/libm/m.ia64.expsym \
src/lib/libm/m.powerpc.expsym src/lib/libm/m.sparc.expsym
cvs rdiff -u -r1.2 -r1.3 src/lib/libm/m.common.expsym
cvs rdiff -u -r1.6 -r1.7 src/lib/libm/m.m68k.expsym \
src/lib/libm/m.mips.expsym
cvs rdiff -u -r1.3 -r1.4 src/lib/libm/m.mips64.expsym \
src/lib/libm/m.mipshf.expsym src/lib/libm/m.powerpc64.expsym \
src/lib/libm/m.sh3.expsym
cvs rdiff -u -r1.7 -r1.8 src/lib/libm/m.vax.expsym
cvs rdiff -u -r1.411 -r1.412 src/share/mk/bsd.lib.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index