projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ENABLE_CHECKING in bfd, opcodes, binutils, ld
[binutils-gdb.git]
/
ld
/
ldctor.h
diff --git
a/ld/ldctor.h
b/ld/ldctor.h
index 5608ff7cbe978dd4728853a4204170c8d484effc..6efe349bb833b9e3d9a66a830a84e9092ac77c0f 100644
(file)
--- a/
ld/ldctor.h
+++ b/
ld/ldctor.h
@@
-1,23
+1,22
@@
/* ldctor.h - linker constructor support
/* ldctor.h - linker constructor support
- Copyright 1991, 1992, 1993, 1994, 1995, 1998, 2000, 2002, 2003
- Free Software Foundation, Inc.
+ Copyright (C) 1991-2021 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 Fre
e
-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 Softwar
e
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+
MA
02110-1301, USA. */
#ifndef LDCTOR_H
#define LDCTOR_H
#ifndef LDCTOR_H
#define LDCTOR_H
@@
-28,7
+27,7
@@
extern lang_statement_list_type constructor_list;
/* Whether the constructors should be sorted. Note that this is
global for the entire link; we assume that there is only a single
CONSTRUCTORS command in the linker script. */
/* Whether the constructors should be sorted. Note that this is
global for the entire link; we assume that there is only a single
CONSTRUCTORS command in the linker script. */
-extern b
fd_boolean
constructors_sorted;
+extern b
ool
constructors_sorted;
/* We keep a list of these structures for each set we build. */
/* We keep a list of these structures for each set we build. */
@@
-41,7
+40,10
@@
struct set_info {
};
struct set_element {
};
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. */
const char *name; /* Name in set (may be NULL). */
asection *section; /* Section of value in set. */
bfd_vma value; /* Value in set. */