[riot-notifications] [RIOT-OS/RIOT] cpu/mips32r2: remove nomips16 attribute from _mips_handle_exception (#11986)

Kaspar Schleiser notifications at github.com
Tue Sep 17 15:44:45 CEST 2019


Ok, this is with a newer toolchain:

```
[kaspar at ng riot/examples/hello-world (mips_remove_nomips16)]$ RIOT_CI_BUILD=1 BOARD=pic32-wifire make clean all -j8
Building application "hello-world" for "pic32-wifire" with MCU "mips_pic32mz".

objcopy: --change-section-lma .gcc_except_table+0xffffffff80000000 never used
   text    data     bss     dec     hex filename
 111440    3017    5056  119513   1d2d9 /home/kaspar/src/riot/examples/hello-world/bin/pic32-wifire/hello-world.elf
[kaspar at ng riot/examples/hello-world (mips_remove_nomips16)]$ mips-mti-elf-gcc --version
mips-mti-elf-gcc (Codescape GNU Tools 2018.09-03 for MIPS MTI Bare Metal) 6.3.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[kaspar at ng riot/examples/hello-world (mips_remove_nomips16)]$ 
```

This is with the current docker image:

```
[kaspar at ng riot/examples/hello-world (mips_remove_nomips16)]$ BUILD_IN_DOCKER=1 RIOT_CI_BUILD=1 BOARD=pic32-wifire make clean all -j8
Launching build container using image "riot/riotbuild:latest".
docker run --rm -t -u "$(id -u)" \
    -v '/usr/share/zoneinfo/Europe/Berlin:/etc/localtime:ro' -v '/home/kaspar/src/riot:/data/riotbuild/riotbase' -e 'RIOTBASE=/data/riotbuild/riotbase' -e 'CCACHE_BASEDIR=/data/riotbuild/riotbase' -e 'BUILD_DIR=/data/riotbuild/riotbase/build' -e 'RIOTPROJECT=/data/riotbuild/riotbase' -e 'RIOTCPU=/data/riotbuild/riotbase/cpu' -e 'RIOTBOARD=/data/riotbuild/riotbase/boards' -e 'RIOTMAKE=/data/riotbuild/riotbase/makefiles' -v /home/kaspar/.gitcache:/data/riotbuild/gitcache -e GIT_CACHE_DIR=/data/riotbuild/gitcache   \
    -e 'BOARD=pic32-wifire' -e 'RIOT_CI_BUILD=1' \
    -w '/data/riotbuild/riotbase/examples/hello-world/' \
    'riot/riotbuild:latest' make all  
Building application "hello-world" for "pic32-wifire" with MCU "mips_pic32mz".

objcopy: --change-section-lma .gcc_except_table+0xffffffff80000000 never used
   text    data     bss     dec     hex filename
 108828    2788    6024  117640   1cb88 /data/riotbuild/riotbase/examples/hello-world/bin/pic32-wifire/hello-world.elf
[kaspar at ng riot/examples/hello-world (mips_remove_nomips16)]$
```

So the guard is working. I'll squash, @benpicco could you re-ACK?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11986#issuecomment-532227489
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190917/aab4dc4d/attachment.htm>


More information about the notifications mailing list