12021-02-14 Alexander Miller <alex.miller@gmx.de> 2 3 * eu-config.h (used_in_asm): New macro. 4 (NEW_INTDEF): New macro. 5 (NEW_VERSION): Mark symbol as used_in_asm. Use @@ symver and change 6 asm name instead. New variant using symver attribute if available. 7 (OLD_VERSION): Update new symbol name. Indent asm directives. New 8 variant using symver attribute. 9 (COMPAT_VERSION_NEWPROTO): Mark symbol as used_in_asm. Reorder 10 lines. Replace asm with __asm__ in declaration. New variant using 11 symver attribute. 12 (COMPAT_VERSION): Likewise. 13 142021-09-10 Colin Cross <ccross@google.com> 15 16 * error.c (error): Call fflush on stdout and stderr. Setup errno and 17 call verr, verrx, vwarn or vwarnx based on status and errnum. 18 192021-09-06 Dmitry V. Levin <ldv@altlinux.org> 20 21 * color.c (parse_opt): Replace asprintf followed by error(EXIT_FAILURE) 22 with xasprintf. 23 24 * xasprintf.c: New file. 25 * Makefile.am (libeu_a_SOURCES): Add it. 26 * libeu.h (xasprintf): New prototype. 27 28 * dynamicsizehash.c (INIT(NAME)): Remove cast of calloc return value. 29 * dynamicsizehash_concurrent.c (INIT(NAME)): Remove cast of malloc 30 return value. 31 322021-08-23 Saleem Abdulrasool <abdulras@google.com> 33 34 * system.h: Remove inline definition for error and error_message_count 35 in the fallback path. 36 * Makefile.am (libeu_a_SOURCES): Add error.c. 37 * error.c: New file, moves the previous inline definitions to avoid 38 multiple definitions properly rather than relying on -fcommon and vague 39 linkage. 40 412021-08-21 Saleem Abdulrasool <abdulras@google.com> 42 43 * fixedsizehash.h: Remove unused STROF macro. 44 452021-08-20 Saleem Abdulrasool <abdulras@google.com> 46 47 * system.h: Check for HAVE_ERROR_H and HAVE_ERR_H and define 48 error_message_cont and error if necessary. 49 502021-08-20 Saleem Abdulrasool <abdulras@google.com> 51 52 * fixedsizehash.h: Remove sys/cdefs.h include. Unconditionally 53 define STROF and CONCAT macros. 54 552021-07-28 Mark Wielaard <mark@klomp.org> 56 57 * system.h (reallocarray): New static inline fallback function. 58 592021-04-19 Martin Liska <mliska@suse.cz> 60 61 * system.h (startswith): New function. 62 (pwrite_retry): Cast to char *. 63 (write_retry): Likewise. 64 (pread_retry): Likewise. 65 662021-02-05 Mark Wielaard <mark@klomp.org> 67 68 * printversion.c (print_version): Update copyright year. 69 702020-12-16 Dmitry V. Levin <ldv@altlinux.org> 71 72 * color.c (parse_opt): Replace gettext(...) and 73 dgettext("elfutils, ...) with _(...). 74 * printversion.c (print_version): Replace gettext(...) with _(...). 75 * system.h (sgettext): Likewise. 76 77 * eu-config.h (_): New macro. 78 * xmalloc.c (_): Remove. 79 802020-11-01 Érico N. Rolim <erico.erc@gmail.com> 81 82 * system.h (ACCESSPERMS): Define macro if it doesn't exist. 83 (ALLPERMS): Likewise. 84 (DEFFILEMODE): Likewise. 85 862020-06-11 Mark Wielaaard <mark@klomp.org> 87 88 * printversion.c (print_version): Update copyright year. 89 902019-08-25 Srđan Milaković <sm108@rice.edu> 91 92 * dynamicsizehash_concurrent.{c,h}: New files. 93 * Makefile.am (noinst_HEADERS): Added dynamicsizehash_concurrent.h. 94 952019-08-25 Jonathon Anderson <jma14@rice.edu> 96 97 * stdatomic-fbsd.h: New file, taken from FreeBSD. 98 * atomics.h: New file. 99 * Makefile.am (noinst_HEADERS): Added *.h above. 100 1012019-05-03 Rosen Penev <rosenp@gmail.com> 102 103 * color.c (parse_opt): Cast program_invocation_short_name to char *. 104 1052018-11-04 Mark Wielaard <mark@klomp.org> 106 107 * bpf.h: Add BPF_JLT, BPF_JLE, BPF_JSLT and BPF_JSLE. 108 1092018-07-04 Ross Burton <ross.burton@intel.com> 110 111 * color.c: Remove error.h, add system.h include. 112 * system.h: Add error.h include. 113 * xmalloc.c: Remove error.h include. 114 1152018-06-01 Mark Wielaard <mark@klomp.org> 116 117 * printversion.c (print_version): Update copyright year. 118 1192018-02-09 Joshua Watt <JPEWhacker@gmail.com> 120 121 * eu-config.h (FALLTHROUGH): New macro. 122 1232017-10-16 Mark Wielaard <mark@klomp.org> 124 125 * md5.{c,h}: Removed. 126 * sha1.{c,h}: Likewise. 127 * Makefile.am (libeu_a_SOURCES): Remove md5.c and sha1.c. 128 (noinst_HEADERS): Remove md5.h and sha1.h. 129 1302017-08-18 Ulf Hermann <ulf.hermann@qt.io> 131 132 * eu-config.h: Define attribute_packed to either 133 __attribute__((packed)) or __attribute__((packed, gcc_struct)). 134 1352017-04-27 Ulf Hermann <ulf.hermann@qt.io> 136 137 * eu-config.h: Define attribute_hidden to be empty if the compiler 138 doesn't support it. 139 1402017-04-27 Ulf Hermann <ulf.hermann@qt.io> 141 142 * Makefile.am: Use fpic_CFLAGS. 143 1442017-07-18 Mark Wielaard <mark@klomp.org> 145 146 * bpf.h: New file. 147 * Makefile.am (noinst_HEADERS): Add bpf.h 148 1492017-05-05 Mark Wielaard <mark@klomp.org> 150 151 * printversion.c (print_version): Update copyright year. 152 1532017-04-20 Ulf Hermann <ulf.hermann@qt.io> 154 155 * crc32.c: include config.h. 156 * system.h: Don't include config.h. 157 1582017-02-16 Ulf Hermann <ulf.hermann@qt.io> 159 160 * Makefile.am (libeu_a_SOURCES): Remove version.c, add printversion.c 161 (noinst_HEADERS): Add printversion.h 162 * version.c: Moved to printversion.c. 163 * printversion.c: New file, moved from version.c, 164 remove stdio.h, argp.h, system.h includes, 165 add printversion.h include. 166 * printversion.h: New file. 167 * system.h: Remove argp.h include, 168 (ARGP_PROGRAM_VERSION_HOOK_DEF, ARGP_PROGRAM_BUG_ADDRESS_DEF): Remove. 169 (print_version): Remove. 170 1712017-02-15 Ulf Hermann <ulf.hermann@qt.io> 172 173 * system.h: Provide mempcpy if it doesn't exist. 174 * xstrndup.c: Include system.h. 175 1762017-02-15 Ulf Hermann <ulf.hermann@qt.io> 177 178 * crc32_file.c: Use _SC_PAGESIZE rather than _SC_PAGE_SIZE. 179 1802017-02-14 Ulf Hermann <ulf.hermann@qt.io> 181 182 * color.h: New file. 183 * color.c: Include color.h. 184 * libeu.h: Remove color handling. 185 * Makefile.am (noinst_HEADERS): Add color.h. 186 1872016-12-29 Luiz Angelo Daros de Luca <luizluca@gmail.com> 188 189 * crc32_file.c: Include system.h. 190 * system.h: Remove semi-colon after TEMP_FAILURE_RETRY definition. 191 1922016-12-24 Mark Wielaard <mark@klomp.org> 193 194 * version.c: New source file. 195 * Makefile.am (libeu_a_SOURCES): Add version.c 196 * system.h (print_version): New function definition. 197 1982016-10-11 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> 199 200 * fixedsizehash.h (CONCAT): Use __CONCAT when available. 201 * system.h: Include config.h and errno.h. 202 (powerof2): Define if not already defined. 203 (TEMP_FAILURE_RETRY): Define when not yet defined. 204 2052015-10-11 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> 206 207 * Makefile.am (noinst_HEADERS): Add libeu.h. 208 * color.c: Remove system.h include, add libeu.h include. 209 * crc32_file.c: Likewise. 210 * fixedsizehash.h: Remove sys/param.h include. 211 * libeu.h: New file. 212 * system.h: Include sys/param.h. 213 (xmalloc, xcalloc, xrealloc, xstrdup, xstrndup, crc32, crc32_file, 214 color_argp, color_enum, color_*): Move definitions to libeu.h. 215 * xstrdup.c: Remove system.h include, add libeu.h include. 216 * xstrndup.c: Remove system.h include, add libeu.h and stdint.h 217 includes. 218 2192015-09-24 Jose E. Marchesi <jose.marchesi@oracle.com> 220 221 * Makefile.am (AM_CFLAGS): Use -fPIC instead of -fpic to avoid relocation 222 overflows in some platforms. 223 2242015-09-22 Mark Wielaard <mjw@redhat.com> 225 226 * dynamicsizehash.c: Remove old-style function definitions. 227 * md5.c: Likewise. 228 * sha1.c: Likewise. 229 * xmalloc.c: Likewise. 230 * xstrdup.c: Likewise. 231 * xstrndup.c: Likewise. 232 2332015-05-31 Mark Wielaard <mjw@redhat.com> 234 235 * eu-config.h (ALLOW_UNALIGNED): Define when ! CHECK_UNDEFINED. 236 2372015-04-23 Max Filippov <jcmvbkbc@gmail.com> 238 239 * eu-config.h: Use SYMBOL_VERSIONING as guard. 240 2412014-01-17 Lei Zhang <thestig@google.com> 242 243 * crc32_file.c: Include config.h. 244 2452013-12-12 Josh Stone <jistone@redhat.com> 246 247 * dynamicsizehash.c (lookup): Add a shortcut around division. 248 2492013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com> 250 251 * eu-config.h (COMPAT_VERSION_NEWPROTO): New. Twice. 252 2532013-04-26 Jan Kratochvil <jan.kratochvil@redhat.com> 254 255 * system.h (LE64, BE64): Move here the definitions from 256 libdwfl/link_map.c. 257 2582013-04-24 Mark Wielaard <mjw@redhat.com> 259 260 * Makefile.am: Use AM_CPPFLAGS instead of INCLUDES. 261 2622012-10-09 Adam Markey <adam@etinternational.com> 263 264 * system.h: Changed pwrite_retry, write_retry, and pread_retry to 265 handle case where not all data was read/written. 266 2672012-10-08 Jan Kratochvil <jan.kratochvil@redhat.com> 268 269 * system.h (eu_static_assert): New macro. 270 2712012-01-21 Ulrich Drepper <drepper@gmail.com> 272 273 * Makefile.am (libeu_a_SOURCES): Add color.c. 274 * system.h: Declare color_argp. Define color_enum. Declare 275 color_* variables. 276 * color.c: New file. 277 2782011-10-02 Ulrich Drepper <drepper@gmail.com> 279 280 * system.h: Declare __cxa_demangle. 281 2822011-07-09 Roland McGrath <roland@hack.frob.com> 283 284 * sha1.c (be64_copy): New function. 285 (sha1_finish_ctx): Use it. 286 * md5.c (le64_copy): New function. 287 (md5_finish_ctx): Use it. 288 * system.h (LE32, BE32): New macros, using <endian.h> and <byteswap.h>. 289 * md5.c (SWAP): Use LE32. 290 * sha1.c (SWAP): Use BE32. 291 2922010-06-16 Roland McGrath <roland@redhat.com> 293 294 * dynamicsizehash.h (HASHTYPE): New macro. 295 (struct): Use size_t for table sizes. 296 * dynamicsizehash.c: Likewise. Use HASHTYPE for hash values. 297 2982010-02-15 Roland McGrath <roland@redhat.com> 299 300 * Makefile.am: Use config/eu.am for common stuff. 301 3022009-08-09 Roland McGrath <roland@redhat.com> 303 304 * eu-config.h (OLD_VERSION, NEW_VERSION, COMPAT_VERSION): New macros. 305 3062009-01-23 Roland McGrath <roland@redhat.com> 307 308 * eu-config.h: Add multiple inclusion protection. 309 3102009-01-17 Ulrich Drepper <drepper@redhat.com> 311 312 * system.h (ARGP_PROGRAM_VERSION_HOOK_DEF): Define. 313 (ARGP_PROGRAM_BUG_ADDRESS_DEF): Define. 314 3152009-01-10 Ulrich Drepper <drepper@redhat.com> 316 317 * eu-config.h: Remove tls_key_t, key_create, getspecific, setspecific, 318 once_define, and once_execute macros. Use USE_LOCKS instead of 319 USE_TLS. 320 3212008-08-25 Roland McGrath <roland@redhat.com> 322 323 * eu-config.h [USE_TLS] (RWLOCK_CALL): New macro. 324 (rwlock_init, rwlock_fini, rwlock_rdlock, rwlock_wrlock, rwlock_unlock): 325 Use it. 326 3272008-08-24 Roland McGrath <roland@redhat.com> 328 329 * eu-config.h: New file. 330 * Makefile.am (noinst_HEADERS): Add it. 331 3322008-02-01 Ulrich Drepper <drepper@redhat.com> 333 334 * Makefile.am (libeu_a_SOURCES): Add sha1.c. 335 (noinst_HEADERS): Add sha1.h. 336 * sha1.c: New file. 337 * sha1.h: New file. 338 3392008-01-31 Ulrich Drepper <drepper@redhat.com> 340 341 * Makefile.am (libeu_a_SOURCES): Add md5.c. 342 (noinst_HEADERS): Add md5.h. 343 * md5.c: New file. 344 * md5.h: New file. 345 3462006-04-04 Ulrich Drepper <drepper@redhat.com> 347 348 * Makefile.am (libeu_a_SOURCES): We don't need xstrdup in the moment. 349 3502005-08-28 Ulrich Drepper <drepper@redhat.com> 351 352 * system.h: Define pwrite_retry, write_retry, and pread_retry. 353 3542005-08-06 Ulrich Drepper <drepper@redhat.com> 355 356 * Makefile.am (xmalloc_CFLAGS): Define only if !GPROF. 357 3582005-05-03 Roland McGrath <roland@redhat.com> 359 360 * crc32_file.c: New file. 361 * Makefile.am (libeu_a_SOURCES): Add it. 362 * system.h: Declare crc32_file. 363 3642005-04-30 Ulrich Drepper <drepper@redhat.com> 365 366 * Makefile.am: Use -ffunction-sections for xmalloc.c. 367 3682005-02-15 Ulrich Drepper <drepper@redhat.com> 369 370 * dynamicsizehash.c (lookup): Mark val parameter as possibly unused. 371 3722005-02-06 Ulrich Drepper <drepper@redhat.com> 373 374 * fixedsizehash.h: Mark unused parameters. Correct CLASS and 375 const order for fshash_find. 376 377 * Makefile.am: Cleanup AM_CFLAGS handling. Add -Wunused -Wextra. 378 3792005-02-05 Ulrich Drepper <drepper@redhat.com> 380 381 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fpic and -fmudflap. 382 3832004-01-17 Ulrich Drepper <drepper@redhat.com> 384 385 * Makefile.am: Support building with mudflap. 386 3872003-09-22 Ulrich Drepper <drepper@redhat.com> 388 389 * Makefile.am (AM_CFLAGS): Add -fpic. 390 391 * Makefile.am (noinst_HEADERS): Add list.h. 392 * list.h: New file. 393 3942003-08-11 Ulrich Drepper <drepper@redhat.com> 395 396 * Moved to CVS archive. 397