arm: make _end compiler-generated
[kernel/u-boot.git] / arch / arm / cpu / armv7 / socfpga / u-boot-spl.lds
index a7c9c9d..4282beb 100644 (file)
@@ -28,7 +28,11 @@ SECTIONS
 
        . = ALIGN(4);
        __image_copy_end = .;
-       _end = .;
+
+       .end :
+       {
+               *(.__end)
+       }
 
        .bss : {
                . = ALIGN(4);