]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/sh/cpu/u-boot.lds
sh: define entry point and reloc_dst inside a linker script
[people/ms/u-boot.git] / arch / sh / cpu / u-boot.lds
index e90ac06c3707760d44cb08ed78fa42063eab8712..bc240bd1bd5c28da4a73694b783d4c2a921f0dc6 100644 (file)
@@ -19,10 +19,7 @@ ENTRY(_start)
 
 SECTIONS
 {
-       /*
-        * entry and reloct_dst will be provided via ldflags
-        */
-       . = .;
+       reloc_dst = .;
 
        PROVIDE (_ftext = .);
        PROVIDE (_fcode = .);
@@ -73,7 +70,6 @@ SECTIONS
 
        PROVIDE (__init_end = .);
        PROVIDE (reloc_dst_end = .);
-       /* _reloc_dst_end = .; */
 
        PROVIDE (bss_start = .);
        PROVIDE (__bss_start = .);