Skip to content
Snippets Groups Projects
  1. Jul 13, 2005
    • Fabio Massimo Di Nitto's avatar
      [PATCH] kbuild: modpost needs to cope with new glibc elf header on sparc · b95d4fec
      Fabio Massimo Di Nitto authored
      
      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: default avatarFabio M. Di Nitto <fabbione@fabbione.net>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      b95d4fec
  2. Jul 12, 2005
  3. Jul 11, 2005
  4. Jul 10, 2005
  5. Jul 09, 2005
Loading