Skip to content
Snippets Groups Projects
  1. Nov 10, 2015
    • Tom Rini's avatar
      Various Makefiles: Add SPDX-License-Identifier tags · da58dec8
      Tom Rini authored
      
      After consulting with some of the SPDX team, the conclusion is that
      Makefiles are worth adding SPDX-License-Identifier tags too, and most of
      ours have one.  This adds tags to ones that lack them and converts a few
      that had full (or in one case, very partial) license blobs into the
      equivalent tag.
      
      Cc: Kate Stewart <kstewart@linuxfoundation.org>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      da58dec8
  2. Nov 09, 2015
    • Zhenhua Luo's avatar
      mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition · 522b021a
      Zhenhua Luo authored
      In binutils-2.25, the _GLOBAL_OFFSET_TABLE_ symbols defined by PROVIDE in
      u-boot.lds overrides the linker built-in symbols
      (https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;
      h=b893397a4b1316610f49819344817715e4305de9),
      so the linker is treating _GLOBAL_OFFSET_TABLE_ as a definition into the
      .reloc section.
      
      To align with the change of binutils-2.25, the _GLOBAL_OFFSET_TABLE_ symbol
      should not be defined in sections, and the symbols in linker generated .got
      section should be used(https://sourceware.org/ml/binutils/2008-09/
      
      
      msg00122.html)
      
      Fixed the following build errors with binutils-2.25:
      | powerpc-poky-linux-gnuspe-ld.bfd: _GLOBAL_OFFSET_TABLE_ not defined in
      linker created .got
      
      Signed-off-by: default avatarZhenhua Luo <zhenhua.luo@freescale.com>
      Signed-off-by: default avatarPrabhakar Kushwaha <prabhakar@freescale.com>
      522b021a
    • Måns Rullgård's avatar
      Replace "extern inline" with "static inline" · 44d0677a
      Måns Rullgård authored
      
      A number of headers define functions as "extern inline" which is
      causing problems with gcc5.  The reason is that starting with
      version 5.1, gcc defaults to the standard C99 semantics for the
      inline keyword.
      
      Under the traditional GNU inline semantics, an "extern inline"
      function would never create an external definition, the same
      as inline *without* extern in C99.  In C99, and "extern inline"
      definition is simply an external definition with an inline hint.
      In short, the meanings of inline with and without extern are
      swapped between GNU and C99.
      
      The upshot is that all these definitions in header files create
      an external definition wherever those headers are included,
      resulting in multiple definition errors at link time.
      
      Changing all these functions to "static inline" fixes the problem
      since this works as desired in all gcc versions.  Although the
      semantics are slightly different (a static inline definition may
      result in an actual function being emitted), it works as intended
      in practice.
      
      This patch also removes extern prototype declarations for the
      changed functions where they existed.
      
      Signed-off-by: default avatarMans Rullgard <mans@mansr.com>
      44d0677a
  3. Nov 07, 2015
    • Michal Simek's avatar
      ARM64: zynqmp: Sync zynq_sdhci_init() declaration · e490ad25
      Michal Simek authored
      
      This patch fix compilation error:
      drivers/mmc/zynq_sdhci.c:16:5: error: conflicting types for
      ‘zynq_sdhci_init’
       int zynq_sdhci_init(phys_addr_t regbase)
           ^
      In file included from drivers/mmc/zynq_sdhci.c:14:0:
      ./arch/arm/include/asm/arch/sys_proto.h:16:5: note: previous declaration
      of ‘zynq_sdhci_init’ was here
       int zynq_sdhci_init(unsigned long regbase);
           ^
      
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
      e490ad25
  4. Nov 06, 2015
  5. Nov 05, 2015
Loading