1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
|
2016-08-17 Mark Hatle <mark.hatle@windriver.com>
* dl-open.c: Change function to work with older compilers
2016-03-18 Donn Seeley <donn.seeley@windriver.com>
* rtld.c: rewrite build_local_scope to ensure breadth-first
processing
2016-03-18 Mark Hatle <mark.hatle@windriver.com>
* dl-open.c, rtld.h, Makefile.am: Add _dl_show_scope function
* rtld.c: Use _dl_show_scope if RTLD_DEBUG=scopes defined
Generate a scope for the exectuable
* rtld.h, ../dso.c: Fix compilation warning
2016-03-10 Mark Hatle <mark.hatle@windriver.com>
* rtld/: Rsync to glibc-2.23 (no functional changes)
* dl-load.c: Fix segfault on empty dso entry
2015-10-28 Mark Hatle <mark.hatle@windriver.com>
* dl-lookupX.h: Sync with glibc fix for ld.so / prelink mismatch
2015-10-28 H.J. Lu <hongjiu.lu@intel.com>
[BZ #19178]
* elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
(RTYPE_CLASS_PLT): Likewise.
(RTYPE_CLASS_COPY): Likewise.
(RTYPE_CLASS_TLS): Likewise.
(_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
to set relocation type class for DL_DEBUG_PRELINK. Clear the
ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA bit for DL_DEBUG_PRELINK.
2015-10-21 Mark Hatle <mark.hatle@windriver.com>
* rtld/: Resync to glibc-2.22
* rtld/*: Update copyright dates to match glibc-2.22
* rtld/rtld.c: Update the elf_machine_type class entries
Add support for ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA via
new extern_protected_data function.
rename reloc_typeclass to elf_machine_type_class
add machine_no_rela, machine_no_rel funcs
Update debug msg
Fix missing dso_list->map = NULL
* rtld/dl-tls.c: (rtld_determine_tlsoffsets) add NIOS2 definition
* rtld/dl-lookup.c: Add EXTERN_PROTECTED_DATA support
* rtld/dl-lookupX.h: Add EXTERN_PROTECTED_DATA support
update debug msgs
* rtld/dl-load.c: (create_map_object_from_dso_ent) Add ld.so like debug
When an executable sets a load address use it
Update the load address calculation, prevents visual overlaps
* rtld/dl-version.c: update debug msgs
* rtld/rtld.h: define _dl_debug_printf to act like ld.so debug
define RTLD_DEBUG_PID to set the debug prefix
* glibc changes directly affecting the implementation:
2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Alan Modra <amodra@gmail.com>
* libc/sysdeps/powerpc/powerpc64/dl-machine.h
(elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
Sandra Loosemore <sandra@codesourcery.com>
Andrew Jenner <andrew@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
* sysdeps/nios2/dl-machine.h: New file.
2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
* elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
indicates it is called from do_lookup_x on relocation against
protected data, skip the data definion in the executable from
copy reloc.
(_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
* sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
* sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
* sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
* sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2015-09-11 Vaneet Narang <v.narang@samsung.com>
* rtld/rtld.c: Add ability to specify preloaded libraries
2015-09-09 Maninder Singh <maninder1.s@samsung.com>
Mark Hatle <mark.hatle@windriver.com>
* rtld/rtld.c: dso null pointer check fix
2015-04-06 Mark Hatle <mark.hatle@windriver.com>
Maninder Singh <maninder1.s@samsung.com>
* rtld/dl-version.c: Add debug for mising ld-linux or libc.so
2014-12-10 Mark Hatle <mark.hatle@windriver.com>
* rtld/rtld.c: Sync aarch64 elf_machine_type_class (dl-machine.h)
(do_relocs): fix comparison pltrel_end >= rel_end
* rtld/dl-tls.c: Add basic aarch64 support
2014-12-10 Mark Hatle <mark.hatle@windriver.com>
* rtld/: Resync to glibc-2.20
Replace referenced to GLRO_dl_debug_mask to
GLRO(dl_debug_mask)
* rtld/rtld.h: Sync DL_DEBUG_* defines from ldsodefs.h
add DSO_FILENAME and RTLD_PROGNAME definitions
Move to __glibc_unlikely/likely instead of __builtin_expect
rename link_map and update unique_sym_table to match glibc
* rtld/dl-hash.h:
Apply glibc changes:
2011-12-03 Ulrich Drepper <drepper@gmail.com>
Fix more warnings
2011-12-04 Ulrich Drepper <drepper@gmail.com>
Fix attreibute for _dl_elf_hash
2011-12-04 Ulrich Drepper <drepper@gmail.com>
Small optimization of generic ELF hash function
2011-12-10 Ulrich Drepper <drepper@gmail.com>
Optimize generic ELF hash function a bit more
2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
Replace FSF snail mail address with URLs.
2013-01-02 Joseph Myers <joseph@codesourcery.com>
Update copyright notices with scripts/update-copyrights.
2014-01-01 Allan McRae <allan@archlinux.org>
Update copyright notices with scripts/update-copyrights
* rtld/dl-load.c: split (_dl_new_object) move to dl-object
Remove VERSYMIDX, already defined in rtld.h
Apply glibc changes:
2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
Replace FSF snail mail address with URLs.
2012-04-04 Siddhesh Poyarekar <siddhesh@redhat.com>
(Updated copyright date)
2013-01-02 Joseph Myers <joseph@codesourcery.com>
Update copyright notices with scripts/update-copyrights.
2014-01-01 Allan McRae <allan@archlinux.org>
Update copyright notices with scripts/update-copyrights
2014-02-10 Ond<C5><99>ej B<C3><AD>lka <neleai@seznam.cz>
Use glibc_likely instead __builtin_expect.
* rtld/dl-object.c:
Apply glibc changes:
2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
[BZ #387]
* elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
it is empty.
* rtld/dl-lookup.c, rtld/dl-lookupX.h:
Apply glibc changes:
2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
Replace FSF snail mail address with URLs.
2012-04-05 David S. Miller <davem@davemloft.net>
* elf/dl-lookup (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
undefined symbol errors.
2012-08-14 Roland McGrath <roland@hack.frob.com>
(Updated copyright date)
2013-01-02 Joseph Myers <joseph@codesourcery.com>
Update copyright notices with scripts/update-copyrights.
2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
Avoid crashing in LD_DEBUG when program name is unavailable
2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
Avoid passing NULL to DSO_FILENAME.
2014-01-01 Allan McRae <allan@archlinux.org>
Update copyright notices with scripts/update-copyrights
2014-02-10 Ond<C5><99>ej B<C3><AD>lka <neleai@seznam.cz>
Use glibc_likely instead __builtin_expect.
2014-02-11 Joseph Myers <joseph@codesourcery.com>
Merge MIPS dl-lookup.c into generic file.
* elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
already defined.
(do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
* sysdeps/mips/dl-lookup.c: Remove.
* sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
2014-02-28 Carlos O'Donell <carlos@redhat.com>
Promote do_lookup_x:check_match to a full function.
2014-04-02 Will Newton <will.newton@linaro.org>
elf/dl-lookup.c: Remove obsolete comment about nested function
* elf/dl-lookup.c (do_lookup_x): Remove comment
referring to nested function and move variable
declarations down to before first use.
2014-04-04 Will Newton <will.newton@linaro.org>
elf/dl-lookup.c: Remove unnecessary static variable
* elf/dl-lookup.c (undefined_msg): Remove variable.
(_dl_lookup_symbol_x): Replace undefined_msg with string
literal.
2014-04-11 Will Newton <will.newton@linaro.org>
elf/dl-lookup.c: Use __glibc_likely and __glibc_unlikely
* rtld/dl-misc.c:
Apply glibc changes:
2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
Replace FSF snail mail address with URLs.
2013-01-02 Joseph Myers <joseph@codesourcery.com>
Update copyright notices with scripts/update-copyrights.
2014-01-01 Allan McRae <allan@archlinux.org>
Update copyright notices with scripts/update-copyrights
* rtld/dl-tls.c:
Sync spacing with glibc for easier diffs (content remained the same)
Apply glibc changes:
2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
Replace FSF snail mail address with URLs.
2014-01-01 Allan McRae <allan@archlinux.org>
Update copyright notices with scripts/update-copyrights
* rtld/dl-version:
Apply glibc changes:
2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
Replace FSF snail mail address with URLs.
2013-01-02 Joseph Myers <joseph@codesourcery.com>
Update copyright notices with scripts/update-copyrights.
2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
Avoid crashing in LD_DEBUG when program name is unavailable
2014-01-01 Allan McRae <allan@archlinux.org>
Update copyright notices with scripts/update-copyrights
2014-02-10 Ond<C5><99>ej B<C3><AD>lka <neleai@seznam.cz>
Use glibc_likely instead __builtin_expect.
2014-12-10 Mark Hatle <mark.hatle@windriver.com>
* rtld/COPYING, rtld/COPYING.LIB,
rtld/ChangeLog, rtld/README-rtld: Add local history
information to setup for a resync to glibc-2.20
2012-09-12 Joseph Myers <joseph@codesourcery.com>
* rtld/dl-lookup.c: Fix variable copy reloc when host/target
byte size is different
2012-04-10 Maxim Kuvyrkov <maxim@codesourcery.com>
* rtld/rtld.c (find_lib_by_soname): Follow ld.so's behavior of
pulling its name from PT_INTERP.
2012-01-26 Mark Hatle <mark.hatle@windriver.com>
* elf.h, rtld/dl-lookupX.h, rtld/rtld.c: Sync to eglibc 2.15
2011-12-08 Mark Hatle <mark.hatle@windriver.com>
* rtld/rtld.c: Add support for $ORIGIN, $PLATFORM and $LIB.
Note: $PLATFORM = ""
2011-12-08 Mark Hatle <mark.hatle@windriver.com>
* rtld/rtld.c: Fix an issue where missing objects would trigger
an assert in dl-version.c
* rtld/rtld.h: Add _dl_new_object prototype
2011-09-13 Mark Hatle <mark.hatle@windriver.com>
* Fix printf problem causing prelink-rtld issues on x86 (32-bit)
and arm
2011-08-26 Mark Hatle <mark.hatle@windriver.com>
* Add a special check for invalid GNU_HASH entries
2011-08-26 Mark Hatle <mark.hatle@windriver.com>
* Sync to eglibc 2.13 ld.so code
* sync elf_machine_type_class macros for supports archs
2011-08-26 Mark Hatle <mark.hatle@windriver.com>
* Sync to eglibc 2.13 ld.so code
* mips specific items from ports
2011-08-26 Mark Hatle <mark.hatle@windriver.com>
* Rename ld-libs.c to rtld.c
* Sync to eglibc 2.13 ld.so code
2011-08-18 Mark Hatle <mark.hatle@windriver.com>
* Move prelink-rtld specific components to rtld
|