Browse Source

fw: use -malign-data=natural

Use -malign-data=natural; this makes structures align the way one
should have the right to expect.
H. Peter Anvin 3 years ago
parent
commit
09d392bd4c
6 changed files with 509 additions and 508 deletions
  1. BIN
      fpga/output_files/max80.jbc
  2. BIN
      fpga/output_files/max80.jic
  3. BIN
      fpga/output_files/max80.pof
  4. BIN
      fpga/output_files/max80.sof
  5. 507 507
      fw/boot.mif
  6. 2 1
      riscv-opts.mk

BIN
fpga/output_files/max80.jbc


BIN
fpga/output_files/max80.jic


BIN
fpga/output_files/max80.pof


BIN
fpga/output_files/max80.sof


File diff suppressed because it is too large
+ 507 - 507
fw/boot.mif


+ 2 - 1
riscv-opts.mk

@@ -3,7 +3,8 @@ riscv_target_flags =	-fvisibility=hidden \
 			-fno-pic -Wa,-fno-pic -fno-PIE \
 			-frename-registers -fshort-enums -fshort-wchar \
 			-ffunction-sections -fdata-sections \
-			-mshorten-memrefs -mstrict-align -fno-exceptions
+			-mshorten-memrefs -mstrict-align -fno-exceptions \
+			-malign-data=natural
 
 # Additional flags during application build
 riscv_flags = $(riscv_target_flags) \

Some files were not shown because too many files changed in this diff