Skip to content

Commit

Permalink
Fix for issue chipKIT32#617. Added -fno-toplevel-reorder to C and C++…
Browse files Browse the repository at this point in the history
… compiler options.
  • Loading branch information
EmbeddedMan committed Oct 15, 2015
1 parent ff0f4c7 commit 55e9a31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hardware/pic32/platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name=chipKIT
version=1.6.0
compiler.c.cmd=pic32-gcc
compiler.path={runtime.hardware.path}/pic32/compiler/pic32-tools/bin/
compiler.c.flags=-O2 -c -mno-smart-io -w -ffunction-sections -fdata-sections -g3 -mdebugger -Wcast-align -fno-short-double -fframe-base-loclist
compiler.c.flags=-O2 -c -mno-smart-io -w -ffunction-sections -fdata-sections -g3 -mdebugger -Wcast-align -fno-short-double -fframe-base-loclist -ftoplevel-reorder
compiler.c.extra_flags=
compiler.cpp.cmd=pic32-g++
compiler.cpp.flags=-O2 -c -mno-smart-io -w -fno-exceptions -ffunction-sections -fdata-sections -g3 -mdebugger -Wcast-align -fno-short-double -fframe-base-loclist
compiler.cpp.flags=-O2 -c -mno-smart-io -w -fno-exceptions -ffunction-sections -fdata-sections -g3 -mdebugger -Wcast-align -fno-short-double -fframe-base-loclist -ftoplevel-reorder
compiler.cpp.extra_flags=
compiler.S.flags=-O2 -g1 -c -Wa,--gdwarf-2
compiler.ar.cmd=pic32-ar
Expand Down
4 changes: 2 additions & 2 deletions hardware/pic32/platforms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ pic32.name=chipKit
#pic32.compiler.path=/opt/mac-pic32/bin/
pic32.compiler.c.cmd=pic32-gcc
pic32.compiler.path={0}/hardware/pic32/compiler/pic32-tools/bin/
pic32.compiler.c.flags=-O2::-c::-mno-smart-io::-w::-ffunction-sections::-fdata-sections::-g3::-mdebugger::-Wcast-align::-fno-short-double::-fframe-base-loclist
pic32.compiler.c.flags=-O2::-c::-mno-smart-io::-w::-ffunction-sections::-fdata-sections::-g3::-mdebugger::-Wcast-align::-fno-short-double::-fframe-base-loclist::-fno-toplevel-reorder
pic32.compiler.cpp.cmd=pic32-g++
pic32.compiler.cpp.flags=-O2::-c::-mno-smart-io::-w::-fno-exceptions::-ffunction-sections::-fdata-sections::-g3::-mdebugger::-Wcast-align::-fno-short-double::-fframe-base-loclist
pic32.compiler.cpp.flags=-O2::-c::-mno-smart-io::-w::-fno-exceptions::-ffunction-sections::-fdata-sections::-g3::-mdebugger::-Wcast-align::-fno-short-double::-fframe-base-loclist::-fno-toplevel-reorder
pic32.compiler.S.flags=-O2::-g1::-c::-Wa,--gdwarf-2
pic32.compiler.ar.cmd=pic32-ar
pic32.compiler.ar.flags=rcs
Expand Down

0 comments on commit 55e9a31

Please sign in to comment.