mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
62c10d2dcb
only, as it payes no attention to the relocation table (which references the symbols). As a result, running "symorder -c" to clean up the visibility of a LKM ".o" file (as is done in the new bsd.kmod.mk) totally screws up the relocation table, making the LKM file unloadable. (ld: bogus relocation record) This is a pretty crude fix - I've changed symorder so that when running in "cleanup" mode, it disables the reordering which was screwing up the relocation table. I'm sure there is a better fix, but I didn't have the energy. Feel free to fix this hack, probably by renumbering the symbol indexes in the relocation table. |
||
---|---|---|
.. | ||
Makefile | ||
symorder.1 | ||
symorder.c |