Skip to content
Snippets Groups Projects
  1. Jul 24, 2013
  2. Dec 06, 2012
  3. Mar 28, 2012
    • Mike Frysinger's avatar
      lzma: fix printf warnings · f3e6110a
      Mike Frysinger authored
      
      Fix size_t printf format warnings:
      
      LzmaTools.c: In function 'lzmaBuffToBuffDecompress':
      LzmaTools.c:110:5: warning: format '%x' expects type 'unsigned int',
                                  but argument 2 has type 'SizeT'
      LzmaTools.c:111:5: warning: format '%x' expects type 'unsigned int',
                                  but argument 2 has type 'SizeT'
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      f3e6110a
  4. Oct 27, 2011
    • Marek Vasut's avatar
      GCC4.6: Squash warnings in LzmaTools.c · dd059842
      Marek Vasut authored
      
      LzmaTools.c: In function 'lzmaBuffToBuffDecompress':
      LzmaTools.c:70:5: warning: format '%lx' expects type 'long unsigned int', but
      argument 2 has type 'unsigned char *'
      LzmaTools.c:71:5: warning: format '%lx' expects type 'long unsigned int', but
      argument 2 has type 'unsigned char *'
      LzmaTools.c:72:5: warning: format '%lx' expects type 'long unsigned int', but
      argument 2 has type 'unsigned char *'
      LzmaTools.c:73:5: warning: format '%lx' expects type 'long unsigned int', but
      argument 2 has type 'unsigned char *'
      LzmaTools.c:74:5: warning: format '%lx' expects type 'long unsigned int', but
      argument 2 has type 'unsigned char *'
      LzmaTools.c:110:5: warning: format '%lx' expects type 'long unsigned int', but
      argument 2 has type 'SizeT'
      LzmaTools.c:111:5: warning: format '%lx' expects type 'long unsigned int', but
      argument 2 has type 'SizeT'
      
      Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Mike Frysinger <vapier@gentoo.org>
      dd059842
  5. Aug 04, 2011
  6. Nov 17, 2010
    • 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
  7. Apr 13, 2010
Loading