X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=ld%2Fldctor.h;h=2ff3e9c1869c07fa7695bf2d3aba897427ab9aa1;hb=1db6f990303ab6c45909f8e133641ef6c24a04d2;hp=5608ff7cbe978dd4728853a4204170c8d484effc;hpb=75be928bd2cbcc431c59bb3b9f20a7c002fc2022;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ldctor.h b/ld/ldctor.h index 5608ff7cbe..2ff3e9c186 100644 --- a/ld/ldctor.h +++ b/ld/ldctor.h @@ -1,23 +1,22 @@ /* ldctor.h - linker constructor support - Copyright 1991, 1992, 1993, 1994, 1995, 1998, 2000, 2002, 2003 - Free Software Foundation, Inc. + Copyright (C) 1991-2020 Free Software Foundation, Inc. -This file is part of GLD, the Gnu Linker. + This file is part of the GNU Binutils. -GLD 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 2, or (at your option) -any later version. + 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. -GLD 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. + 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 GLD; see the file COPYING. If not, write to the Free -Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA -02110-1301, USA. */ + 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. */ #ifndef LDCTOR_H #define LDCTOR_H @@ -41,7 +40,10 @@ struct set_info { }; struct set_element { - struct set_element *next; /* Next element. */ + union { + struct set_element *next; /* Next element. */ + long idx; + } u; const char *name; /* Name in set (may be NULL). */ asection *section; /* Section of value in set. */ bfd_vma value; /* Value in set. */