binutils-gdb/gold/testsuite/script_test_10.t
H.J. Lu 29700bfff4 gold: Discard .note.gnu.property section
Discard .note.gnu.property section since it changes the expected section
order.

	PR gold/23503
	* testsuite/Makefile.am (justsyms_lib): Pass
	-T $(srcdir)/justsyms_lib.t to gold.
	* testsuite/Makefile.in: Regenerated.
	* testsuite/justsyms_lib.t: New file.
	* testsuite/script_test_10.t: Discard .note.gnu.property section.
2020-10-13 05:22:08 -07:00

36 lines
1.1 KiB
Raku

/* script_test_10.t -- test section order for gold.
Copyright (C) 2010-2020 Free Software Foundation, Inc.
Written by Viktor Kutuzov <vkutuzov@accesssoftek.com>.
This file is part of gold.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
SECTIONS
{
.text : { *(.text) }
.sec0 : { *(.sec0) }
.sec1 : { *(.sec1) }
.sec2 : { *(.sec2) }
.secz : { *(.secz) }
.sec3 : { *(.sec3) }
.data : { *(.data) }
.bss : { *(.bss) }
/DISCARD/ : { *(.note.gnu.property) }
}