blob: 35667cee3c5731763dc71faa4c09f9b779fb0ffa [file] [log] [blame]
Roland McGrath89757442005-09-11 09:05:20 +000012005-09-09 Roland McGrath <roland@redhat.com>
2
3 * elf_update.c (write_file): Stat the file and fchmod it after update
4 if its mode had S_ISUID or S_ISGID bits set.
5
Ulrich Drepperfbe998a2005-08-29 16:27:10 +000062005-08-28 Ulrich Drepper <drepper@redhat.com>
7
8 * elf32_getphdr.c: Include <system.h>. Use pread_retry instead of
9 pread. And branch prediction where useful.
10 * elf_begin.c: Likewise.
11 * elf_getdata.c: Likewise.
12 * elf_getshstrndx.c: Likewise.
13 * elf_readall.c: Likewise.
14 * gelf_rawchunk.c: Likewise.
15 * elf32_updatefile.c: Include <system.h>. Use pread_retry instead of
16 pread. And branch prediction where useful.
17 * elf_getarsym.c: Don't define pread_retry here.
18
19 * Makefile.am: Use $(LINK) not $(CC) when creating DSO.
20 (%.os): Use COMPILE.os.
21 (COMPILE.os): Filter out gconv options.
22
232005-08-27 Ulrich Drepper <drepper@redhat.com>
24
25 * elf_begin.c (file_read_elf): Avoid reading ELF header from file
26 again. Instead accept additional parameter which points to it if we
27 don't use mmap.
28 (get_shnum): Use passed in e_ident value as source of ELF header.
29
Ulrich Drepper5d832292005-08-15 21:36:27 +0000302005-08-15 Ulrich Drepper <drepper@redhat.com>
31
Ulrich Dreppere5294612005-08-15 22:19:26 +000032 * elf_begin.c (__libelf_next_arhdr): Use TEMP_FAILURE_RETRY.
33
Ulrich Drepper5d832292005-08-15 21:36:27 +000034 * Makefile (libelf_a_SOURCES): Add elf_getaroff.c.
35 * libelf.map: Export elf_getaroff.
36 * libelf.h: Declare elf_getaroff.
37 * elf_getaroff.c: New file.
38
Ulrich Drepper0f6abbb2005-08-13 22:35:15 +0000392005-08-13 Ulrich Drepper <drepper@redhat.com>
40
41 * elf_begin.c (get_shnum): Optimize memory handling. Always read from
42 mapped file if available. Fix access to 64-bit sh_size. Recognize
43 overflow.
44 (file_read_elf): Likewise.
45
Roland McGrathe9c4e8e2005-08-13 03:37:49 +0000462005-08-12 Roland McGrath <roland@redhat.com>
47
48 * elf32_offscn.c: Do not match empty sections at OFFSET unless
49 there are no nonempty sections at that offset.
50
Ulrich Drepperb03b0572005-08-07 08:12:22 +0000512005-08-07 Ulrich Drepper <drepper@redhat.com>
52
53 * elf.h: Update from glibc.
54
Ulrich Drepper47be7952005-08-07 04:41:39 +0000552005-08-06 Ulrich Drepper <drepper@redhat.com>
56
57 * Makefile.am (AM_CFLAGS): Add -fpic when BUILD_STATIC.
58
Ulrich Drepperacb89832005-08-04 07:01:49 +0000592005-08-03 Ulrich Drepper <drepper@redhat.com>
60
61 * libelf.map: Move elf32_offscn, elf64_offscn, and gelf_offscn in
62 new version ELFUTILS_1.1.1.
63
Ulrich Drepper41de4882005-08-03 00:02:56 +0000642005-08-02 Ulrich Drepper <drepper@redhat.com>
65
66 * elf_error.c: Add handling of ELF_E_INVALID_OFFSET.
67 * elf32_offscn.c: New file.
68 * elf64_offscn.c: New file.
69 * gelf_offscn.c: New file.
70 * Makefile.am (libelf_a_SOURCES): Add elf32_offscn.c, elf64_offscn.c,
71 and gelf_offscn.c.
72 * libelf.sym: Export new symbols.
73
Ulrich Drepperb08d5a82005-07-26 05:00:05 +0000742005-07-23 Ulrich Drepper <drepper@redhat.com>
75
76 * elf-knowledge.h (SECTION_STRIP_P): Don't handle removal of debug
77 sections here anymore.
78 * elf32_checksum.c: Adjust for change in SECTION_STRIP_P interface.
79
80 * elf_update.c (elf_update): Get write lock, not read lock.
81
82 * elf32_updatenull.c (updatenull): Get section headers if necessary
83 and possible.
84
852005-07-22 Ulrich Drepper <drepper@redhat.com>
86
87 * elf32_updatenull.c (updatenull): If program header hasn't been loaded
88 yet, try to do it now.
89 Don't unnecessarily update overflow of section count in zeroth section
90 sh_size field.
91 If section content hasn't been read yet, do it before looking for the
92 block size. If no section data present, infer size of section header.
93
942005-05-11 Ulrich Drepper <drepper@redhat.com>
95
96 * elf.h: Update again.
97
982005-05-09 Ulrich Drepper <drepper@redhat.com>
99
100 * elf.h: Update from glibc.
101
1022005-05-08 Roland McGrath <roland@redhat.com>
103
104 * elf_begin.c (read_file) [_MUDFLAP]: Don't use mmap for now.
105 * elf_update.c (write_file) [_MUDFLAP]: Likewise.
106
1072005-03-29 Ulrich Drepper <drepper@redhat.com>
108
109 * elf32_checksum.c: Use INTUSE and INTDEF to avoid PLTs.
110 * elf_end.c: Likewise.
111 * elf_getdata.c: Likewise.
112 * gelf_getehdr.c: Likewise.
113 * nlist.c: Likewise.
114 * libelfP.h: Add declarations of internal functions.
115
1162005-02-15 Ulrich Drepper <drepper@redhat.com>
117
118 * common.h (CONVERT): Make sure all values are unsigned.
119 (CONVERT_TO): Likewise.
120
121 * Makefile.am (AM_CFLAGS): Add -Wformat=2.
122 Fix rule to build libelf.so.
123
1242005-02-06 Ulrich Drepper <drepper@redhat.com>
125
126 * Makefile.am: Cleanup AM_CFLAGS handling. Add -Wunused -Wextra.
127 Remove lint handling.
128 * elf32_getphdr.c: Minor cleanups.
129 * elf32_getshdr.c: Likewise.
130 * elf32_updatefile.c: Likewise.
131 * elf32_updatenull.c: Likewise.
132 * elf_begin.c: Likewise.
133 * elf_error.c: Likewise.
134 * elf_getarsym.c: Likewise.
135 * elf_getdata.c: Likewise.
136 * elf_update.c: Likewise.
137 * gelf_xlate.c: Likewise.
138
1392005-02-05 Ulrich Drepper <drepper@redhat.com>
140
141 * Makefile.am: Check for text relocations in constructed DSO.
142
143 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -Werror -fpic -fmudflap.
144
1452005-02-04 Ulrich Drepper <drepper@redhat.com>
146
147 * gelf_getehdr.c (gelf_getehdr): Slight optimization.
148
149 * elf32_checksum.c (checksum): Do not look at NOBITS sections.
150
151 * gelf.h: Add gelf_checksum prototype.
152
1532004-09-25 Ulrich Drepper <drepper@redhat.com>
154
155 * elf32_checksum.c: Make compile with gcc 4.0.
156 * elf32_updatefile.c: Likewise.
157 * elf32_updatenull.c: Likewise.
158 * elf_begin.c: Likewise.
159 * elf_error.c: Likewise.
160 * elf_getdata.c: Likewise.
161 * elf_getident.c: Likewise.
162
1632004-04-01 Ulrich Drepper <drepper@redhat.com>
164
165 * elf.h: Update from glibc.
166
1672004-01-23 Ulrich Drepper <drepper@redhat.com>
168
169 * elf_update.c: Fix locking.
170 * elf_clone.c: Likewise.
171
172 * libelf.h: Define ELF_T_LIB.
173 * gelf_getlib.c: New file.
174 * gelf_update_lib.c: New file.
175 * gelf.h: Declare the new functions. Define GElf_Lib.
176 * abstract.h: Define Lib, Lib32, Lib64.
177 * gelf_xlate.c (__elf_xfctstom): Add ELF_T_LIB entry.
178 * gelf_xlate.h: Add entry for ElfXX_Lib.
179 * elf_getdata.c: Recognize SHT_GNU_LIBLIST as a known section type.
180 * libelf.map: Add new symbols to ELFUTILS_1.1.
181 * Makefile.am (libelf_a_SOURCES): Add gelf_getlib.c and
182 gelf_update_lib.c.
183
1842004-01-17 Ulrich Drepper <drepper@redhat.com>
185
186 * Makefile.am: Support building with mudflap.
187
188 * gelf_xlate.c (INLINE3): Avoid using cast as lvalue.
189 * dl-hash.h (_dl_elf_hash): Likewise.
190
1912004-01-05 Ulrich Drepper <drepper@redhat.com>
192
193 * elf-knowledge.h: New file. From libelf subdir.
194 * Makefile.am (euincludedir): Define.
195 (euinclude_HEADERS): Add elf-knowledge.h.
196
1972003-09-24 Ulrich Drepper <drepper@redhat.com>
198
199 * elf.h: Define some PT_IA_64_HP_* constants.
200
2012003-09-23 Jakub Jelinek <jakub@redhat.com>
202
203 * libelfP.h (struct Elf): Move state.elf64.sizestr_offset after
204 state.elf64.scnincr to match state.elf{,32}.
205
2062003-08-12 Ulrich Drepper <drepper@redhat.com>
207
208 * elf32_updatefile.c (__updatemmap): When writing back file where
209 some sections have not been read in, count their sizes based on
210 the section header.
211
2122003-08-11 Ulrich Drepper <drepper@redhat.com>
213
214 * Moved to CVS archive.