Roland McGrath | 8975744 | 2005-09-11 09:05:20 +0000 | [diff] [blame^] | 1 | 2005-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 Drepper | fbe998a | 2005-08-29 16:27:10 +0000 | [diff] [blame] | 6 | 2005-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 | |
| 23 | 2005-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 Drepper | 5d83229 | 2005-08-15 21:36:27 +0000 | [diff] [blame] | 30 | 2005-08-15 Ulrich Drepper <drepper@redhat.com> |
| 31 | |
Ulrich Drepper | e529461 | 2005-08-15 22:19:26 +0000 | [diff] [blame] | 32 | * elf_begin.c (__libelf_next_arhdr): Use TEMP_FAILURE_RETRY. |
| 33 | |
Ulrich Drepper | 5d83229 | 2005-08-15 21:36:27 +0000 | [diff] [blame] | 34 | * 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 Drepper | 0f6abbb | 2005-08-13 22:35:15 +0000 | [diff] [blame] | 39 | 2005-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 McGrath | e9c4e8e | 2005-08-13 03:37:49 +0000 | [diff] [blame] | 46 | 2005-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 Drepper | b03b057 | 2005-08-07 08:12:22 +0000 | [diff] [blame] | 51 | 2005-08-07 Ulrich Drepper <drepper@redhat.com> |
| 52 | |
| 53 | * elf.h: Update from glibc. |
| 54 | |
Ulrich Drepper | 47be795 | 2005-08-07 04:41:39 +0000 | [diff] [blame] | 55 | 2005-08-06 Ulrich Drepper <drepper@redhat.com> |
| 56 | |
| 57 | * Makefile.am (AM_CFLAGS): Add -fpic when BUILD_STATIC. |
| 58 | |
Ulrich Drepper | acb8983 | 2005-08-04 07:01:49 +0000 | [diff] [blame] | 59 | 2005-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 Drepper | 41de488 | 2005-08-03 00:02:56 +0000 | [diff] [blame] | 64 | 2005-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 Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 74 | 2005-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 | |
| 85 | 2005-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 | |
| 94 | 2005-05-11 Ulrich Drepper <drepper@redhat.com> |
| 95 | |
| 96 | * elf.h: Update again. |
| 97 | |
| 98 | 2005-05-09 Ulrich Drepper <drepper@redhat.com> |
| 99 | |
| 100 | * elf.h: Update from glibc. |
| 101 | |
| 102 | 2005-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 | |
| 107 | 2005-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 | |
| 116 | 2005-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 | |
| 124 | 2005-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 | |
| 139 | 2005-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 | |
| 145 | 2005-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 | |
| 153 | 2004-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 | |
| 163 | 2004-04-01 Ulrich Drepper <drepper@redhat.com> |
| 164 | |
| 165 | * elf.h: Update from glibc. |
| 166 | |
| 167 | 2004-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 | |
| 184 | 2004-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 | |
| 191 | 2004-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 | |
| 197 | 2003-09-24 Ulrich Drepper <drepper@redhat.com> |
| 198 | |
| 199 | * elf.h: Define some PT_IA_64_HP_* constants. |
| 200 | |
| 201 | 2003-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 | |
| 206 | 2003-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 | |
| 212 | 2003-08-11 Ulrich Drepper <drepper@redhat.com> |
| 213 | |
| 214 | * Moved to CVS archive. |