浏览代码

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 年之前
父节点
当前提交
09d392bd4c
共有 6 个文件被更改,包括 509 次插入508 次删除
  1. 二进制
      fpga/output_files/max80.jbc
  2. 二进制
      fpga/output_files/max80.jic
  3. 二进制
      fpga/output_files/max80.pof
  4. 二进制
      fpga/output_files/max80.sof
  5. 507 507
      fw/boot.mif
  6. 2 1
      riscv-opts.mk

二进制
fpga/output_files/max80.jbc


二进制
fpga/output_files/max80.jic


二进制
fpga/output_files/max80.pof


二进制
fpga/output_files/max80.sof


文件差异内容过多而无法显示
+ 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) \

部分文件因为文件数量过多而无法显示