/* 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.
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
+test_addr_alias = test_addr;
+
SECTIONS
{
/* With luck this will work everywhere. */
/* 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. */
/* This should match the remaining sections. */
*(.gold_test)
- . = . + 4;
+ . = 60;
start_data = .;
BYTE(1)
SHORT(2)
end_fill = .;
}
end_test_area = .;
+ test_addr = ADDR(.gold_test);
}