Explorar o código

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 %!s(int64=3) %!d(string=hai) anos
pai
achega
09d392bd4c
Modificáronse 6 ficheiros con 509 adicións e 508 borrados
  1. BIN=BIN
      fpga/output_files/max80.jbc
  2. BIN=BIN
      fpga/output_files/max80.jic
  3. BIN=BIN
      fpga/output_files/max80.pof
  4. BIN=BIN
      fpga/output_files/max80.sof
  5. 507 507
      fw/boot.mif
  6. 2 1
      riscv-opts.mk

BIN=BIN
fpga/output_files/max80.jbc


BIN=BIN
fpga/output_files/max80.jic


BIN=BIN
fpga/output_files/max80.pof


BIN=BIN
fpga/output_files/max80.sof


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 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) \

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio