Home | History | Annotate | Download | only in libelf
      1 2008-12-11  Roland McGrath  <roland (a] redhat.com>
      2 
      3 	* elf32_updatefile.c (__elfw2(LIBELFBITS,updatemmap)): Handle
      4 	placement offset going backwards, for out-of-order or overlapping
      5 	(bogus) sh_offset layouts.  It's a dumb use, but should not crash.
      6 	(__elfw2(LIBELFBITS,updatefile)): Likewise.
      7 	Fixes RHBZ#476136.
      8 
      9 	* libelf.h (Elf_Data): Whitespace fix.
     10 
     11 2008-12-10  Roland McGrath  <roland (a] redhat.com>
     12 
     13 	* elf_getarhdr.c (elf_getarhdr): Fix missing rename in last change.
     14 
     15 2008-10-22  Petr Machata  <pmachata (a] redhat.com>
     16 
     17 	* elf_rawfile.c (elf_rawfile): Lock around elf-> references.
     18 
     19 2008-10-21  Petr Machata  <pmachata (a] redhat.com>
     20 
     21 	* libelfP.h: Rename getehdr_rdlock to getehdr_wrlock.
     22 	* elf32_getehdr.c (getehdr_rdlock): Move the code to new function
     23 	getehdr_impl and make it a wrapper.  Rename to getehdr_wrlock.
     24 	(getehdr_impl): Guard elf->class init with wrlock.
     25 	(getehdr): Also make it a wrapper of getehdr_impl.
     26 	* elf32_updatenull.c (updatenull_wrlock): Call getehdr_wrlock.
     27 
     28 2008-10-20  Petr Machata  <pmachata (a] redhat.com>
     29 
     30 	* elf_getdata_rawchunk.c (elf_getdata_rawchunk): Lock around the
     31 	code that reads mutable elf state.  Relock to write lock to chain
     32 	the new chunk on the elf rawchunks list.
     33 
     34 2008-10-20  Petr Machata  <pmachata (a] redhat.com>
     35 
     36 	* elf32_checksum.c (checksum): Place a lock around the code that
     37 	processes data.  Make it wrlock if the code needs to xlate the
     38 	data before processing.
     39 
     40 2008-10-16  Petr Machata  <pmachata (a] redhat.com>
     41 
     42 	* elf_begin.c
     43 	(__libelf_next_arhdr): Rename to __libelf_next_arhdr_wrlock.
     44 	(dup_elf): Adjust the call.
     45 	(elf_begin): New local function lock_dup_elf.  Relocks the elf if
     46 	necessary before calling dup.  Call this instead of dup_elf.
     47 	* elf_getarhdr.c
     48 	(elf_getarhdr): Lock before calling __libelf_next_arhdr_wrlock.
     49 	* elf_next.c (elf_next): Likewise.
     50 	* elf_rand.c (elf_rand): Likewise.
     51 
     52 2008-10-14  Petr Machata  <pmachata (a] redhat.com>
     53 
     54 	* elf_getdata.c (__elf_getdata_rdlock): Lock before converting.
     55 
     56 2008-11-26  Roland McGrath  <roland (a] redhat.com>
     57 
     58 	* elf.h: Update from glibc.
     59 
     60 2008-10-06  Roland McGrath  <roland (a] redhat.com>
     61 
     62 	* elf_getarhdr.c (elf_getarhdr): Return NULL when passed NULL.
     63 
     64 2008-08-27  Roland McGrath  <roland (a] redhat.com>
     65 
     66 	* elf_begin.c (get_shnum): Avoid misaligned reads for matching endian.
     67 
     68 	* libelfP.h [!ALLOW_UNALIGNED] (__libelf_type_align): Fix CLASS index.
     69 
     70 2008-08-25  Roland McGrath  <roland (a] redhat.com>
     71 
     72 	* Makefile.am (libelf_so_LDLIBS): New variable.
     73 	(libelf.so): Use it in the link.
     74 
     75 2008-08-21  Petr Machata  <pmachata (a] redhat.com>
     76 
     77 	* elf_getdata.c, libelfP.h
     78 	(__elf_getdata_internal): Rename to __elf_getdata_rdlock.
     79 	(__libelf_set_rawdata_wrlock): New function.
     80 	(__libelf_set_rawdata): Make it a wrapper that calls *_wrlock.
     81 	* elf32_updatenull.c, libelfP.h
     82 	(__elfNN_updatenull): Rename to __elfNN_updatenull_wrlock.
     83 
     84 2008-08-21  Petr Machata  <pmachata (a] redhat.com>
     85 
     86 	* elf32_getphdr.c, libelfP.h
     87 	(__elfNN_getphdr_internal): Drop.  Move __elfNN_getphdr_internal
     88 	code to __elfNN_getphdr_wrlock.
     89 	(__elfNN_getphdr_rdlock, __elfNN_getphdr_wrlock): New functions.
     90 	(__elfNN_getphdr_rdlock, __elfNN_getphdr_wrlock): Make these
     91 	wrappers of getphdr_impl.
     92 
     93 2008-08-21  Petr Machata  <pmachata (a] redhat.com>
     94 
     95 	* elf32_getehdr.c, libelfP.h
     96 	(__elfNN_getehdr_internal): Rename to __elfNN_getehdr_rdlock.
     97 	* gelf_getehdr, libelfP.h:
     98 	(__gelf_getehdr_internal): Rename to __gelf_getehdr_rdlock.
     99 
    100 2008-08-21  Petr Machata  <pmachata (a] redhat.com>
    101 
    102 	* elf32_getshdr.c
    103 	(__elfNN_getshdr_internal): Drop.
    104 	(load_shdr_wrlock, scn_valid): New functions, contain bits of
    105 	behaviour from __elfNN_getshdr_internal.
    106 	(__elfNN_getshdr_rdlock, __elfNN_getshdr_wrlock): Replacements for
    107 	dropped _internal functions above.
    108 	* elf_getshnum.c
    109 	(__elf_getshnum_internal): Rename to __elf_getshnum_rdlock.
    110 
    111 2008-08-04  Petr Machata  <pmachata (a] redhat.com>
    112 
    113 	* libelfP.h (RWLOCK_RDLOCK, RWLOCK_WRLOCK, RWLOCK_UNLOCK): New macros.
    114 
    115 2008-07-28  Roland McGrath  <roland (a] redhat.com>
    116 
    117 	* elf.h: Update from glibc.
    118 
    119 2008-03-31  Roland McGrath  <roland (a] redhat.com>
    120 
    121 	* elf32_offscn.c: Make sure shdrs have been read in.
    122 
    123 2008-02-19  Roland McGrath  <roland (a] redhat.com>
    124 
    125 	* elf.h: Update from glibc.
    126 
    127 2008-02-08  Roland McGrath  <roland (a] redhat.com>
    128 
    129 	* elf.h: Update from glibc.
    130 
    131 2008-01-31  Ulrich Drepper  <drepper (a] redhat.com>
    132 
    133 	* elf_strptr.c (elf_strptr): Don't fail if the ELF file is currently
    134 	under construction and no raw data can be read from disk.
    135 
    136 2008-01-30  Roland McGrath  <roland (a] redhat.com>
    137 
    138 	* elf.h: Update from glibc.
    139 
    140 2008-01-26  Roland McGrath  <roland (a] redhat.com>
    141 
    142 	* elf_begin.c (__libelf_next_arhdr): Rewrite conversions using a macro.
    143 	Fixes various pastos in wrong type in sizeof, wrong string parsed.
    144 
    145 2008-01-20  Roland McGrath  <roland (a] redhat.com>
    146 
    147 	* elf_getaroff.c: Calculate from start_offset, instead of using
    148 	parent's state.ar.offset field.
    149 
    150 2008-01-08  Roland McGrath  <roland (a] redhat.com>
    151 
    152 	* Makefile.am (euinclude): Variable removed.
    153 	(pkginclude_HEADERS): Set this instead of euinclude_HEADERS.
    154 
    155 2008-01-03  Roland McGrath  <roland (a] redhat.com>
    156 
    157 	* common.h: Add __attribute__ ((unused)) to static functions.
    158 
    159 2007-12-20  Ulrich Drepper  <drepper (a] redhat.com>
    160 
    161 	* Makefile.am (libelf_a_SOURCES): Add elf_scnshndx.
    162 	* libelfP.h (struct Elf_Scn): Add shndx_index field.
    163 	Declare __elf_scnshndx_internal.
    164 	* elf32_getshdr.c: Record location of extended section header.
    165 	* elf_begin.c (file_read_elf): Likewise.
    166 	* elf_scnshndx.c: New file.
    167 	* libelf.h: Declare elf_scnshndx.
    168 	* libelf.map: Add elf_scnshndx to version ELFUTILS_1.4.
    169 
    170 2007-11-12  Roland McGrath  <roland (a] redhat.com>
    171 
    172 	* libelf.h: Replace off64_t with loff_t throughout.
    173 	Only that type name is unconditionally defined by <sys/types.h>
    174 
    175 2007-11-03  Roland McGrath  <roland (a] redhat.com>
    176 
    177 	* libelf.h (Elf_Data): Comment fix.
    178 
    179 2007-10-18  Roland McGrath  <roland (a] redhat.com>
    180 
    181 	* elf.h: Update from glibc.
    182 
    183 2007-10-07  Roland McGrath  <roland (a] redhat.com>
    184 
    185 	* elf_begin.c (__libelf_next_arhdr): Fix fencepost error and wrong
    186 	member access in terminating name with no trailing /.  Trim trailing
    187 	spaces when there is no /.
    188 
    189 2007-10-04  Roland McGrath  <roland (a] redhat.com>
    190 
    191 	* elf_end.c (elf_end): Don't free ELF->state.ar.ar_sym when it's -1l.
    192 
    193 2007-10-03  Roland McGrath  <roland (a] redhat.com>
    194 
    195 	* libelf.h (Elf_Data): Use off64_t for d_off.
    196 	(Elf_Arhdr): Use off64_t for ar_size.
    197 	(elf_update, elf_getbase, elf_getaroff): Return off64_t.
    198 
    199 	* gelf_rawchunk.c: File removed.
    200 	* gelf_freechunk.c: File removed.
    201 	* Makefile.am (libelf_a_SOURCES): Remove them.
    202 	* libelf.map (ELFUTILS_1.0): Remove exports.
    203 	* gelf.h: Remove decls.
    204 
    205 	* elf_getdata_rawchunk.c: New file.
    206 	* Makefile.am (libelf_a_SOURCES): Add it.
    207 	* libelf.map (ELFUTILS_1.3): Add elf_getdata_rawchunk.
    208 	* libelf.h: Declare it.
    209 	* libelfP.h (Elf_Data_Chunk): New type.
    210 	(struct Elf.elf): New member `rawchunks'.
    211 	* elf_end.c (elf_end): Free recorded rawchunk buffers.
    212 
    213 2007-08-24  Roland McGrath  <roland (a] redhat.com>
    214 
    215 	* gelf_getnote.c: New file.
    216 	* Makefile.am (libelf_a_SOURCES): Add it.
    217 	* gelf.h: Declare gelf_getnote.
    218 	* libelf.map (ELFUTILS_1.3): Add gelf_getnote.
    219 
    220 	* libelfP.h (NOTE_ALIGN): New macro.
    221 	* note_xlate.h: New file.
    222 	* Makefile.am (noinst_HEADERS): Add it.
    223 	* gelf_xlate.c: Include it.
    224 	(__elf_xfctstom): Use elf_cvt_note.
    225 	* elf_getdata.c (shtype_map, __libelf_type_align): Handle SHT_NOTE.
    226 	(__libelf_set_rawdata): Likewise.
    227 
    228 2007-08-19  Roland McGrath  <roland (a] redhat.com>
    229 
    230 	* gelf_update_auxv.c: New file.
    231 	* gelf_getauxv.c: New file.
    232 	* Makefile.am (libelf_a_SOURCES): Add them.
    233 	* gelf.h: Declare gelf_getauxv, gelf_update_auxv.
    234 	* libelf.map (ELFUTILS_1.3): New set, inherits fom ELFUTILS_1.2.
    235 	Export gelf_getauxv, gelf_update_auxv.
    236 
    237 	* libelf.h (Elf_Type): Add ELF_T_AUXV.
    238 	* abstract.h: Add auxv_t entries.
    239 	* exttypes.h: Likewise.
    240 	* gelf_xlate.h: Likewise.
    241 	* gelf_xlate.c (__elf_xfctstom): Add ELF_T_AUXV entries.
    242 	* gelf_fsize.c (__libelf_type_sizes): Likewise.
    243 
    244 2007-08-12  Roland McGrath  <roland (a] redhat.com>
    245 
    246 	* elf32_updatefile.c (compare_sections): Sort secondarily on sh_size,
    247 	and only tertiarily on index.
    248 
    249 2007-07-09  Roland McGrath  <roland (a] redhat.com>
    250 
    251 	* elf.h: Update from glibc.
    252 
    253 2007-04-22  Roland McGrath  <roland (a] redhat.com>
    254 
    255 	* elf.h: Update from glibc.
    256 
    257 2007-03-18  Roland McGrath  <roland (a] redhat.com>
    258 
    259 	* elf_begin.c (get_shnum): Fix test for e_shoff being out of bounds.
    260 	Return zero when the section headers do not fit within MAXSIZE.
    261 
    262 2007-03-09  Roland McGrath  <roland (a] redhat.com>
    263 
    264 	* libelfP.h (LIBELF_EV_IDX): New macro.
    265 	(__libelf_type_align): New macro.
    266 	[! ALLOW_UNALIGNED]: Declare __libc_type_aligns array.
    267 	* elf_getdata.c (shtype_map): Convert to just Elf_Type[][].
    268 	(convert_data, __libelf_set_rawdata): Use that, __libelf_type_align,
    269 	and __libelf_type_sizes, in place of old table.
    270 	(__libc_type_aligns): New const variable.
    271 
    272 2007-02-04  Ulrich Drepper  <drepper (a] redhat.com>
    273 
    274 	* Makefile (libelf.so): Build with -z relro.
    275 
    276 	* elf_begin.c (read_file): When using ELF_C_READ_MMAP use MAP_PRIVATE.
    277 
    278 2007-01-30  Ulrich Drepper  <drepper (a] redhat.com>
    279 
    280 	* nlist.c: Close file descriptor before returning.
    281 
    282 2007-01-20  Roland McGrath  <roland (a] redhat.com>
    283 
    284 	* gnuhash_xlate.h (elf_cvt_gnuhash): Fix fence-post error so we
    285 	convert the final word.
    286 
    287 	* elf32_getshdr.c: Don't byteswap shdr fields when EI_DATA matches
    288 	MY_ELFDATA on !ALLOW_UNALIGNED machines.
    289 
    290 2007-01-18  Roland McGrath  <roland (a] redhat.com>
    291 
    292 	* gelf_rawchunk.c (gelf_rawchunk): Clear RESULT pointer after freeing
    293 	it on read error.
    294 
    295 2006-10-13  Roland McGrath  <roland (a] redhat.com>
    296 
    297 	* elf32_updatenull.c: Look for and accept phdr also for ET_CORE.
    298 	* elf_error.c (msgstr): Change ELF_E_INVALID_PHDR string.
    299 
    300 2006-08-29  Roland McGrath  <roland (a] redhat.com>
    301 
    302 	* elf32_getphdr.c: Don't byteswap phdr fields when EI_DATA matches
    303 	MY_ELFDATA on !ALLOW_UNALIGNED machines.
    304 	Reported by Christian Aichinger <Greek0 (a] gmx.net>.
    305 
    306 	* Makefile.am (CLEANFILES): Add libelf.so.$(VERSION).
    307 
    308 2006-08-08  Ulrich Drepper  <drepper (a] redhat.com>
    309 
    310 	* elf.h (DT_VALNUM): Update.
    311 	(DT_ADDRNUM): Likewise.
    312 
    313 2006-07-12  Ulrich Drepper  <drepper (a] redhat.com>
    314 
    315 	* elf32_updatefile.c: Adjust for internal_function_def removal.
    316 	* elf32_updatenull.c: Likewise.
    317 	* elf_begin.c: Likewise.
    318 	* elf_getdata.c: Likewise.
    319 
    320 2006-07-11  Ulrich Drepper  <drepper (a] redhat.com>
    321 
    322 	* libelf.h: Define ELF_T_GNUHASH.
    323 	* elf_getdata.c (TYPEIDX): Handle SHT_GNU_HASH.
    324 	(shtype_map): Add SHT_GNU_HASH entries.
    325 	* gelf_xlate.c (__elf_xfctstom): Add ELF_T_GNUHASH entries.
    326 	* gnuhash_xlate.h: New file.
    327 	* Makefile.am (noinst_HEADERS): Add gnuhash_xlate.h.
    328 
    329 2006-07-06  Ulrich Drepper  <drepper (a] redhat.com>
    330 
    331 	* elf_gnu_hash.c: New file.
    332 	* libelf.h: Declare elf_gnu_hash.
    333 	* Makefile.am (libelf_a_SOURCES): Add elf_gnu_hash.
    334 	* libelf.map: Add elf_gnu_map for version ELFUTILS_1.2.
    335 
    336 2006-06-15  Roland McGrath  <roland (a] redhat.com>
    337 
    338 	* libelf.h (elf_getarsym): Fix comment typo.
    339 	Rename second parameter to be more explanatory.
    340 	(elf_getident, elf_rawhide): Likewise.
    341 
    342 2006-05-28  Ulrich Drepper  <drepper (a] redhat.com>
    343 
    344 	* elf32_updatefile.c (updatemmap): Preserve section content if
    345 	copying would overwrite them.
    346 	Fix msync paramters.
    347 
    348 2006-04-04  Roland McGrath  <roland (a] redhat.com>
    349 
    350 	* elf32_updatefile.c (updatemmap): Handle other-endian case.
    351 
    352 2006-04-04  Ulrich Drepper  <drepper (a] redhat.com>
    353 
    354 	* elf32_updatefile.c (updatemmap): Cleanups.  Remove shdr_dest
    355 	variable.  Before writing sections, make a copy of the section
    356 	header data if necessary.  Don't write section header while
    357 	writing the section constent, it might overwrite some sections.
    358 	Restore the pointer afterwards.
    359 	* elf32_updatenull.c (updatenull): If the offset of a section in a
    360 	file changed make sure we read the section so that it'll be written
    361 	out.
    362 
    363 	* elf_update.c: Remove debug message.
    364 
    365 2005-12-07  Roland McGrath  <roland (a] redhat.com>
    366 
    367 	* gelf_xlate.c [! ALLOW_UNALIGNED] (union unaligned): New type.
    368 	(FETCH, STORE): New macros.
    369 	(INLINE3): Use those to do alignment-friendly conversion.
    370 
    371 	* elf32_getshdr.c: Include map_address and start_offset in alignment
    372 	calculations.
    373 	* elf32_getphdr.c: Likewise.
    374 
    375 2005-11-19  Roland McGrath  <roland (a] redhat.com>
    376 
    377 	* elf.h: Update from glibc.
    378 
    379 2005-11-17  Roland McGrath  <roland (a] redhat.com>
    380 
    381 	* elf.h: Update from glibc.
    382 
    383 2005-11-10  Roland McGrath  <roland (a] redhat.com>
    384 
    385 	* elf.h: Update from glibc.
    386 
    387 2005-09-09  Roland McGrath  <roland (a] redhat.com>
    388 
    389 	* elf_update.c (write_file): Stat the file and fchmod it after update
    390 	if its mode had S_ISUID or S_ISGID bits set.
    391 
    392 2005-08-28  Ulrich Drepper  <drepper (a] redhat.com>
    393 
    394 	* elf32_getphdr.c: Include <system.h>.  Use pread_retry instead of
    395 	pread.  And branch prediction where useful.
    396 	* elf_begin.c: Likewise.
    397 	* elf_getdata.c: Likewise.
    398 	* elf_getshstrndx.c: Likewise.
    399 	* elf_readall.c: Likewise.
    400 	* gelf_rawchunk.c: Likewise.
    401 	* elf32_updatefile.c: Include <system.h>.  Use pread_retry instead of
    402 	pread.  And branch prediction where useful.
    403 	* elf_getarsym.c: Don't define pread_retry here.
    404 
    405 	* Makefile.am: Use $(LINK) not $(CC) when creating DSO.
    406 	(%.os): Use COMPILE.os.
    407 	(COMPILE.os): Filter out gconv options.
    408 
    409 2005-08-27  Ulrich Drepper  <drepper (a] redhat.com>
    410 
    411 	* elf_begin.c (file_read_elf): Avoid reading ELF header from file
    412 	again.  Instead accept additional parameter which points to it if we
    413 	don't use mmap.
    414 	(get_shnum): Use passed in e_ident value as source of ELF header.
    415 
    416 2005-08-15  Ulrich Drepper  <drepper (a] redhat.com>
    417 
    418 	* elf_begin.c (__libelf_next_arhdr): Use TEMP_FAILURE_RETRY.
    419 
    420 	* Makefile (libelf_a_SOURCES): Add elf_getaroff.c.
    421 	* libelf.map: Export elf_getaroff.
    422 	* libelf.h: Declare elf_getaroff.
    423 	* elf_getaroff.c: New file.
    424 
    425 2005-08-13  Ulrich Drepper  <drepper (a] redhat.com>
    426 
    427 	* elf_begin.c (get_shnum): Optimize memory handling.  Always read from
    428 	mapped file if available.  Fix access to 64-bit sh_size.  Recognize
    429 	overflow.
    430 	(file_read_elf): Likewise.
    431 
    432 2005-08-12  Roland McGrath  <roland (a] redhat.com>
    433 
    434 	* elf32_offscn.c: Do not match empty sections at OFFSET unless
    435 	there are no nonempty sections at that offset.
    436 
    437 2005-08-07  Ulrich Drepper  <drepper (a] redhat.com>
    438 
    439 	* elf.h: Update from glibc.
    440 
    441 2005-08-06  Ulrich Drepper  <drepper (a] redhat.com>
    442 
    443 	* Makefile.am (AM_CFLAGS): Add -fpic when BUILD_STATIC.
    444 
    445 2005-08-03  Ulrich Drepper  <drepper (a] redhat.com>
    446 
    447 	* libelf.map: Move elf32_offscn, elf64_offscn, and gelf_offscn in
    448 	new version ELFUTILS_1.1.1.
    449 
    450 2005-08-02  Ulrich Drepper  <drepper (a] redhat.com>
    451 
    452 	* elf_error.c: Add handling of ELF_E_INVALID_OFFSET.
    453 	* elf32_offscn.c: New file.
    454 	* elf64_offscn.c: New file.
    455 	* gelf_offscn.c: New file.
    456 	* Makefile.am (libelf_a_SOURCES): Add elf32_offscn.c, elf64_offscn.c,
    457 	and gelf_offscn.c.
    458 	* libelf.sym: Export new symbols.
    459 
    460 2005-07-23  Ulrich Drepper  <drepper (a] redhat.com>
    461 
    462 	* elf-knowledge.h (SECTION_STRIP_P): Don't handle removal of debug
    463 	sections here anymore.
    464 	* elf32_checksum.c: Adjust for change in SECTION_STRIP_P interface.
    465 
    466 	* elf_update.c (elf_update): Get write lock, not read lock.
    467 
    468 	* elf32_updatenull.c (updatenull): Get section headers if necessary
    469 	and possible.
    470 
    471 2005-07-22  Ulrich Drepper  <drepper (a] redhat.com>
    472 
    473 	* elf32_updatenull.c (updatenull): If program header hasn't been loaded
    474 	yet, try to do it now.
    475 	Don't unnecessarily update overflow of section count in zeroth section
    476 	sh_size field.
    477 	If section content hasn't been read yet, do it before looking for the
    478 	block size.  If no section data present, infer size of section header.
    479 
    480 2005-05-11  Ulrich Drepper  <drepper (a] redhat.com>
    481 
    482 	* elf.h: Update again.
    483 
    484 2005-05-09  Ulrich Drepper  <drepper (a] redhat.com>
    485 
    486 	* elf.h: Update from glibc.
    487 
    488 2005-05-08  Roland McGrath  <roland (a] redhat.com>
    489 
    490 	* elf_begin.c (read_file) [_MUDFLAP]: Don't use mmap for now.
    491 	* elf_update.c (write_file) [_MUDFLAP]: Likewise.
    492 
    493 2005-03-29  Ulrich Drepper  <drepper (a] redhat.com>
    494 
    495 	* elf32_checksum.c: Use INTUSE and INTDEF to avoid PLTs.
    496 	* elf_end.c: Likewise.
    497 	* elf_getdata.c: Likewise.
    498 	* gelf_getehdr.c: Likewise.
    499 	* nlist.c: Likewise.
    500 	* libelfP.h: Add declarations of internal functions.
    501 
    502 2005-02-15  Ulrich Drepper  <drepper (a] redhat.com>
    503 
    504 	* common.h (CONVERT): Make sure all values are unsigned.
    505 	(CONVERT_TO): Likewise.
    506 
    507 	* Makefile.am (AM_CFLAGS): Add -Wformat=2.
    508 	Fix rule to build libelf.so.
    509 
    510 2005-02-06  Ulrich Drepper  <drepper (a] redhat.com>
    511 
    512 	* Makefile.am: Cleanup AM_CFLAGS handling.  Add -Wunused -Wextra.
    513 	Remove lint handling.
    514 	* elf32_getphdr.c: Minor cleanups.
    515 	* elf32_getshdr.c: Likewise.
    516 	* elf32_updatefile.c: Likewise.
    517 	* elf32_updatenull.c: Likewise.
    518 	* elf_begin.c: Likewise.
    519 	* elf_error.c: Likewise.
    520 	* elf_getarsym.c: Likewise.
    521 	* elf_getdata.c: Likewise.
    522 	* elf_update.c: Likewise.
    523 	* gelf_xlate.c: Likewise.
    524 
    525 2005-02-05  Ulrich Drepper  <drepper (a] redhat.com>
    526 
    527 	* Makefile.am: Check for text relocations in constructed DSO.
    528 
    529 	* Makefile.am [MUDFLAP] (AM_CFLAGS): Add -Werror -fpic -fmudflap.
    530 
    531 2005-02-04  Ulrich Drepper  <drepper (a] redhat.com>
    532 
    533 	* gelf_getehdr.c (gelf_getehdr): Slight optimization.
    534 
    535 	* elf32_checksum.c (checksum): Do not look at NOBITS sections.
    536 
    537 	* gelf.h: Add gelf_checksum prototype.
    538 
    539 2004-09-25  Ulrich Drepper  <drepper (a] redhat.com>
    540 
    541 	* elf32_checksum.c: Make compile with gcc 4.0.
    542 	* elf32_updatefile.c: Likewise.
    543 	* elf32_updatenull.c: Likewise.
    544 	* elf_begin.c: Likewise.
    545 	* elf_error.c: Likewise.
    546 	* elf_getdata.c: Likewise.
    547 	* elf_getident.c: Likewise.
    548 
    549 2004-04-01  Ulrich Drepper  <drepper (a] redhat.com>
    550 
    551 	* elf.h: Update from glibc.
    552 
    553 2004-01-23  Ulrich Drepper  <drepper (a] redhat.com>
    554 
    555 	* elf_update.c: Fix locking.
    556 	* elf_clone.c: Likewise.
    557 
    558 	* libelf.h: Define ELF_T_LIB.
    559 	* gelf_getlib.c: New file.
    560 	* gelf_update_lib.c: New file.
    561 	* gelf.h: Declare the new functions.  Define GElf_Lib.
    562 	* abstract.h: Define Lib, Lib32, Lib64.
    563 	* gelf_xlate.c (__elf_xfctstom): Add ELF_T_LIB entry.
    564 	* gelf_xlate.h: Add entry for ElfXX_Lib.
    565 	* elf_getdata.c: Recognize SHT_GNU_LIBLIST as a known section type.
    566 	* libelf.map: Add new symbols to ELFUTILS_1.1.
    567 	* Makefile.am (libelf_a_SOURCES): Add gelf_getlib.c and
    568 	gelf_update_lib.c.
    569 
    570 2004-01-17  Ulrich Drepper  <drepper (a] redhat.com>
    571 
    572 	* Makefile.am: Support building with mudflap.
    573 
    574 	* gelf_xlate.c (INLINE3): Avoid using cast as lvalue.
    575 	* dl-hash.h (_dl_elf_hash): Likewise.
    576 
    577 2004-01-05  Ulrich Drepper  <drepper (a] redhat.com>
    578 
    579 	* elf-knowledge.h: New file.  From libelf subdir.
    580 	* Makefile.am (euincludedir): Define.
    581 	(euinclude_HEADERS): Add elf-knowledge.h.
    582 
    583 2003-09-24  Ulrich Drepper  <drepper (a] redhat.com>
    584 
    585 	* elf.h: Define some PT_IA_64_HP_* constants.
    586 
    587 2003-09-23  Jakub Jelinek  <jakub (a] redhat.com>
    588 
    589 	* libelfP.h (struct Elf): Move state.elf64.sizestr_offset after
    590 	state.elf64.scnincr to match state.elf{,32}.
    591 
    592 2003-08-12  Ulrich Drepper  <drepper (a] redhat.com>
    593 
    594 	* elf32_updatefile.c (__updatemmap): When writing back file where
    595 	some sections have not been read in, count their sizes based on
    596 	the section header.
    597 
    598 2003-08-11  Ulrich Drepper  <drepper (a] redhat.com>
    599 
    600         * Moved to CVS archive.
    601