|
@@ -65,7 +65,7 @@ else
|
|
|
PF_ABICALLS := -mabicalls
|
|
|
PF_PIC := -fpic
|
|
|
PF_PIE := -pie
|
|
|
-PF_OBJCOPY := -j .got -j .u_boot_list -j .rel.dyn -j .padding
|
|
|
+PF_OBJCOPY := -j .got -j .rel.dyn -j .padding
|
|
|
PF_OBJCOPY += -j .dtb.init.rodata
|
|
|
endif
|
|
|
|
|
@@ -74,4 +74,5 @@ PLATFORM_CPPFLAGS += -msoft-float
|
|
|
PLATFORM_LDFLAGS += -G 0 -static -n -nostdlib
|
|
|
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
|
|
|
LDFLAGS_FINAL += --gc-sections $(PF_PIE)
|
|
|
-OBJCOPYFLAGS += -j .text -j .rodata -j .data $(PF_OBJCOPY)
|
|
|
+OBJCOPYFLAGS += -j .text -j .rodata -j .data -j .u_boot_list
|
|
|
+OBJCOPYFLAGS += $(PF_OBJCOPY)
|