+2020-12-16 Dmitry V. Levin <ldv@altlinux.org>
+
+ * eu-config.h (_): New macro.
+ * xmalloc.c (_): Remove.
+
2020-11-01 Érico N. Rolim <erico.erc@gmail.com>
* system.h (ACCESSPERMS): Define macro if it doesn't exist.
# define rwlock_unlock(lock) ((void) (lock))
#endif /* USE_LOCKS */
-/* gettext helper macro. */
+/* gettext helper macros. */
#define N_(Str) Str
+#define _(Str) dgettext ("elfutils", Str)
/* Compiler-specific definitions. */
#define strong_alias(name, aliasname) \
#include <sys/types.h>
#include "system.h"
-#ifndef _
-# define _(str) gettext (str)
-#endif
-
/* Allocate N bytes of memory dynamically, with error checking. */
void *
+2020-12-16 Dmitry V. Levin <ldv@altlinux.org>
+
+ * libasmP.h (_): Remove.
+
2020-12-12 Dmitry V. Levin <ldv@altlinux.org>
* asm_begin.c (prepare_binary_output): Fix spelling typo in comment.
#include "libdwelf.h"
-/* gettext helper macros. */
-#define _(Str) dgettext ("elfutils", Str)
-
/* Known error codes. */
enum
+2020-12-16 Dmitry V. Levin <ldv@altlinux.org>
+
+ * libdwP.h (_): Remove.
+
2020-12-12 Dmitry V. Levin <ldv@altlinux.org>
* dwarf.h: Fix spelling typo in comment.
#include "atomics.h"
-/* gettext helper macros. */
-#define _(Str) dgettext ("elfutils", Str)
-
-
/* Known location expressions already decoded. */
struct loc_s
{
+2020-12-16 Dmitry V. Levin <ldv@altlinux.org>
+
+ * argp-std.c (_): Remove.
+ * libdwflP.h (_): Likewise.
+
2020-12-12 Dmitry V. Levin <ldv@altlinux.org>
* libdwfl.h: Fix spelling typos in comments.
#include <fcntl.h>
#include <unistd.h>
-/* gettext helper macros. */
-#define _(Str) dgettext ("elfutils", Str)
-
#define OPT_DEBUGINFO 0x100
#define OPT_COREFILE 0x101
typedef struct Dwfl_Process Dwfl_Process;
-/* gettext helper macros. */
-#define _(Str) dgettext ("elfutils", Str)
-
#define DWFL_ERRORS \
DWFL_ERROR (NOERROR, N_("no error")) \
DWFL_ERROR (UNKNOWN_ERROR, N_("unknown error")) \
+2020-12-16 Dmitry V. Levin <ldv@altlinux.org>
+
+ * libeblP.h (_): Remove.
+
2020-12-15 Dmitry V. Levin <ldv@altlinux.org>
* eblbackendname.c (ebl_backend_name): Replace gettext(...) with _(...).
typedef Ebl *(*ebl_bhinit_t) (Elf *, GElf_Half, Ebl *);
-/* gettext helper macros. */
-#undef _
-#define _(Str) dgettext ("elfutils", Str)
-
-
/* LEB128 constant helper macros. */
#define ULEB128_7(x) (BUILD_BUG_ON_ZERO ((x) >= (1U << 7)) + (x))
+2020-12-16 Dmitry V. Levin <ldv@altlinux.org>
+
+ * libelfP.h (_): Remove.
+
2020-12-15 Mark Wielaard <mark@klomp.org>
* elf_begin.c (get_shnum): Make sure the full Ehdr is available.
#include <stdio.h>
#include <string.h>
-/* gettext helper macros. */
-#define _(Str) dgettext ("elfutils", Str)
-
/* Helper Macros to write 32 bit and 64 bit functions. */
#define __elfw2_(Bits, Name) __elf##Bits##_##Name
+2020-12-16 Dmitry V. Levin <ldv@altlinux.org>
+
+ * unstrip.c (_): Remove.
+
2020-12-15 Mark Wielaard <mark@klomp.org>
* elflint.c (check_symtab): Always print symbol name (if known)
#include "libeu.h"
#include "printversion.h"
-#ifndef _
-# define _(str) gettext (str)
-#endif
-
/* Name and version of program. */
ARGP_PROGRAM_VERSION_HOOK_DEF = print_version;
+2020-12-16 Dmitry V. Levin <ldv@altlinux.org>
+
+ * dwflmodtest.c (N_): Remove.
+
2020-12-12 Dmitry V. Levin <ldv@altlinux.org>
* dwarf-die-addr-die.c (main): Fix spelling typo in error diagnostics.
static bool show_functions;
-/* gettext helper macro. */
-#undef N_
-#define N_(Str) Str
-
static const struct argp_option options[] =
{
{ "functions", 'f', NULL, 0, N_("Additionally show function names"), 0 },