X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Flantec%2Fu-boot.lds;h=854ed689322a74e368a687b24552f2e30060bbe5;hb=1095493a5d4c16f481a783f6f54d83ad0e07dfa0;hp=688846b130b37faa9ef462adbaf8c3dbf464f865;hpb=248b7d984cffa3107b5acb4c3f5501b7538d877a;p=oweals%2Fu-boot.git diff --git a/board/lantec/u-boot.lds b/board/lantec/u-boot.lds index 688846b130..854ed68932 100644 --- a/board/lantec/u-boot.lds +++ b/board/lantec/u-boot.lds @@ -33,11 +33,11 @@ SECTIONS .dynsym : { *(.dynsym) } .dynstr : { *(.dynstr) } .rel.text : { *(.rel.text) } - .rela.text : { *(.rela.text) } + .rela.text : { *(.rela.text) } .rel.data : { *(.rel.data) } - .rela.data : { *(.rela.data) } - .rel.rodata : { *(.rel.rodata) } - .rela.rodata : { *(.rela.rodata) } + .rela.data : { *(.rela.data) } + .rel.rodata : { *(.rel.rodata) } + .rela.rodata : { *(.rela.rodata) } .rel.got : { *(.rel.got) } .rela.got : { *(.rela.got) } .rel.ctors : { *(.rel.ctors) } @@ -63,20 +63,17 @@ SECTIONS lib_generic/zlib.o (.text) . = env_offset; - common/environment.o(.text) + common/env_embedded.o(.text) *(.text) - *(.fixup) *(.got1) } _etext = .; PROVIDE (etext = .); .rodata : { - *(.rodata) - *(.rodata1) - *(.rodata.str1.4) *(.eh_frame) + *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) } .fini : { *(.fini) } =0 .ctors : { *(.ctors) } @@ -134,6 +131,7 @@ SECTIONS *(.dynbss) *(.bss) *(COMMON) + . = ALIGN(4); } _end = . ; PROVIDE (end = .);