X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fc2mon%2Fu-boot.lds;h=10b38ec356c24615d673e7586642c6ed30b4f388;hb=53677ef18e25c97ac613349087c5cb33ae5a2741;hp=ac50e03dfb8528a7116a8d2cf555763fc6cfacce;hpb=efee1709912ad05c3a0bd1ca3f9e72dd7c587cbc;p=oweals%2Fu-boot.git diff --git a/board/c2mon/u-boot.lds b/board/c2mon/u-boot.lds index ac50e03dfb..10b38ec356 100644 --- a/board/c2mon/u-boot.lds +++ b/board/c2mon/u-boot.lds @@ -22,7 +22,6 @@ */ OUTPUT_ARCH(powerpc) -SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib); /* Do we need any of these for elf? __DYNAMIC = 0; */ SECTIONS @@ -34,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) } @@ -76,6 +75,8 @@ SECTIONS { *(.rodata) *(.rodata1) + *(.rodata.str1.4) + *(.eh_frame) } .fini : { *(.fini) } =0 .ctors : { *(.ctors) } @@ -108,6 +109,13 @@ SECTIONS _edata = .; PROVIDE (edata = .); + . = .; + __u_boot_cmd_start = .; + .u_boot_cmd : { *(.u_boot_cmd) } + __u_boot_cmd_end = .; + + + . = .; __start___ex_table = .; __ex_table : { *(__ex_table) } __stop___ex_table = .; @@ -120,7 +128,7 @@ SECTIONS __init_end = .; __bss_start = .; - .bss : + .bss (NOLOAD) : { *(.sbss) *(.scommon) *(.dynbss) @@ -130,4 +138,3 @@ SECTIONS _end = . ; PROVIDE (end = .); } -