ld: Track changes to default region LMA even for empty sections
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / orphan-9.ld
index 1a6773de1838b9e939c1d1584069b5b353048f65..d8a39171862656daf1c6d40a51d00af784ffc10f 100644 (file)
@@ -1,8 +1,12 @@
-/* This linker script is used for orphan-9 test.
+/* This linker script is used for orphan-9 and orphan-10 test.
 
-   We have a single byte in .data, and an orphan .data.1
+   orphan-9: We have a single byte in .data, and an orphan .data.1
    section.  We are checking that the .data.1 orphan is assigned an
-   LMA after .data rather than picking up the lma region of .rodata.  */
+   LMA after .data rather than picking up the lma region of .rodata.
+
+   orphan-10: In this case we have nothing in .data and an orphan
+   .data.1, we are checking that .data.1 is assigned an LMA after
+   .data, rather than defaulting to take LMA == VMA.  */
 
 MEMORY
 {
This page took 0.025028 seconds and 4 git commands to generate.