gdb/fortran: Implement la_print_typedef for Fortran
[deliverable/binutils-gdb.git] / gold / testsuite / script_test_2.t
index e02b7a9777eb277f6f9545c6146c7329ea695ad7..1947625c50f88407ba554407d8f3da849f57b2ae 100644 (file)
@@ -1,6 +1,6 @@
 /* script_test_2.t -- linker script test 2 for gold
 
-   Copyright 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008-2019 Free Software Foundation, Inc.
    Written by Ian Lance Taylor <iant@google.com>.
 
    This file is part of gold.
@@ -20,6 +20,8 @@
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
 
+test_addr_alias = test_addr;
+
 SECTIONS
 {
   /* With luck this will work everywhere.  */
@@ -27,7 +29,11 @@ SECTIONS
 
   /* With luck this will be enough to get the program working.  */
   .text : { *(.text) }
+  . += 0x100000;
+  . = ALIGN(0x100);
   .data : { *(.data) }
+  .got : { *(.got .toc) }
+  .got.plt : { *(.got.plt) }
   .bss : { *(.bss) }
 
   /* Now the real test.  */
@@ -45,7 +51,7 @@ SECTIONS
     /* This should match the remaining sections.  */
     *(.gold_test)
 
-    . = . + 4;
+    . = 60;
     start_data = .;
     BYTE(1)
     SHORT(2)
@@ -60,4 +66,5 @@ SECTIONS
     end_fill = .;
   }
   end_test_area = .;
+  test_addr = ADDR(.gold_test);
 }
This page took 0.025478 seconds and 4 git commands to generate.