Ulrich Drepper | 3d413d4 | 2005-08-28 16:18:57 +0000 | [diff] [blame] | 1 | 2005-08-28 Ulrich Drepper <drepper@redhat.com> |
| 2 | |
Ulrich Drepper | 6abe27b | 2005-08-29 06:25:06 +0000 | [diff] [blame^] | 3 | * 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 Drepper | 3d413d4 | 2005-08-28 16:18:57 +0000 | [diff] [blame] | 14 | * Makefile.am: Use $(LINK) not $(CC) when creating DSO. |
Ulrich Drepper | c2c3b1e | 2005-08-28 17:59:03 +0000 | [diff] [blame] | 15 | (%.os): Use COMPILE.os. |
| 16 | (COMPILE.os): Filter out gconv options. |
Ulrich Drepper | 3d413d4 | 2005-08-28 16:18:57 +0000 | [diff] [blame] | 17 | |
Ulrich Drepper | 490063e | 2005-08-28 02:46:32 +0000 | [diff] [blame] | 18 | 2005-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 Drepper | 5d83229 | 2005-08-15 21:36:27 +0000 | [diff] [blame] | 25 | 2005-08-15 Ulrich Drepper <drepper@redhat.com> |
| 26 | |
Ulrich Drepper | e529461 | 2005-08-15 22:19:26 +0000 | [diff] [blame] | 27 | * elf_begin.c (__libelf_next_arhdr): Use TEMP_FAILURE_RETRY. |
| 28 | |
Ulrich Drepper | 5d83229 | 2005-08-15 21:36:27 +0000 | [diff] [blame] | 29 | * 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 Drepper | 0f6abbb | 2005-08-13 22:35:15 +0000 | [diff] [blame] | 34 | 2005-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 McGrath | e9c4e8e | 2005-08-13 03:37:49 +0000 | [diff] [blame] | 41 | 2005-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 Drepper | b03b057 | 2005-08-07 08:12:22 +0000 | [diff] [blame] | 46 | 2005-08-07 Ulrich Drepper <drepper@redhat.com> |
| 47 | |
| 48 | * elf.h: Update from glibc. |
| 49 | |
Ulrich Drepper | 47be795 | 2005-08-07 04:41:39 +0000 | [diff] [blame] | 50 | 2005-08-06 Ulrich Drepper <drepper@redhat.com> |
| 51 | |
| 52 | * Makefile.am (AM_CFLAGS): Add -fpic when BUILD_STATIC. |
| 53 | |
Ulrich Drepper | acb8983 | 2005-08-04 07:01:49 +0000 | [diff] [blame] | 54 | 2005-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 Drepper | 41de488 | 2005-08-03 00:02:56 +0000 | [diff] [blame] | 59 | 2005-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 Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 69 | 2005-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 | |
| 80 | 2005-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 | |
| 89 | 2005-05-11 Ulrich Drepper <drepper@redhat.com> |
| 90 | |
| 91 | * elf.h: Update again. |
| 92 | |
| 93 | 2005-05-09 Ulrich Drepper <drepper@redhat.com> |
| 94 | |
| 95 | * elf.h: Update from glibc. |
| 96 | |
| 97 | 2005-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 | |
| 102 | 2005-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 | |
| 111 | 2005-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 | |
| 119 | 2005-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 | |
| 134 | 2005-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 | |
| 140 | 2005-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 | |
| 148 | 2004-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 | |
| 158 | 2004-04-01 Ulrich Drepper <drepper@redhat.com> |
| 159 | |
| 160 | * elf.h: Update from glibc. |
| 161 | |
| 162 | 2004-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 | |
| 179 | 2004-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 | |
| 186 | 2004-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 | |
| 192 | 2003-09-24 Ulrich Drepper <drepper@redhat.com> |
| 193 | |
| 194 | * elf.h: Define some PT_IA_64_HP_* constants. |
| 195 | |
| 196 | 2003-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 | |
| 201 | 2003-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 | |
| 207 | 2003-08-11 Ulrich Drepper <drepper@redhat.com> |
| 208 | |
| 209 | * Moved to CVS archive. |