Looks like a noop.
I don't see the symbol without stripping. Found with execsnoop.
Differential D38764
kernel: whack objcopy --strip-symbol gcc2_compiled mjg on Feb 24 2023, 7:57 PM. Authored by Tags None Referenced Files
Subscribers
Details
I don't see the symbol without stripping. Found with execsnoop.
Diff Detail
Event TimelineComment Actions This practice dates back a long way, with only small tweaks since Bruce's original commit: commit b5d89ca8ade3a416cb6e760fbfc742de9878fd7b Author: Bruce Evans <bde@FreeBSD.org> Date: Wed Jan 25 21:40:47 1995 +0000 Load the kernel symbol table in the boot loader and not at compile time. ... Makefile.i386: Nuke use of dbsym. Exclude gcc symbols from kernel unless compiling with -g. Remove unused macro. Fix comments and formatting. ... and seems to have been done to reduce the size of the kernel and the number of symbols we'd need to load in the boot loader. If you are open to it, I'd suggest the following commit message, but this is a good change regardless of commit message. kernel: Stop filtering gcc2_compiled symbols We've not needed to filter these for a long time. No modern compiler generates them.
Comment Actions feel free to commit yourself, i don't need to be mentioned, just want this gone to that end also comandeer and/or close the revision |