]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/testsuite/ld-scripts/pr18963.t
Fix the test for PR 18963 so that it will work on 16-bit targets.
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-scripts / pr18963.t
index 830ded78dd916d6f505e1909f8faaef8ca25b4c0..94f8f164d00c041f14f2a663d04f67027dc89be1 100644 (file)
@@ -1,25 +1,20 @@
 SECTIONS
 {
-  . = 0x80000;
-  A = .;
-  .text :
+  .text 0x300 :
   {
-    _start = .;
     *(.text)
-    . = 0x10000;
   }
-  B = .;
+  A = .;
   .data :
   {
     *(.data)
-    . = 0x10000;
   }
-  C = .;
+  B = .;
   .bss :
   {
     *(.bss)
-    . = 0x10000;
   }
+  C = .;
   D = A - C + B;
   E = A + B - C;
   /DISCARD/ : {*(*)}