X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fhymod%2Fu-boot.lds;h=7afae0a6257e6131f04519ac79b51d5f7ee4be85;hb=bdc3ff6e4f75813d01e51081799d10e4a9c7fbcb;hp=1efa8b3237d35b54a24db68d378b04bbd1446813;hpb=a94028338c8cfc55665cecb04aeb4f70785db0e1;p=u-boot diff --git a/board/hymod/u-boot.lds b/board/hymod/u-boot.lds index 1efa8b3237..7afae0a625 100644 --- a/board/hymod/u-boot.lds +++ b/board/hymod/u-boot.lds @@ -87,9 +87,10 @@ SECTIONS PROVIDE (erotext = .); .reloc : { - *(.got) _GOT2_TABLE_ = .; - *(.got2) + KEEP(*(.got2)) + KEEP(*(.got)) + PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4); _FIXUP_TABLE_ = .; *(.fixup) } @@ -109,9 +110,11 @@ SECTIONS PROVIDE (edata = .); . = .; - __u_boot_cmd_start = .; - .u_boot_cmd : { *(.u_boot_cmd) } - __u_boot_cmd_end = .; + + . = ALIGN(4); + .u_boot_list : { + #include + } . = .;