diff options
author | Fabio Massimo Di Nitto <fabbione@fabbione.net> | 2005-07-13 08:25:49 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@mars.(none)> | 2005-07-13 17:05:32 +0000 |
commit | b95d4fec89c1f503ebad4c704ac08c3c6761329b (patch) | |
tree | 480fc54b0cbbe95ba34b87ae9bf1801d85a5164c /scripts/package | |
parent | 6d983feab80948cdd0e3920c40d453a6436eeb23 (diff) | |
download | op-kernel-dev-b95d4fec89c1f503ebad4c704ac08c3c6761329b.zip op-kernel-dev-b95d4fec89c1f503ebad4c704ac08c3c6761329b.tar.gz |
[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>
Diffstat (limited to 'scripts/package')
0 files changed, 0 insertions, 0 deletions