Jelajahi Sumber

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 tahun lalu
induk
melakukan
09d392bd4c
6 mengubah file dengan 509 tambahan dan 508 penghapusan
  1. TEMPAT SAMPAH
      fpga/output_files/max80.jbc
  2. TEMPAT SAMPAH
      fpga/output_files/max80.jic
  3. TEMPAT SAMPAH
      fpga/output_files/max80.pof
  4. TEMPAT SAMPAH
      fpga/output_files/max80.sof
  5. 507 507
      fw/boot.mif
  6. 2 1
      riscv-opts.mk

TEMPAT SAMPAH
fpga/output_files/max80.jbc


TEMPAT SAMPAH
fpga/output_files/max80.jic


TEMPAT SAMPAH
fpga/output_files/max80.pof


TEMPAT SAMPAH
fpga/output_files/max80.sof


File diff ditekan karena terlalu besar
+ 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) \

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini