1. 22 12月, 2008 2 次提交
  2. 31 10月, 2008 1 次提交
  3. 28 10月, 2008 1 次提交
    • P
      sh: Fix FPU tuning on toolchains with mismatched multilib targets. · 8a2fd5f3
      Paul Mundt 提交于
      Presently there is very little standing in the way of using an SH-4
      toolchain for building an SH-2 kernel, and vice versa. Binutils itself
      has no limitations whatsoever and supports explicit ISA hinting, which
      we already use with varying degrees of success today.
      
      This leaves GCC as the odd one out, due to a rather dubious policy
      decision by the GCC folks to not include all of the CPU family variants
      in the default list of multilib targets in GCC4. Despite best efforts to
      the contrary, libgcc itself already contains awareness of the various CPU
      types and remains generally usable, allowing it to safely be referenced
      even on a mismatched target (and indeed, explicit ISA tuning by binutils
      keeps us honest in terms of ensuring that we do not link incompatible
      objects in).
      
      In order to support this, a couple of changes had to be made. Firstly,
      the introduction of MAYBE_DECLARE_EXPORT(), which provides a __weak
      extern reference for libgcc resident routines when finer-grained
      -m<cpu-family> based tuning is not supported by the toolchain. This
      fixes up the __sdivsi3_i4i and __udivsi3_i4i references when dealing
      with SH-2 kernels linked with an SH-4 libgcc. Secondly, in case where we
      are unable to find a suitable match for CPU family tuning but still
      have a toolchain that defaults to FP instruction generation, a suitable
      nofpu target must be selected. This is accomplished by selecting the
      first nofpu multilib target supported by the toolchain, which is
      also necessary for selecting the proper libgcc to link against.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      8a2fd5f3
  4. 21 10月, 2008 1 次提交
  5. 21 9月, 2008 1 次提交
  6. 11 8月, 2008 1 次提交
  7. 08 5月, 2008 1 次提交
  8. 17 4月, 2008 1 次提交
  9. 16 4月, 2008 1 次提交
  10. 06 3月, 2008 2 次提交
    • A
      sh: export copy-page() to modules · ad0caae0
      Andrew Morton 提交于
      ERROR: "copy_page" [fs/unionfs/unionfs.ko] undefined!
      
      like all the other architectures.
      
      Cc: Erez Zadok <ezk@cs.sunysb.edu>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      ad0caae0
    • A
      sh_ksyms_32.c update for gcc 4.3 · 4bee4ca2
      Adrian Bunk 提交于
      This patch fixes the following build error with landisk_defconfig when
      using gcc 4.3:
      
      <--  snip  -->
      
      ...
        MODPOST 50 modules
      ERROR: "__udivsi3_i4i" [net/sunrpc/sunrpc.ko] undefined!
      ERROR: "__udivsi3_i4i" [net/appletalk/appletalk.ko] undefined!
      ERROR: "__udivsi3_i4i" [fs/ufs/ufs.ko] undefined!
      ERROR: "__udivsi3_i4i" [fs/ntfs/ntfs.ko] undefined!
      ERROR: "__sdivsi3_i4i" [fs/ntfs/ntfs.ko] undefined!
      ERROR: "__udivsi3_i4i" [fs/nfsd/nfsd.ko] undefined!
      ERROR: "__sdivsi3_i4i" [fs/nfsd/nfsd.ko] undefined!
      ERROR: "__udivsi3_i4i" [fs/nfs/nfs.ko] undefined!
      ERROR: "__udivsi3_i4i" [fs/lockd/lockd.ko] undefined!
      ERROR: "__udivsi3_i4i" [drivers/usb/storage/usb-storage.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/usb/serial/pl2303.ko] undefined!
      ERROR: "__udivsi3_i4i" [drivers/usb/serial/pl2303.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/usb/serial/ftdi_sio.ko] undefined!
      ERROR: "__udivsi3_i4i" [drivers/usb/misc/sisusbvga/sisusbvga.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/usb/misc/sisusbvga/sisusbvga.ko] undefined!
      ERROR: "__udivsi3_i4i" [drivers/media/video/v4l1-compat.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/media/video/v4l1-compat.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/media/video/usbvideo/vicam.ko] undefined!
      ERROR: "__udivsi3_i4i" [drivers/media/video/usbvideo/usbvideo.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/media/video/usbvideo/usbvideo.ko] undefined!
      ERROR: "__udivsi3_i4i" [drivers/media/video/sn9c102/sn9c102.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/media/video/sn9c102/sn9c102.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/media/video/se401.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/media/video/pwc/pwc.ko] undefined!
      ERROR: "__udivsi3_i4i" [drivers/md/raid0.ko] undefined!
      ERROR: "__udivsi3_i4i" [drivers/md/md-mod.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/md/md-mod.ko] undefined!
      ERROR: "__udivsi3_i4i" [drivers/md/linear.ko] undefined!
      ERROR: "__sdivsi3_i4i" [drivers/hid/usbhid/usbhid.ko] undefined!
      make[2]: *** [__modpost] Error 1
      
      <--  snip  -->
      Signed-off-by: NAdrian Bunk <adrian.bunk@movial.fi>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      4bee4ca2
  11. 28 1月, 2008 2 次提交
  12. 07 11月, 2007 1 次提交
  13. 24 9月, 2007 1 次提交
  14. 21 9月, 2007 3 次提交
  15. 20 7月, 2007 1 次提交
  16. 13 7月, 2007 1 次提交
    • P
      sh: Export div symbols for GCC 4.2 and ST GCC. · 2414b86d
      Paul Mundt 提交于
      GCC 4.2 can emit integer variants of the FP division routines, so
      these need to be exported in order to keep the modules happy.
      
      4.1.x versions of the ST compiler have these things backported,
      and so also generate these symbols (whereas vanilla gcc 4.1.x
      does not), so handle the __GNUC_STM_RELEASE__ case to accomodate
      updated versions of the 4.1.x toolchain.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      2414b86d
  17. 09 5月, 2007 2 次提交
  18. 07 5月, 2007 1 次提交
  19. 28 3月, 2007 1 次提交
  20. 13 2月, 2007 1 次提交
  21. 12 12月, 2006 1 次提交
  22. 08 12月, 2006 1 次提交
  23. 06 12月, 2006 1 次提交
  24. 03 12月, 2006 1 次提交
  25. 03 10月, 2006 1 次提交
  26. 27 9月, 2006 7 次提交
  27. 01 7月, 2006 1 次提交
  28. 11 4月, 2006 1 次提交