1. 15 Oct, 2011 1 commit
  2. 17 Nov, 2010 1 commit
    • Sebastien Carlier's avatar
      Switch from archive libraries to partial linking · 6d8962e8
      Sebastien Carlier authored
      Before this commit, weak symbols were not overridden by non-weak symbols
      found in archive libraries when linking with recent versions of
      binutils.  As stated in the System V ABI, "the link editor does not
      extract archive members to resolve undefined weak symbols".
      
      This commit changes all Makefiles to use partial linking (ld -r) instead
      of creating library archives, which forces all symbols to participate in
      linking, allowing non-weak symbols to override weak symbols as intended.
      This approach is also used by Linux, from which the gmake function
      cmd_link_o_target (defined in config.mk and used in all Makefiles) is
      inspired.
      
      The name of each former library archive is preserved except for
      extensions which change from ".a" to ".o".  This commit updates
      references accordingly where needed, in particular in some linker
      scripts.
      
      This commit reveals board configurations that exclude some features but
      include source files that depend these disabled features in the build,
      resulting in undefined symbols.  Known such cases include:
      - disabling CMD_NET but not CMD_NFS;
      - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.
      Signed-off-by: default avatarSebastien Carlier <sebastien.carlier@gmail.com>
      6d8962e8
  3. 18 Oct, 2010 3 commits
  4. 19 Sep, 2010 1 commit
    • Wolfgang Denk's avatar
      canmb board: Fix compiler warnings · ff377b1c
      Wolfgang Denk authored
      Recent changes caused thatthe aev board now is included in the boards
      built by MAKEALL, which revealed that compilation for this board
      has been broken for a long time:
      
      canmb.c: In function 'initdram':
      canmb.c:109: warning: pointer targets in passing argument 1 of 'get_ram_size' differ in signedness
      canmb.c:111: warning: pointer targets in passing argument 1 of 'get_ram_size' differ in signedness
      canmb.c:137: warning: pointer targets in passing argument 1 of 'get_ram_size' differ in signedness
      canmb.c:140: warning: pointer targets in passing argument 1 of 'get_ram_size' differ in signedness
      
      Fix these.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      ff377b1c
  5. 21 Mar, 2010 1 commit
  6. 18 Oct, 2008 1 commit
  7. 02 Jul, 2008 1 commit
  8. 12 Jun, 2008 1 commit
    • Becky Bruce's avatar
      Change initdram() return type to phys_size_t · 9973e3c6
      Becky Bruce authored
      This patch changes the return type of initdram() from long int to phys_size_t.
      This is required for a couple of reasons: long int limits the amount of dram
      to 2GB, and u-boot in general is moving over to phys_size_t to represent the
      size of physical memory.  phys_size_t is defined as an unsigned long on almost
      all current platforms.
      
      This patch *only* changes the return type of the initdram function (in
      include/common.h, as well as in each board's implementation of initdram).  It
      does not actually modify the code inside the function on any of the platforms;
      platforms which wish to support more than 2GB of DRAM will need to modify
      their initdram() function code.
      
      Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc
      MPC8641HPCN.
      Signed-off-by: default avatarBecky Bruce <becky.bruce@freescale.com>
      9973e3c6
  9. 03 Jul, 2007 1 commit
  10. 08 Oct, 2006 1 commit
  11. 01 Sep, 2006 1 commit
    • Marian Balakowicz's avatar
      Add support for a saving build objects in a separate directory. · f9328639
      Marian Balakowicz authored
      Modifications are based on the linux kernel approach and
      support two use cases:
      
        1) Add O= to the make command line
        'make O=/tmp/build all'
      
        2) Set environement variable BUILD_DIR to point to the desired location
        'export BUILD_DIR=/tmp/build'
        'make'
      
      The second approach can also be used with a MAKEALL script
      'export BUILD_DIR=/tmp/build'
      './MAKEALL'
      
      Command line 'O=' setting overrides BUILD_DIR environent variable.
      
      When none of the above methods is used the local build is performed and
      the object files are placed in the source directory.
      f9328639
  12. 12 Dec, 2005 1 commit
  13. 31 Aug, 2005 1 commit
  14. 05 May, 2005 1 commit
  15. 21 Apr, 2005 1 commit
  16. 20 Apr, 2005 2 commits
  17. 13 Apr, 2005 1 commit