android_kernel_xiaomi_sm8350/scripts
Fabio Massimo Di Nitto b95d4fec89 [PATCH] kbuild: modpost needs to cope with new glibc elf header on sparc
Recently a change in the glibc elf.h header has been introduced causing
modpost to spawn tons of warnings (like the one below) building the kernel
on sparc:

[SNIP]
*** Warning: "current_thread_info_reg" [net/sunrpc/auth_gss/auth_rpcgss.ko] undefined!
*** Warning: "" [net/sunrpc/auth_gss/auth_rpcgss.ko] undefined!
*** Warning: "" [net/sunrpc/auth_gss/auth_rpcgss.ko] undefined!
[SNIP]

Ben Collins discovered that the STT_REGISTERED definition in glibc did change
and that this change needs to be propagated to modpost.

glibc change:
-#define STT_REGISTER   13              /* Global register reserved to app. */
+#define STT_SPARC_REGISTER     13      /* Global register reserved to app. */

I did and tested this simple patch to maintain compatibility with newer (>= 2.3.4)
and older (<= 2.3.2) glibc.

Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2005-07-13 17:05:32 +00:00
..
basic [PATCH] Kill signed chars 2005-06-25 16:25:07 -07:00
genksyms
kconfig [PATCH] Kill signed chars 2005-06-25 16:25:07 -07:00
ksymoops
lxdialog
mod [PATCH] kbuild: modpost needs to cope with new glibc elf header on sparc 2005-07-13 17:05:32 +00:00
package [PATCH] kbuild: create tarballs 2005-07-12 22:40:17 +00:00
bin2c.c
binoffset.c
checkconfig.pl
checkincludes.pl
checkstack.pl
checkversion.pl
conmakehash.c
extract-ikconfig
gcc-version.sh
gen_initramfs_list.sh
kallsyms.c
kernel-doc
Lindent
Makefile
Makefile.build
Makefile.clean
Makefile.host
Makefile.lib
Makefile.modinst
Makefile.modpost
makelst
mkcompile_h
mkmakefile
mksysmap
mkuboot.sh
mkversion
namespace.pl
patch-kernel
pnmtologo.c
reference_discarded.pl
reference_init.pl
show_delta
ver_linux