12022-09-21 Yonggang Luo <luoyonggang@gmail.com> 2 3 * color.c: Don't include unistd.h. 4 52022-09-20 Yonggang Luo <luoyonggang@gmail.com> 6 7 * system.h: Use BYTE_ORDER, LITTLE_ENDIAN and BIG_ENDIAN. 8 92022-10-16 Yonggang Luo <luoyonggang@gmail.com> 10 11 * system.h: Add sys/mman.h as system dependend header. 12 * common.h: Remove ar.h, byteswap.h and endian.h. 13 * elf32_checksum.c: Remove endian.h. 14 * elf32_getphdr.c: Remove unistd.h and system.h. 15 * elf32_getshdr.c: Remove unistd.h.h and system.h. 16 * elf32_updatefile.c: Remove unistd.h, sys/mman.h and system.h. 17 * elf32_updatenull.c: Remove endian.h and system.h. 18 192022-08-05 Mark Wielaard <mark@klomp.org> 20 21 * dynamicsizehash_concurrent.c (resize_helper): Add documentation. 22 (resize_master): Renamed to... 23 (resize_coordinator): ...this. And add documentation. 24 (resize_worker): Add documentation. 25 (FIND): Add documentation. 26 272022-04-25 Mark Wielaard <mark@klomp.org> 28 29 * printversion.c (print_version): Update copyright year. 30 312022-03-27 Mark Wielaard <mark@klomp.org> 32 33 * system.h: define error_exit. 34 352021-02-14 Alexander Miller <alex.miller@gmx.de> 36 37 * eu-config.h (used_in_asm): New macro. 38 (NEW_INTDEF): New macro. 39 (NEW_VERSION): Mark symbol as used_in_asm. Use @@ symver and change 40 asm name instead. New variant using symver attribute if available. 41 (OLD_VERSION): Update new symbol name. Indent asm directives. New 42 variant using symver attribute. 43 (COMPAT_VERSION_NEWPROTO): Mark symbol as used_in_asm. Reorder 44 lines. Replace asm with __asm__ in declaration. New variant using 45 symver attribute. 46 (COMPAT_VERSION): Likewise. 47 482021-09-10 Colin Cross <ccross@google.com> 49 50 * error.c (error): Call fflush on stdout and stderr. Setup errno and 51 call verr, verrx, vwarn or vwarnx based on status and errnum. 52 532021-09-06 Dmitry V. Levin <ldv@altlinux.org> 54 55 * color.c (parse_opt): Replace asprintf followed by error(EXIT_FAILURE) 56 with xasprintf. 57 58 * xasprintf.c: New file. 59 * Makefile.am (libeu_a_SOURCES): Add it. 60 * libeu.h (xasprintf): New prototype. 61 62 * dynamicsizehash.c (INIT(NAME)): Remove cast of calloc return value. 63 * dynamicsizehash_concurrent.c (INIT(NAME)): Remove cast of malloc 64 return value. 65 662021-08-23 Saleem Abdulrasool <abdulras@google.com> 67 68 * system.h: Remove inline definition for error and error_message_count 69 in the fallback path. 70 * Makefile.am (libeu_a_SOURCES): Add error.c. 71 * error.c: New file, moves the previous inline definitions to avoid 72 multiple definitions properly rather than relying on -fcommon and vague 73 linkage. 74 752021-08-21 Saleem Abdulrasool <abdulras@google.com> 76 77 * fixedsizehash.h: Remove unused STROF macro. 78 792021-08-20 Saleem Abdulrasool <abdulras@google.com> 80 81 * system.h: Check for HAVE_ERROR_H and HAVE_ERR_H and define 82 error_message_cont and error if necessary. 83 842021-08-20 Saleem Abdulrasool <abdulras@google.com> 85 86 * fixedsizehash.h: Remove sys/cdefs.h include. Unconditionally 87 define STROF and CONCAT macros. 88 892021-07-28 Mark Wielaard <mark@klomp.org> 90 91 * system.h (reallocarray): New static inline fallback function. 92 932021-04-19 Martin Liska <mliska@suse.cz> 94 95 * system.h (startswith): New function. 96 (pwrite_retry): Cast to char *. 97 (write_retry): Likewise. 98 (pread_retry): Likewise. 99 1002021-02-05 Mark Wielaard <mark@klomp.org> 101 102 * printversion.c (print_version): Update copyright year. 103 1042020-12-16 Dmitry V. Levin <ldv@altlinux.org> 105 106 * color.c (parse_opt): Replace gettext(...) and 107 dgettext("elfutils, ...) with _(...). 108 * printversion.c (print_version): Replace gettext(...) with _(...). 109 * system.h (sgettext): Likewise. 110 111 * eu-config.h (_): New macro. 112 * xmalloc.c (_): Remove. 113 1142020-11-01 Érico N. Rolim <erico.erc@gmail.com> 115 116 * system.h (ACCESSPERMS): Define macro if it doesn't exist. 117 (ALLPERMS): Likewise. 118 (DEFFILEMODE): Likewise. 119 1202020-06-11 Mark Wielaaard <mark@klomp.org> 121 122 * printversion.c (print_version): Update copyright year. 123 1242019-08-25 Srđan Milaković <sm108@rice.edu> 125 126 * dynamicsizehash_concurrent.{c,h}: New files. 127 * Makefile.am (noinst_HEADERS): Added dynamicsizehash_concurrent.h. 128 1292019-08-25 Jonathon Anderson <jma14@rice.edu> 130 131 * stdatomic-fbsd.h: New file, taken from FreeBSD. 132 * atomics.h: New file. 133 * Makefile.am (noinst_HEADERS): Added *.h above. 134 1352019-05-03 Rosen Penev <rosenp@gmail.com> 136 137 * color.c (parse_opt): Cast program_invocation_short_name to char *. 138 1392018-11-04 Mark Wielaard <mark@klomp.org> 140 141 * bpf.h: Add BPF_JLT, BPF_JLE, BPF_JSLT and BPF_JSLE. 142 1432018-07-04 Ross Burton <ross.burton@intel.com> 144 145 * color.c: Remove error.h, add system.h include. 146 * system.h: Add error.h include. 147 * xmalloc.c: Remove error.h include. 148 1492018-06-01 Mark Wielaard <mark@klomp.org> 150 151 * printversion.c (print_version): Update copyright year. 152 1532018-02-09 Joshua Watt <JPEWhacker@gmail.com> 154 155 * eu-config.h (FALLTHROUGH): New macro. 156 1572017-10-16 Mark Wielaard <mark@klomp.org> 158 159 * md5.{c,h}: Removed. 160 * sha1.{c,h}: Likewise. 161 * Makefile.am (libeu_a_SOURCES): Remove md5.c and sha1.c. 162 (noinst_HEADERS): Remove md5.h and sha1.h. 163 1642017-08-18 Ulf Hermann <ulf.hermann@qt.io> 165 166 * eu-config.h: Define attribute_packed to either 167 __attribute__((packed)) or __attribute__((packed, gcc_struct)). 168 1692017-04-27 Ulf Hermann <ulf.hermann@qt.io> 170 171 * eu-config.h: Define attribute_hidden to be empty if the compiler 172 doesn't support it. 173 1742017-04-27 Ulf Hermann <ulf.hermann@qt.io> 175 176 * Makefile.am: Use fpic_CFLAGS. 177 1782017-07-18 Mark Wielaard <mark@klomp.org> 179 180 * bpf.h: New file. 181 * Makefile.am (noinst_HEADERS): Add bpf.h 182 1832017-05-05 Mark Wielaard <mark@klomp.org> 184 185 * printversion.c (print_version): Update copyright year. 186 1872017-04-20 Ulf Hermann <ulf.hermann@qt.io> 188 189 * crc32.c: include config.h. 190 * system.h: Don't include config.h. 191 1922017-02-16 Ulf Hermann <ulf.hermann@qt.io> 193 194 * Makefile.am (libeu_a_SOURCES): Remove version.c, add printversion.c 195 (noinst_HEADERS): Add printversion.h 196 * version.c: Moved to printversion.c. 197 * printversion.c: New file, moved from version.c, 198 remove stdio.h, argp.h, system.h includes, 199 add printversion.h include. 200 * printversion.h: New file. 201 * system.h: Remove argp.h include, 202 (ARGP_PROGRAM_VERSION_HOOK_DEF, ARGP_PROGRAM_BUG_ADDRESS_DEF): Remove. 203 (print_version): Remove. 204 2052017-02-15 Ulf Hermann <ulf.hermann@qt.io> 206 207 * system.h: Provide mempcpy if it doesn't exist. 208 * xstrndup.c: Include system.h. 209 2102017-02-15 Ulf Hermann <ulf.hermann@qt.io> 211 212 * crc32_file.c: Use _SC_PAGESIZE rather than _SC_PAGE_SIZE. 213 2142017-02-14 Ulf Hermann <ulf.hermann@qt.io> 215 216 * color.h: New file. 217 * color.c: Include color.h. 218 * libeu.h: Remove color handling. 219 * Makefile.am (noinst_HEADERS): Add color.h. 220 2212016-12-29 Luiz Angelo Daros de Luca <luizluca@gmail.com> 222 223 * crc32_file.c: Include system.h. 224 * system.h: Remove semi-colon after TEMP_FAILURE_RETRY definition. 225 2262016-12-24 Mark Wielaard <mark@klomp.org> 227 228 * version.c: New source file. 229 * Makefile.am (libeu_a_SOURCES): Add version.c 230 * system.h (print_version): New function definition. 231 2322016-10-11 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> 233 234 * fixedsizehash.h (CONCAT): Use __CONCAT when available. 235 * system.h: Include config.h and errno.h. 236 (powerof2): Define if not already defined. 237 (TEMP_FAILURE_RETRY): Define when not yet defined. 238 2392015-10-11 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> 240 241 * Makefile.am (noinst_HEADERS): Add libeu.h. 242 * color.c: Remove system.h include, add libeu.h include. 243 * crc32_file.c: Likewise. 244 * fixedsizehash.h: Remove sys/param.h include. 245 * libeu.h: New file. 246 * system.h: Include sys/param.h. 247 (xmalloc, xcalloc, xrealloc, xstrdup, xstrndup, crc32, crc32_file, 248 color_argp, color_enum, color_*): Move definitions to libeu.h. 249 * xstrdup.c: Remove system.h include, add libeu.h include. 250 * xstrndup.c: Remove system.h include, add libeu.h and stdint.h 251 includes. 252 2532015-09-24 Jose E. Marchesi <jose.marchesi@oracle.com> 254 255 * Makefile.am (AM_CFLAGS): Use -fPIC instead of -fpic to avoid relocation 256 overflows in some platforms. 257 2582015-09-22 Mark Wielaard <mjw@redhat.com> 259 260 * dynamicsizehash.c: Remove old-style function definitions. 261 * md5.c: Likewise. 262 * sha1.c: Likewise. 263 * xmalloc.c: Likewise. 264 * xstrdup.c: Likewise. 265 * xstrndup.c: Likewise. 266 2672015-05-31 Mark Wielaard <mjw@redhat.com> 268 269 * eu-config.h (ALLOW_UNALIGNED): Define when ! CHECK_UNDEFINED. 270 2712015-04-23 Max Filippov <jcmvbkbc@gmail.com> 272 273 * eu-config.h: Use SYMBOL_VERSIONING as guard. 274 2752014-01-17 Lei Zhang <thestig@google.com> 276 277 * crc32_file.c: Include config.h. 278 2792013-12-12 Josh Stone <jistone@redhat.com> 280 281 * dynamicsizehash.c (lookup): Add a shortcut around division. 282 2832013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com> 284 285 * eu-config.h (COMPAT_VERSION_NEWPROTO): New. Twice. 286 2872013-04-26 Jan Kratochvil <jan.kratochvil@redhat.com> 288 289 * system.h (LE64, BE64): Move here the definitions from 290 libdwfl/link_map.c. 291 2922013-04-24 Mark Wielaard <mjw@redhat.com> 293 294 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES. 295 2962012-10-09 Adam Markey <adam@etinternational.com> 297 298 * system.h: Changed pwrite_retry, write_retry, and pread_retry to 299 handle case where not all data was read/written. 300 3012012-10-08 Jan Kratochvil <jan.kratochvil@redhat.com> 302 303 * system.h (eu_static_assert): New macro. 304 3052012-01-21 Ulrich Drepper <drepper@gmail.com> 306 307 * Makefile.am (libeu_a_SOURCES): Add color.c. 308 * system.h: Declare color_argp. Define color_enum. Declare 309 color_* variables. 310 * color.c: New file. 311 3122011-10-02 Ulrich Drepper <drepper@gmail.com> 313 314 * system.h: Declare __cxa_demangle. 315 3162011-07-09 Roland McGrath <roland@hack.frob.com> 317 318 * sha1.c (be64_copy): New function. 319 (sha1_finish_ctx): Use it. 320 * md5.c (le64_copy): New function. 321 (md5_finish_ctx): Use it. 322 * system.h (LE32, BE32): New macros, using <endian.h> and <byteswap.h>. 323 * md5.c (SWAP): Use LE32. 324 * sha1.c (SWAP): Use BE32. 325 3262010-06-16 Roland McGrath <roland@redhat.com> 327 328 * dynamicsizehash.h (HASHTYPE): New macro. 329 (struct): Use size_t for table sizes. 330 * dynamicsizehash.c: Likewise. Use HASHTYPE for hash values. 331 3322010-02-15 Roland McGrath <roland@redhat.com> 333 334 * Makefile.am: Use config/eu.am for common stuff. 335 3362009-08-09 Roland McGrath <roland@redhat.com> 337 338 * eu-config.h (OLD_VERSION, NEW_VERSION, COMPAT_VERSION): New macros. 339 3402009-01-23 Roland McGrath <roland@redhat.com> 341 342 * eu-config.h: Add multiple inclusion protection. 343 3442009-01-17 Ulrich Drepper <drepper@redhat.com> 345 346 * system.h (ARGP_PROGRAM_VERSION_HOOK_DEF): Define. 347 (ARGP_PROGRAM_BUG_ADDRESS_DEF): Define. 348 3492009-01-10 Ulrich Drepper <drepper@redhat.com> 350 351 * eu-config.h: Remove tls_key_t, key_create, getspecific, setspecific, 352 once_define, and once_execute macros. Use USE_LOCKS instead of 353 USE_TLS. 354 3552008-08-25 Roland McGrath <roland@redhat.com> 356 357 * eu-config.h [USE_TLS] (RWLOCK_CALL): New macro. 358 (rwlock_init, rwlock_fini, rwlock_rdlock, rwlock_wrlock, rwlock_unlock): 359 Use it. 360 3612008-08-24 Roland McGrath <roland@redhat.com> 362 363 * eu-config.h: New file. 364 * Makefile.am (noinst_HEADERS): Add it. 365 3662008-02-01 Ulrich Drepper <drepper@redhat.com> 367 368 * Makefile.am (libeu_a_SOURCES): Add sha1.c. 369 (noinst_HEADERS): Add sha1.h. 370 * sha1.c: New file. 371 * sha1.h: New file. 372 3732008-01-31 Ulrich Drepper <drepper@redhat.com> 374 375 * Makefile.am (libeu_a_SOURCES): Add md5.c. 376 (noinst_HEADERS): Add md5.h. 377 * md5.c: New file. 378 * md5.h: New file. 379 3802006-04-04 Ulrich Drepper <drepper@redhat.com> 381 382 * Makefile.am (libeu_a_SOURCES): We don't need xstrdup in the moment. 383 3842005-08-28 Ulrich Drepper <drepper@redhat.com> 385 386 * system.h: Define pwrite_retry, write_retry, and pread_retry. 387 3882005-08-06 Ulrich Drepper <drepper@redhat.com> 389 390 * Makefile.am (xmalloc_CFLAGS): Define only if !GPROF. 391 3922005-05-03 Roland McGrath <roland@redhat.com> 393 394 * crc32_file.c: New file. 395 * Makefile.am (libeu_a_SOURCES): Add it. 396 * system.h: Declare crc32_file. 397 3982005-04-30 Ulrich Drepper <drepper@redhat.com> 399 400 * Makefile.am: Use -ffunction-sections for xmalloc.c. 401 4022005-02-15 Ulrich Drepper <drepper@redhat.com> 403 404 * dynamicsizehash.c (lookup): Mark val parameter as possibly unused. 405 4062005-02-06 Ulrich Drepper <drepper@redhat.com> 407 408 * fixedsizehash.h: Mark unused parameters. Correct CLASS and 409 const order for fshash_find. 410 411 * Makefile.am: Cleanup AM_CFLAGS handling. Add -Wunused -Wextra. 412 4132005-02-05 Ulrich Drepper <drepper@redhat.com> 414 415 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fpic and -fmudflap. 416 4172004-01-17 Ulrich Drepper <drepper@redhat.com> 418 419 * Makefile.am: Support building with mudflap. 420 4212003-09-22 Ulrich Drepper <drepper@redhat.com> 422 423 * Makefile.am (AM_CFLAGS): Add -fpic. 424 425 * Makefile.am (noinst_HEADERS): Add list.h. 426 * list.h: New file. 427 4282003-08-11 Ulrich Drepper <drepper@redhat.com> 429 430 * Moved to CVS archive. 431