ARM: add debug ".edata_real" symbol
[sfrench/cifs-2.6.git] / arch / arm / boot / compressed / vmlinux.lds.S
index 7a4c59154361d00ee88c2d03cb6af5aa8cace7e7..7d06aa19c3e6b5664c0e17a4de826b0810e78730 100644 (file)
@@ -85,6 +85,15 @@ SECTIONS
 
   _edata = .;
 
+  /*
+   * The image_end section appears after any additional loadable sections
+   * that the linker may decide to insert in the binary image.  Having
+   * this symbol allows further debug in the near future.
+   */
+  .image_end (NOLOAD) : {
+    _edata_real = .;
+  }
+
   _magic_sig = ZIMAGE_MAGIC(0x016f2818);
   _magic_start = ZIMAGE_MAGIC(_start);
   _magic_end = ZIMAGE_MAGIC(_edata);