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