[riot-commits] [RIOT-OS/RIOT] 6d9026: cpu/cortexm_common: Use gcc-ar when building with ...

Joakim Nohlgård joakim.nohlgard at eistec.se
Mon Aug 29 19:00:11 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 6d90267d40f2cef60414ee31136e16f3dcebac55
      https://github.com/RIOT-OS/RIOT/commit/6d90267d40f2cef60414ee31136e16f3dcebac55
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-08-10 (Wed, 10 Aug 2016)

  Changed paths:
    M cpu/Makefile.include.gnu

  Log Message:
  -----------
  cpu/cortexm_common: Use gcc-ar when building with LTO

gcc-ar is a wrapper supplied by gcc for properly handling thin LTO objects.


  Commit: 0e5522950a452e4f0fc5ee4f171622afb4a7cccd
      https://github.com/RIOT-OS/RIOT/commit/0e5522950a452e4f0fc5ee4f171622afb4a7cccd
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-08-10 (Wed, 10 Aug 2016)

  Changed paths:
    M boards/native/Makefile.include

  Log Message:
  -----------
  boards/native: Use gcc-ar when building with LTO


  Commit: efedaa1a4342e46e81e6e817efca62c871a73777
      https://github.com/RIOT-OS/RIOT/commit/efedaa1a4342e46e81e6e817efca62c871a73777
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-08-10 (Wed, 10 Aug 2016)

  Changed paths:
    M boards/x86-multiboot-common/Makefile.include

  Log Message:
  -----------
  boards/x86-multiboot-common: Use gcc-ar when building with LTO


  Commit: 5fcb09f6b9a15f834b11970e8d39e4d971f9d64a
      https://github.com/RIOT-OS/RIOT/commit/5fcb09f6b9a15f834b11970e8d39e4d971f9d64a
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-08-10 (Wed, 10 Aug 2016)

  Changed paths:
    M boards/native/Makefile.include

  Log Message:
  -----------
  boards/native/Makefile.include: Add -Wl,--gc-sections to linker options


  Commit: 37eece1961f29525fe74f02551a00de1fc4ff65d
      https://github.com/RIOT-OS/RIOT/commit/37eece1961f29525fe74f02551a00de1fc4ff65d
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-08-10 (Wed, 10 Aug 2016)

  Changed paths:
    M cpu/atmega2560/startup.c

  Log Message:
  -----------
  cpu/atmega2560/startup.c: Add __attribute__((used)) to init functions


  Commit: db5574044712323c3529d58cf03903deb9d37d97
      https://github.com/RIOT-OS/RIOT/commit/db5574044712323c3529d58cf03903deb9d37d97
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-08-10 (Wed, 10 Aug 2016)

  Changed paths:
    M boards/arduino-mega2560/Makefile.include

  Log Message:
  -----------
  boards/arduino-mega2560: Add -Wno-error if building with LTO


  Commit: 16469543db0406a9b01a49891b7fe219be2386f1
      https://github.com/RIOT-OS/RIOT/commit/16469543db0406a9b01a49891b7fe219be2386f1
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-08-10 (Wed, 10 Aug 2016)

  Changed paths:
    M cpu/x86/x86_interrupts.c

  Log Message:
  -----------
  cpu/x86/x86_interrupts.c: Add __attribute__((used)) to isr functions


  Commit: 4d95f8a0ba96a40bd38ddf07dea382f39a8e32b1
      https://github.com/RIOT-OS/RIOT/commit/4d95f8a0ba96a40bd38ddf07dea382f39a8e32b1
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-08-10 (Wed, 10 Aug 2016)

  Changed paths:
    M boards/x86-multiboot-common/Makefile.include

  Log Message:
  -----------
  boards/x86-multiboot-common/Makefile.include: Add -Wl,--gc-sections to linker options


  Commit: 5f313898bf3014e6995a60cd7d9b2af673e49f3e
      https://github.com/RIOT-OS/RIOT/commit/5f313898bf3014e6995a60cd7d9b2af673e49f3e
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-08-10 (Wed, 10 Aug 2016)

  Changed paths:
    M cpu/lpc1768/vectors.c

  Log Message:
  -----------
  cpu/lpc1768: Add __attribute__((used)) to interrupt vector


  Commit: 0ff7652bd6d6975a1db847f1122125343b77082f
      https://github.com/RIOT-OS/RIOT/commit/0ff7652bd6d6975a1db847f1122125343b77082f
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-08-10 (Wed, 10 Aug 2016)

  Changed paths:
    M Makefile.cflags

  Log Message:
  -----------
  Makefile.cflags: Make LTO a warning instead of info

(fixes problems with info-boards-supported etc)


  Commit: afb6cb45079b9d6517ef7ce624887e73b7c87fd5
      https://github.com/RIOT-OS/RIOT/commit/afb6cb45079b9d6517ef7ce624887e73b7c87fd5
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-08-10 (Wed, 10 Aug 2016)

  Changed paths:
    M sys/newlib/syscalls.c

  Log Message:
  -----------
  sys/newlib: Add __attribute__((used)) to _fini

No ROM cost, only fixes a linker error with non-nano newlib and LTO enabled.


  Commit: 1f9a87972b4f9184a6488426bc3c12ae43528bfd
      https://github.com/RIOT-OS/RIOT/commit/1f9a87972b4f9184a6488426bc3c12ae43528bfd
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
    M Makefile.base
    M Makefile.vars

  Log Message:
  -----------
  make: allow per-file conditional LTO compile


  Commit: 25a6ef527365ad2127db117dc3b82358662ba6dd
      https://github.com/RIOT-OS/RIOT/commit/25a6ef527365ad2127db117dc3b82358662ba6dd
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
    M core/sched.c

  Log Message:
  -----------
  core: sched: mark sched_run() as used


  Commit: 0bd2805b0c71cd64bdea77a4b6ee964528dee4a3
      https://github.com/RIOT-OS/RIOT/commit/0bd2805b0c71cd64bdea77a4b6ee964528dee4a3
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
    M cpu/cortexm_common/thread_arch.c

  Log Message:
  -----------
  cpu: cortexm_common: explicitly define isr_pendsv and isr_svc


  Commit: 5a03f08f91c8439b70053cea39e268fb3fc079fb
      https://github.com/RIOT-OS/RIOT/commit/5a03f08f91c8439b70053cea39e268fb3fc079fb
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
    M cpu/cortexm_common/Makefile

  Log Message:
  -----------
  cpu: cortexm_common: compile thread_arch.c without LTO


  Commit: 5ab97fe38b310eddf52a97dd0ae411d41db1d84f
      https://github.com/RIOT-OS/RIOT/commit/5ab97fe38b310eddf52a97dd0ae411d41db1d84f
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
    M cpu/cc2538/Makefile
    M cpu/cc26x0/Makefile
    M cpu/ezr32wg/Makefile
    M cpu/k64f/Makefile
    M cpu/lm4f120/Makefile
    M cpu/lpc11u34/Makefile
    M cpu/lpc1768/Makefile
    M cpu/nrf51/Makefile
    M cpu/nrf52/Makefile
    M cpu/sam3/Makefile
    M cpu/samd21/Makefile
    M cpu/saml21/Makefile
    M cpu/stm32f0/Makefile
    M cpu/stm32f1/Makefile
    M cpu/stm32f3/Makefile
    M cpu/stm32f4/Makefile
    M cpu/stm32l1/Makefile

  Log Message:
  -----------
  cpu: build cortexm vectors.c without LTO


  Commit: 76fc7a56c94f631273e42a0038d3ece1840c2c0c
      https://github.com/RIOT-OS/RIOT/commit/76fc7a56c94f631273e42a0038d3ece1840c2c0c
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
    M cpu/kw2x/Makefile
    M cpu/kw2x/Makefile.include
    R cpu/kw2x/vector.c
    A cpu/kw2x/vectors.c

  Log Message:
  -----------
  cpu: kw2x: rename vector.c -> vectors.c, add to SRC_NOLTO


  Commit: d1198b489dc4c169ea62929b60cdca86f75017ac
      https://github.com/RIOT-OS/RIOT/commit/d1198b489dc4c169ea62929b60cdca86f75017ac
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
    M cpu/k60/Makefile
    M cpu/k60/Makefile.include
    R cpu/k60/vector.c
    A cpu/k60/vectors.c

  Log Message:
  -----------
  cpu: k60: rename vector.c -> vectors.c, add to SRC_NOLTO


  Commit: 455fb6cd4d1b679af40f093ebac33fbe5ed71baa
      https://github.com/RIOT-OS/RIOT/commit/455fb6cd4d1b679af40f093ebac33fbe5ed71baa
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
    M Makefile.base
    M Makefile.cflags
    M Makefile.vars
    M boards/arduino-mega2560/Makefile.include
    M boards/native/Makefile.include
    M boards/x86-multiboot-common/Makefile.include
    M core/sched.c
    M cpu/Makefile.include.gnu
    M cpu/atmega2560/startup.c
    M cpu/cc2538/Makefile
    M cpu/cc26x0/Makefile
    M cpu/cortexm_common/Makefile
    M cpu/cortexm_common/thread_arch.c
    M cpu/ezr32wg/Makefile
    M cpu/k60/Makefile
    M cpu/k60/Makefile.include
    R cpu/k60/vector.c
    A cpu/k60/vectors.c
    M cpu/k64f/Makefile
    M cpu/kw2x/Makefile
    M cpu/kw2x/Makefile.include
    R cpu/kw2x/vector.c
    A cpu/kw2x/vectors.c
    M cpu/lm4f120/Makefile
    M cpu/lpc11u34/Makefile
    M cpu/lpc1768/Makefile
    M cpu/lpc1768/vectors.c
    M cpu/nrf51/Makefile
    M cpu/nrf52/Makefile
    M cpu/sam3/Makefile
    M cpu/samd21/Makefile
    M cpu/saml21/Makefile
    M cpu/stm32f0/Makefile
    M cpu/stm32f1/Makefile
    M cpu/stm32f3/Makefile
    M cpu/stm32f4/Makefile
    M cpu/stm32l1/Makefile
    M cpu/x86/x86_interrupts.c
    M sys/newlib/syscalls.c

  Log Message:
  -----------
  Merge pull request #5742 from kaspar030/fix_lto

LTO fixes


Compare: https://github.com/RIOT-OS/RIOT/compare/0703d805637a...455fb6cd4d1b


More information about the commits mailing list