1. 05 12月, 2009 11 次提交
  2. 03 12月, 2009 3 次提交
    • J
      crc32: Impl. linux optimized crc32() · 3ee8c120
      Joakim Tjernlund 提交于
      Ported over the more efficient linux crc32() function.
      A quick comparsion on ppc:
      After changing the old crc32 to do 4 bytes in the
      inner loop to be able to compare with new version one can note:
      - old inner loop has 61 insn, new has 19 insn.
      - new crc32 does one 32 bit load of data to crc while
        the old does four 8 bits loads.
      - size is bit bigger for the new crc32:
        1392(old) 1416(new) of text. The is because the new version
        shares code with crc32_no_comp() instead of duplicating code.
      - about 33% faster on ppc:
        New > crc 0 0xfffffff -> 39 secs
        Old > crc 0 0xfffffff -> 60 secs
      Signed-off-by: NJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
      3ee8c120
    • S
      makefiles: fixes for building build tools · d984fed0
      Scott Wood 提交于
      Currently, some of the tools instead set CC to be HOSTCC in order to re-use
      some pattern rules -- but this fails when the user overrides CC on the make
      command line.  Also, the HOSTCFLAGS in tools/Makefile are currently not
      being used because config.mk overwrites them.
      
      This patch adds static pattern rules for files that have been requested to
      be built with the native compiler using $(HOSTSRCS) and $(HOSTOBJS), and
      converts the tools to use them.
      
      It restores easylogo to using the host compiler, which was broken by commit
      38d299c2 (if this was an intentional change,
      please let me know -- but it seems to be a build tool).
      
      It restores -pedantic and the special flags for darwin and cygwin that were
      requested in tools/makefile (but keeps the flags added by config.mk) --
      hopefully someone can test this on those platforms.  It no longer
      conditionalizes -pedantic on not being darwin; it wasn't clear that that was
      intentional, and unless there's a real problem it's just inviting people to
      contribute non-pedantic patches to those files (I'm not a fan of -pedantic
      personally, but if it's on for one platform it should be on for all).
      
      HOST_LDFLAGS is renamed HOSTLDFLAGS for consistency with the previous
      HOST_CFLAGS to HOSTCFLAGS rename.  A new HOSTCFLAGS_NOPED is made available
      for those files which currently cannot be built with -pedantic, and replaces
      the old FIT_CFLAGS.
      
      imls now uses the cross compiler properly, rather than by trying to
      reconstruct CC using the typoed $(CROSS_COMPILER).
      
      envcrc.c is now dependency-processed unconditionally -- previously it would
      be built without being on (HOST)SRCS if CONFIG_ENV_IS_EMBEDDED was not
      selected.
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      d984fed0
    • M
      exports: rewrite jump table init · bf44f3f3
      Mike Frysinger 提交于
      The current jump table init fails to initialize a bunch of exported
      symbols (forceenv/do_reset/etc...).  Rather than fix just these few
      missing pieces, rewrite the code to utilize the existing list of
      exported symbols -- _exports.h.  Since every exported symbol has to
      be listed in this header, it makes sense to use it so that we only
      ever have one list that needs to be updated and things can't fall
      out of sync again.
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      bf44f3f3
  3. 01 12月, 2009 1 次提交
  4. 30 11月, 2009 1 次提交
  5. 28 11月, 2009 24 次提交