diff options
author | Raptor Engineering Development Team <support@raptorengineering.com> | 2019-04-19 05:30:01 +0000 |
---|---|---|
committer | Raptor Engineering Development Team <support@raptorengineering.com> | 2019-04-19 05:31:31 +0000 |
commit | a617682b21adb39921b65647c81ea9bf42c998d1 (patch) | |
tree | 0d5df32730a650baa57a4f88d96789d2da30e6a1 /src/occ_405 | |
parent | 58e422dede5932f5b8e01a88315001b0525cc478 (diff) | |
download | talos-occ-a617682b21adb39921b65647c81ea9bf42c998d1.tar.gz talos-occ-a617682b21adb39921b65647c81ea9bf42c998d1.zip |
Fix build failure on GCC8
When upgrading to GCC8, an .eh_frame section is automatically added.
This consumes too much space in the relatively small OCC address map,
leading to compilation failure.
Pass -fno-asynchronous-unwind-tables to GCC to disable .eh_frame
section generation.
Diffstat (limited to 'src/occ_405')
-rw-r--r-- | src/occ_405/img_defs.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/occ_405/img_defs.mk b/src/occ_405/img_defs.mk index c68c91c..1c515d0 100644 --- a/src/occ_405/img_defs.mk +++ b/src/occ_405/img_defs.mk @@ -253,7 +253,8 @@ PIPE-CFLAGS = -pipe -Wa,-m405 GCC-CFLAGS += -g -Wall -fsigned-char -msoft-float \ -m32 -mbig-endian -mcpu=405 -mmultiple -mstring \ -meabi -msdata=eabi -ffreestanding -fno-common \ - -fno-inline-functions-called-once -std=gnu89 + -fno-inline-functions-called-once \ + -fno-asynchronous-unwind-tables -std=gnu89 CFLAGS = -c $(GCC-CFLAGS) $(PIPE-CFLAGS) $(GCC-O-LEVEL) $(INCLUDES) |