Resolve conflicts.
authorjbj <devnull@localhost>
Tue, 22 Oct 2002 23:01:12 +0000 (23:01 +0000)
committerjbj <devnull@localhost>
Tue, 22 Oct 2002 23:01:12 +0000 (23:01 +0000)
CVS patchset: 5799
CVS date: 2002/10/22 23:01:12

elfutils/Makefile.am
elfutils/libdwarf/Makefile.am
elfutils/libebl/Makefile.am
elfutils/libelf/Makefile.am
elfutils/libelf/elf32_getshdr.c
elfutils/libelf/elf_getshstrndx.c
elfutils/po/elfutils.pot
elfutils/tests/asm-tst7.c
elfutils/tests/asm-tst8.c

index ac4c88d..f96a9a0 100644 (file)
@@ -1,16 +1,11 @@
 ## Process this file with automake to create Makefile.in
 
-AUTOMAKE_OPTIONS = 1.4 gnits
-MAINT_CHARSET = latin1
-
 ACLOCAL_AMFLAGS = -I m4
 
-#SUBDIRS = m4 doc intl lib libltdl libelf libebl libdwarf libasm src \
-#        libelf-po libebl-po libdwarf-po libasm-po po tests
-
-SUBDIRS = m4 doc intl lib libltdl libelf libdwarf libelf-po libdwarf-po po
+SUBDIRS = m4 doc lib libltdl libelf libebl libdwarf libcpu libasm src \
+         libelf-po libebl-po libdwarf-po libasm-po po tests
 
-EXTRA_DIST = config.rpath splint.rc
+EXTRA_DIST = splint.rc elfutils.spec.in GPG-KEY NOTES
 
 distcheck-hook:
        chmod -R u+w $(distdir)
index dcc3cb2..07d8175 100644 (file)
@@ -1,13 +1,29 @@
 ## Process this file with automake to create Makefile.in
-
-AUTOMAKE_OPTIONS = 1.4 gnits
-
+## Configure input file for elfutils.
+##
+## Copyright (C) 2000, 2001, 2002 Red Hat, Inc.
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License version 2 as
+## published by the Free Software Foundation.
+##
+## his program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software Foundation,
+## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+##
 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -DDWARF_DEBUG
 AM_CFLAGS = -Wall -Werror
 INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib
 
-#lib_LTLIBRARIES = libdwarf.la
-noinst_LTLIBRARIES = libdwarf.la
+lib_LTLIBRARIES = libdwarf.la
+
+euincludedir = ${includedir}/elfutils
+euinclude_HEADERS = dwarf.h libdwarf.h
 
 libdwarf_la_SOURCES = dwarf_init.c dwarf_elf_init.c dwarf_get_elf.c \
                      dwarf_finish.c \
@@ -49,13 +65,10 @@ libdwarf_la_SOURCES = dwarf_init.c dwarf_elf_init.c dwarf_get_elf.c \
                      dwarf_seterrhand.c dwarf_seterrarg.c \
                      dwarf_dealloc.c
 
-noinst_HEADERS = libdwarfP.h memory-access.h dwarf_abbrev_hash.h \
-               dwarf.h libdwarf.h
-
-#include_HEADERS = dwarf.h libdwarf.h
+noinst_HEADERS = libdwarfP.h memory-access.h dwarf_abbrev_hash.h
 
-EXTRA_DIST = AVAILABLE libdwarf.sym
+EXTRA_DIST = AVAILABLE libdwarf.map
 
-libdwarf_la_LDFLAGS = -export-symbols $(srcdir)/libdwarf.sym
-## libdwarf_la_LIBADD = ../libelf/libelf.la
-libdwarf_la_DEPENDENCIES = $(libdwarf_la_LIBADD) libdwarf.sym
+libdwarf_la_LDFLAGS = -Wl,--version-script,$(srcdir)/libdwarf.map
+libdwarf_la_LIBADD = ../lib/libeu.la ../libelf/libelf.la
+libdwarf_la_DEPENDENCIES = $(libdwarf_la_LIBADD) libdwarf.map
index 9d2de76..d3dbaae 100644 (file)
@@ -1,21 +1,35 @@
 ## Process this file with automake to create Makefile.in
-
-AUTOMAKE_OPTIONS = 1.4 gnits
-
+## Configure input file for elfutils.
+##
+## Copyright (C) 2000, 2001, 2002 Red Hat, Inc.
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License version 2 as
+## published by the Free Software Foundation.
+##
+## his program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software Foundation,
+## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+##
 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall
 AM_CFLAGS = -Wall -Werror -DOBJDIR=\"$(shell pwd)\"
 INCLUDES = -I$(srcdir) -I$(top_srcdir)/libelf -I$(top_srcdir)/lib -I.. \
           $(INCLTDL)
 
-#lib_LTLIBRARIES = libebl.la libebl_i386.la libebl_sh.la libebl_mips.la
-noinst_LTLIBRARIES = libebl.la libebl_i386.la libebl_sh.la libebl_mips.la
+lib_LTLIBRARIES = libebl.la
+pkglib_LTLIBRARIES = libebl_i386.la libebl_sh.la libebl_mips.la
 
+euincludedir = ${includedir}/elfutils
+euinclude_HEADERS = libebl.h elf-knowledge.h
 
-noinst_HEADERS = libeblP.h libebl_i386.h libebl_sh.h libebl_mips.h \
-               libebl.h elf-knowledge.h
-#include_HEADERS = libebl.h elf-knowledge.h
+noinst_HEADERS = libeblP.h libebl_i386.h libebl_sh.h libebl_mips.h
 
-EXTRA_DIST = libebl.sym libebl_i386.sym libebl_sh.sym libebl_mips.sym
+EXTRA_DIST = libebl.map libebl_i386.map libebl_sh.map libebl_mips.map
 
 libebl_la_SOURCES = eblopenbackend.c eblclosebackend.c eblstrtab.c \
                    eblreloctypename.c eblsegmenttypename.c \
@@ -24,16 +38,21 @@ libebl_la_SOURCES = eblopenbackend.c eblclosebackend.c eblstrtab.c \
                    eblobjecttypename.c eblsymbolbindingname.c \
                    eblbackendname.c eblshflagscombine.c eblwstrtab.c \
                    eblgstrtab.c eblosabiname.c eblmachineflagcheck.c \
-                   eblreloctypecheck.c ebldynamictagcheck.c
-libebl_la_LIBADD = ../lib/libbu.la $(LIBLTDL)
-libebl_la_LDFLAGS = -export-symbols $(srcdir)/libebl.sym
-libebl_la_DEPENDENCIES = $(libebl_la_LIBADD) libebl.sym
+                   eblreloctypecheck.c ebldynamictagcheck.c \
+                   eblcorenotetypename.c eblobjnotetypename.c \
+                   eblcorenote.c eblobjnote.c
+libebl_la_LIBADD = ../lib/libeu.la $(LIBLTDL)
+libebl_la_LDFLAGS = -Wl,--version-script,$(srcdir)/libebl.map
+libebl_la_DEPENDENCIES = $(libebl_la_LIBADD) libebl.map
 
-libebl_i386_la_SOURCES = i386_init.c i386_destr.c i386_symbol.c
-libebl_i386_la_LDFLAGS = -module -export-symbols $(srcdir)/libebl_i386.sym
+libebl_i386_la_SOURCES = i386_init.c i386_destr.c i386_symbol.c i386_corenote.c
+libebl_i386_la_LDFLAGS = -module -Wl,--version-script,$(srcdir)/libebl_i386.map
+libebl_i386_la_DEPENDENCIES = libebl_i386.map
 
 libebl_sh_la_SOURCES = sh_init.c sh_destr.c sh_symbol.c
-libebl_sh_la_LDFLAGS = -module -export-symbols $(srcdir)/libebl_sh.sym
+libebl_sh_la_LDFLAGS = -module -Wl,--version-script,$(srcdir)/libebl_sh.map
+libebl_sh_la_DEPENDENCIES = libebl_sh.map
 
 libebl_mips_la_SOURCES = mips_init.c mips_destr.c mips_symbol.c
-libebl_mips_la_LDFLAGS = -module -export-symbols $(srcdir)/libebl_mips.sym
+libebl_mips_la_LDFLAGS = -module -Wl,--version-script,$(srcdir)/libebl_mips.map
+libebl_mips_la_DEPENDENCIES = libebl_mips.map
index 5a30c0f..877b211 100644 (file)
@@ -1,7 +1,21 @@
 ## Process this file with automake to create Makefile.in
-
-AUTOMAKE_OPTIONS = 1.4 gnits
-
+## Configure input file for elfutils.
+##
+## Copyright (C) 1996-2001, 2002 Red Hat, Inc.
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License version 2 as
+## published by the Free Software Foundation.
+##
+## his program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software Foundation,
+## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+##
 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
 AM_CFLAGS = -Wall -Werror
 INCLUDES = -I. -I$(srcdir) -I.. -I$(top_srcdir)/lib
@@ -9,8 +23,10 @@ GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
 
 LINT = splint
 
-#lib_LTLIBRARIES = libelf.la
-noinst_LTLIBRARIES = libelf.la
+lib_LTLIBRARIES = libelf.la
+
+euincludedir = ${includedir}/elfutils
+euinclude_HEADERS = libelf.h gelf.h nlist.h
 
 libelf_la_SOURCES = elf_version.c elf_hash.c elf_error.c elf_fill.c \
                    elf_begin.c elf_next.c elf_rand.c elf_end.c elf_kind.c \
@@ -49,18 +65,20 @@ libelf_la_SOURCES = elf_version.c elf_hash.c elf_error.c elf_fill.c \
                    gelf_update_vernaux.c gelf_update_verdef.c \
                    gelf_update_verdaux.c \
                    elf_getshnum.c elf_getshstrndx.c \
-                   gelf_checksum.c elf32_checksum.c elf64_checksum.c crc32.c
-libelf_la_LIBADD = ../lib/libbu.la
-libelf_la_LDFLAGS = -export-symbols $(srcdir)/libelf.sym
-libelf_la_DEPENDENCIES = $(libelf_la_LIBADD) libelf.sym
+                   gelf_checksum.c elf32_checksum.c elf64_checksum.c crc32.c \
+                   gelf_rawchunk.c gelf_freechunk.c
+libelf_la_LIBADD = ../lib/libeu.la
+## XXX We might remove the -version-info parameter if all binary compatibility
+## XXX issues with the old libelf can be resolved.
+libelf_la_LDFLAGS = -Wl,--version-script,$(srcdir)/libelf.map \
+                   -version-info 1:0:0
+libelf_la_DEPENDENCIES = $(libelf_la_LIBADD) libelf.map
 
 noinst_HEADERS = elf.h abstract.h common.h exttypes.h gelf_xlate.h libelfP.h \
                 version_xlate.h dl-hash.h \
-               libelf.h gelf.h nlist.h \
                elf-knowledge.h
-#include_HEADERS = libelf.h gelf.h nlist.h
 
-EXTRA_DIST = libelf.sym
+EXTRA_DIST = libelf.map
 
 .PSEUDO: lint
 lint:
index 08c43c1..e5fc7f1 100644 (file)
@@ -42,12 +42,6 @@ elfw2(LIBELFBITS,getshdr) (scn)
   if (scn == NULL)
     return NULL;
 
-  if (unlikely (scn->elf->kind != ELF_K_ELF))
-    {
-      __libelf_seterrno (ELF_E_INVALID_HANDLE);
-      return NULL;
-    }
-
   if (unlikely (scn->elf->state.elf.ehdr == NULL))
     {
       __libelf_seterrno (ELF_E_WRONG_ORDER_EHDR);
index 883703a..dac89e9 100644 (file)
@@ -96,7 +96,7 @@ elf_getshstrndx (elf, dst)
                      || (((size_t) ((char *) elf->map_address + offset))
                          & (__alignof__ (Elf32_Shdr) - 1)) == 0))
                /* We can directly access the memory.  */
-               num = ((Elf32_Shdr *) (elf->map_address + offset))->sh_size;
+               num = ((Elf32_Shdr *) (elf->map_address + offset))->sh_link;
              else
                {
                  /* We avoid reading in all the section headers.  Just read
@@ -113,8 +113,8 @@ elf_getshstrndx (elf, dst)
                    }
 
                  if (elf->state.elf32.ehdr->e_ident[EI_DATA] != MY_ELFDATA)
-                   CONVERT (shdr_mem.sh_size);
-                 num = shdr_mem.sh_size;
+                   CONVERT (shdr_mem.sh_link);
+                 num = shdr_mem.sh_link;
                }
            }
          else
@@ -135,7 +135,7 @@ elf_getshstrndx (elf, dst)
                      || (((size_t) ((char *) elf->map_address + offset))
                          & (__alignof__ (Elf64_Shdr) - 1)) == 0))
                /* We can directly access the memory.  */
-               num = ((Elf64_Shdr *) (elf->map_address + offset))->sh_size;
+               num = ((Elf64_Shdr *) (elf->map_address + offset))->sh_link;
              else
                {
                  /* We avoid reading in all the section headers.  Just read
@@ -152,8 +152,8 @@ elf_getshstrndx (elf, dst)
                    }
 
                  if (elf->state.elf64.ehdr->e_ident[EI_DATA] != MY_ELFDATA)
-                   CONVERT (shdr_mem.sh_size);
-                 num = shdr_mem.sh_size;
+                   CONVERT (shdr_mem.sh_link);
+                 num = shdr_mem.sh_link;
                }
            }
        }
index 5958787..57d5a18 100644 (file)
@@ -7,7 +7,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2002-10-18 14:27-0400\n"
+"POT-Creation-Date: 2002-10-22 09:19-0700\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -20,94 +20,95 @@ msgstr ""
 msgid "memory exhausted"
 msgstr ""
 
-#: src/nm.c:58 src/readelf.c:50
+#: src/nm.c:59 src/readelf.c:52
 msgid "Output selection:"
 msgstr ""
 
-#: src/nm.c:59
+#: src/nm.c:60
 msgid "Display debugger-only symbols"
 msgstr ""
 
-#: src/nm.c:60
+#: src/nm.c:61
 msgid "Display only defined symbols"
 msgstr ""
 
-#: src/nm.c:61
+#: src/nm.c:62
 msgid "Display dynamic symbols instead of normal symbols"
 msgstr ""
 
-#: src/nm.c:62
+#: src/nm.c:63
 msgid "Display only external symbols"
 msgstr ""
 
-#: src/nm.c:63
+#: src/nm.c:64
 msgid "Display only undefined symbols"
 msgstr ""
 
-#: src/nm.c:64 src/size.c:53
+#: src/nm.c:65 src/size.c:53
 msgid "Output format:"
 msgstr ""
 
-#: src/nm.c:65
+#: src/nm.c:66
 msgid "Print name of the input file before every symbol"
 msgstr ""
 
-#: src/nm.c:66
+#: src/nm.c:67
 msgid "Same as -A"
 msgstr ""
 
-#: src/nm.c:67
+#: src/nm.c:68
 msgid ""
 "Use the output format FORMAT.  FORMAT can be `bsd', `sysv' or `posix'.  The "
 "default is `sysv'"
 msgstr ""
 
-#: src/nm.c:68
+#: src/nm.c:69
 msgid "Same as --format=bsd"
 msgstr ""
 
-#: src/nm.c:69
+#: src/nm.c:70
 msgid "Same as --format=posix"
 msgstr ""
 
-#: src/nm.c:70 src/size.c:57
+#: src/nm.c:71 src/size.c:57
 msgid "Use RADIX for printing symbol values"
 msgstr ""
 
-#: src/nm.c:71
+#: src/nm.c:72
 msgid "mark weak symbols"
 msgstr ""
 
-#: src/nm.c:72
+#: src/nm.c:73
 msgid "Output options:"
 msgstr ""
 
-#: src/nm.c:73
+#: src/nm.c:74
 msgid "Sort symbols numerically by address"
 msgstr ""
 
-#: src/nm.c:74
+#: src/nm.c:75
 msgid "Do not sort the symbols"
 msgstr ""
 
-#: src/nm.c:75
+#: src/nm.c:76
 msgid "Miscellaneous:"
 msgstr ""
 
-#: src/nm.c:80
+#: src/nm.c:81
 msgid "List symbols from FILEs (a.out by default)."
 msgstr ""
 
-#: src/nm.c:83 src/size.c:71 src/strip.c:66
+#: src/nm.c:84 src/size.c:71 src/strip.c:66
 msgid "[FILE...]"
 msgstr ""
 
-#: src/nm.c:111 src/size.c:96 src/strip.c:89
+#: src/nm.c:112 src/size.c:96 src/strip.c:89
 #, c-format
 msgid "%s: INTERNAL ERROR: %s"
 msgstr ""
 
-#: src/nm.c:214 src/readelf.c:339 src/size.c:186 src/strip.c:158 src/ld.c:785
+#: src/nm.c:215 src/readelf.c:351 src/size.c:186 src/strip.c:158 src/ld.c:789
+#: src/elflint.c:213
 #, c-format
 msgid ""
 "Copyright (C) %s Red Hat, Inc.\n"
@@ -115,39 +116,41 @@ msgid ""
 "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
 msgstr ""
 
-#: src/nm.c:219 src/readelf.c:344 src/size.c:191 src/strip.c:163 src/ld.c:790
+#: src/nm.c:220 src/readelf.c:356 src/size.c:191 src/strip.c:163 src/ld.c:794
+#: src/elflint.c:218
 #, c-format
 msgid "Written by %s.\n"
 msgstr ""
 
-#: src/nm.c:310 src/readelf.c:326 src/size.c:263 src/strip.c:199
+#: src/nm.c:311 src/readelf.c:338 src/size.c:263 src/strip.c:199
+#: src/elflint.c:200
 msgid "Report bugs to <drepper@redhat.com>.\n"
 msgstr ""
 
-#: src/nm.c:346 src/nm.c:358 src/size.c:299
+#: src/nm.c:347 src/nm.c:359 src/size.c:299
 #, c-format
 msgid "while close `%s'"
 msgstr ""
 
-#: src/nm.c:368 src/strip.c:272
+#: src/nm.c:369 src/strip.c:272
 #, c-format
 msgid "%s: File format not recognized"
 msgstr ""
 
-#: src/nm.c:412
+#: src/nm.c:413
 #, c-format
 msgid "%s%s%s: file format not recognized"
 msgstr ""
 
-#: src/nm.c:529 src/nm.c:853 src/readelf.c:650 src/readelf.c:780
-#: src/readelf.c:864 src/readelf.c:1048 src/readelf.c:1271 src/readelf.c:1422
-#: src/readelf.c:1594 src/readelf.c:1851 src/readelf.c:1929 src/readelf.c:2019
-#: src/readelf.c:2301 src/readelf.c:3013 src/size.c:404 src/size.c:478
-#: src/strip.c:336
+#: src/nm.c:702 src/nm.c:1048 src/readelf.c:664 src/readelf.c:794
+#: src/readelf.c:878 src/readelf.c:1062 src/readelf.c:1282 src/readelf.c:1434
+#: src/readelf.c:1608 src/readelf.c:1865 src/readelf.c:1941 src/readelf.c:2029
+#: src/readelf.c:2309 src/readelf.c:3726 src/size.c:404 src/size.c:478
+#: src/strip.c:344
 msgid "cannot get section header string table index"
 msgstr ""
 
-#: src/nm.c:547
+#: src/nm.c:720
 #, c-format
 msgid ""
 "\n"
@@ -156,7 +159,7 @@ msgid ""
 "\n"
 msgstr ""
 
-#: src/nm.c:549
+#: src/nm.c:722
 #, c-format
 msgid ""
 "\n"
@@ -165,359 +168,364 @@ msgid ""
 "\n"
 msgstr ""
 
-#: src/nm.c:552
+#: src/nm.c:725
 #, c-format
 msgid ""
 "%*s%-*s %-*s Class  Type     %-*s Line          Section\n"
 "\n"
 msgstr ""
 
-#: src/nm.c:863
+#: src/nm.c:1058
 #, c-format
 msgid "%s: entry size in section `%s' is not what we expect"
 msgstr ""
 
-#: src/nm.c:867
+#: src/nm.c:1062
 #, c-format
 msgid "%s: size of section `%s' is not multiple of entry size"
 msgstr ""
 
-#: src/nm.c:966
+#: src/nm.c:1161
 #, c-format
 msgid "%s%s%s%s: Invalid operation"
 msgstr ""
 
-#: src/nm.c:1024
+#: src/nm.c:1219
 #, c-format
 msgid "%s%s%s: no symbols"
 msgstr ""
 
-#: src/readelf.c:51
+#: src/readelf.c:53
 msgid "Equivalent to: -h -l"
 msgstr ""
 
-#: src/readelf.c:52
+#: src/readelf.c:54
 msgid "Display the dynamic segment"
 msgstr ""
 
-#: src/readelf.c:53
+#: src/readelf.c:55
 msgid "Display the ELF file header"
 msgstr ""
 
-#: src/readelf.c:55
+#: src/readelf.c:57
 msgid "Display histogram of bucket list lengths"
 msgstr ""
 
-#: src/readelf.c:56
+#: src/readelf.c:58
 msgid "Display the program headers"
 msgstr ""
 
-#: src/readelf.c:57
+#: src/readelf.c:59
 msgid "Display relocations"
 msgstr ""
 
-#: src/readelf.c:58
+#: src/readelf.c:60
 msgid "Display the sections' header"
 msgstr ""
 
-#: src/readelf.c:59
+#: src/readelf.c:61
 msgid "Display the symbol table"
 msgstr ""
 
-#: src/readelf.c:60
+#: src/readelf.c:62
 msgid "Display versioning information"
 msgstr ""
 
-#: src/readelf.c:62
+#: src/readelf.c:64
 msgid ""
 "Display DWARF section content.  SECTION can be one of abbrev, aranges, "
 "frame, info, loc, line, pubnames, or str."
 msgstr ""
 
-#: src/readelf.c:65
+#: src/readelf.c:66
+msgid "Display the core notes"
+msgstr ""
+
+#: src/readelf.c:68
 msgid "Output control:"
 msgstr ""
 
-#: src/readelf.c:71
+#: src/readelf.c:74
 msgid "Print information from ELF file in human-readable form."
 msgstr ""
 
-#: src/readelf.c:75
+#: src/readelf.c:78 src/elflint.c:62
 msgid "FILE..."
 msgstr ""
 
-#: src/readelf.c:209
+#: src/readelf.c:216 src/elflint.c:133
 msgid "cannot open input file"
 msgstr ""
 
-#: src/readelf.c:216
+#: src/readelf.c:223 src/elflint.c:140
 #, c-format
 msgid "cannot generate Elf descriptor: %s\n"
 msgstr ""
 
-#: src/readelf.c:224
+#: src/readelf.c:231 src/elflint.c:150
 #, c-format
 msgid "error while closing Elf descriptor: %s"
 msgstr ""
 
-#: src/readelf.c:399
+#: src/readelf.c:411 src/elflint.c:272
 #, c-format
 msgid " error while freeing sub-ELF descriptor: %s\n"
 msgstr ""
 
-#: src/readelf.c:407
+#: src/readelf.c:419
 msgid "cannot stat input file"
 msgstr ""
 
-#: src/readelf.c:409
+#: src/readelf.c:421
 msgid "input file is empty"
 msgstr ""
 
-#: src/readelf.c:412
+#: src/readelf.c:424 src/elflint.c:280
 msgid "Not an ELF file - it has the wrong magic bytes at the start"
 msgstr ""
 
-#: src/readelf.c:439
+#: src/readelf.c:451 src/elflint.c:1754
 #, c-format
 msgid "cannot read ELF header: %s"
 msgstr ""
 
-#: src/readelf.c:446
+#: src/readelf.c:458
 msgid "cannot create EBL handle"
 msgstr ""
 
-#: src/readelf.c:453 src/strip.c:366 src/ldgeneric.c:587 src/ldgeneric.c:978
+#: src/readelf.c:465 src/strip.c:374 src/ldgeneric.c:587 src/ldgeneric.c:978
 #, c-format
 msgid "cannot determine number of sections: %s"
 msgstr ""
 
-#: src/readelf.c:491
+#: src/readelf.c:505
 msgid "NONE (None)"
 msgstr ""
 
-#: src/readelf.c:492
+#: src/readelf.c:506
 msgid "REL (Relocatable file)"
 msgstr ""
 
-#: src/readelf.c:493
+#: src/readelf.c:507
 msgid "EXEC (Executable file)"
 msgstr ""
 
-#: src/readelf.c:494
+#: src/readelf.c:508
 msgid "DYN (Shared object file)"
 msgstr ""
 
-#: src/readelf.c:495
+#: src/readelf.c:509
 msgid "CORE (Core file)"
 msgstr ""
 
-#: src/readelf.c:500
+#: src/readelf.c:514
 #, c-format
 msgid "OS Specific: (%x)\n"
 msgstr ""
 
-#: src/readelf.c:502
+#: src/readelf.c:516
 #, c-format
 msgid "Processor Specific: (%x)\n"
 msgstr ""
 
-#: src/readelf.c:515
+#: src/readelf.c:529
 msgid ""
 "ELF Header:\n"
 "  Magic:  "
 msgstr ""
 
-#: src/readelf.c:519
+#: src/readelf.c:533
 #, c-format
 msgid ""
 "\n"
 "  Class:                             %s\n"
 msgstr ""
 
-#: src/readelf.c:524
+#: src/readelf.c:538
 #, c-format
 msgid "  Data:                              %s\n"
 msgstr ""
 
-#: src/readelf.c:530
+#: src/readelf.c:544
 #, c-format
 msgid "  Version:                           %hhd %s\n"
 msgstr ""
 
-#: src/readelf.c:532 src/readelf.c:548
+#: src/readelf.c:546 src/readelf.c:562
 msgid "(current)"
 msgstr ""
 
-#: src/readelf.c:535
+#: src/readelf.c:549
 #, c-format
 msgid "  OS/ABI:                            %s\n"
 msgstr ""
 
-#: src/readelf.c:538
+#: src/readelf.c:552
 #, c-format
 msgid "  ABI Version:                       %hhd\n"
 msgstr ""
 
-#: src/readelf.c:541
+#: src/readelf.c:555
 msgid "  Type:                              "
 msgstr ""
 
-#: src/readelf.c:544
+#: src/readelf.c:558
 #, c-format
 msgid "  Machine:                           %s\n"
 msgstr ""
 
-#: src/readelf.c:546
+#: src/readelf.c:560
 #, c-format
 msgid "  Version:                           %d %s\n"
 msgstr ""
 
-#: src/readelf.c:550
-msgid "  Entry point address:               "
+#: src/readelf.c:564
+#, c-format
+msgid "  Entry point address:               %#<PRIx64>\n"
 msgstr ""
 
-#: src/readelf.c:553
+#: src/readelf.c:567
 #, c-format
 msgid "  Start of program headers:          %<PRId64> %s\n"
 msgstr ""
 
-#: src/readelf.c:554 src/readelf.c:557
+#: src/readelf.c:568 src/readelf.c:571
 msgid "(bytes into file)"
 msgstr ""
 
-#: src/readelf.c:556
+#: src/readelf.c:570
 #, c-format
 msgid "  Start of section headers:          %<PRId64> %s\n"
 msgstr ""
 
-#: src/readelf.c:559
+#: src/readelf.c:573
 #, c-format
 msgid "  Flags:                             %s\n"
 msgstr ""
 
-#: src/readelf.c:562
+#: src/readelf.c:576
 #, c-format
 msgid "  Size of this header:               %<PRId16> %s\n"
 msgstr ""
 
-#: src/readelf.c:563 src/readelf.c:566 src/readelf.c:572
+#: src/readelf.c:577 src/readelf.c:580 src/readelf.c:586
 msgid "(bytes)"
 msgstr ""
 
-#: src/readelf.c:565
+#: src/readelf.c:579
 #, c-format
 msgid "  Size of program header entries:    %<PRId16> %s\n"
 msgstr ""
 
-#: src/readelf.c:568
+#: src/readelf.c:582
 #, c-format
 msgid "  Number of program headers entries: %<PRId16>\n"
 msgstr ""
 
-#: src/readelf.c:571
+#: src/readelf.c:585
 #, c-format
 msgid "  Size of section header entries:    %<PRId16> %s\n"
 msgstr ""
 
-#: src/readelf.c:574
+#: src/readelf.c:588
 #, c-format
 msgid "  Number of section headers entries: %<PRId16>"
 msgstr ""
 
-#: src/readelf.c:583
+#: src/readelf.c:597
 #, c-format
 msgid " (%<PRIu32> in [0].sh_size)"
 msgstr ""
 
-#: src/readelf.c:586 src/readelf.c:602
+#: src/readelf.c:600 src/readelf.c:616
 msgid " ([0] not available)"
 msgstr ""
 
-#: src/readelf.c:598
+#: src/readelf.c:612
 #, c-format
 msgid " (%<PRIu32> in [0].sh_link)"
 msgstr ""
 
-#: src/readelf.c:606
+#: src/readelf.c:620
 #, c-format
 msgid ""
 "  Section header string table index: XINDEX%s\n"
 "\n"
 msgstr ""
 
-#: src/readelf.c:610
+#: src/readelf.c:624
 #, c-format
 msgid ""
 "  Section header string table index: %<PRId16>\n"
 "\n"
 msgstr ""
 
-#: src/readelf.c:642
+#: src/readelf.c:656
 #, c-format
 msgid ""
 "There are %d section headers, starting at offset %#<PRIx64>:\n"
 "\n"
 msgstr ""
 
-#: src/readelf.c:652
+#: src/readelf.c:666
 msgid "Section Headers:"
 msgstr ""
 
-#: src/readelf.c:655
+#: src/readelf.c:669
 msgid ""
 "[Nr] Name                 Type         Addr     Off    Size   ES Flags Lk "
 "Inf Al"
 msgstr ""
 
-#: src/readelf.c:657
+#: src/readelf.c:671
 msgid ""
 "[Nr] Name                 Type         Addr             Off      Size     ES "
 "Flags Lk Inf Al"
 msgstr ""
 
-#: src/readelf.c:669 src/readelf.c:807
+#: src/readelf.c:683 src/readelf.c:821
 #, c-format
 msgid "cannot get section: %s"
 msgstr ""
 
-#: src/readelf.c:675 src/readelf.c:814
+#: src/readelf.c:689 src/readelf.c:828
 #, c-format
 msgid "cannot get section header: %s"
 msgstr ""
 
-#: src/readelf.c:730
+#: src/readelf.c:744
 msgid "Program Headers:"
 msgstr ""
 
-#: src/readelf.c:732
+#: src/readelf.c:746
 msgid ""
 "  Type           Offset   VirtAddr   PhysAddr   FileSiz  MemSiz   Flg Align"
 msgstr ""
 
-#: src/readelf.c:735
+#: src/readelf.c:749
 msgid ""
 "  Type           Offset   VirtAddr           PhysAddr           FileSiz  "
 "MemSiz   Flg Align"
 msgstr ""
 
-#: src/readelf.c:772
+#: src/readelf.c:786
 #, c-format
 msgid "\t[Requesting program interpreter: %s]\n"
 msgstr ""
 
-#: src/readelf.c:782
+#: src/readelf.c:796
 msgid ""
 "\n"
 " Section to Segment mapping:\n"
 "  Segment Sections..."
 msgstr ""
 
-#: src/readelf.c:795
+#: src/readelf.c:809
 #, c-format
 msgid "cannot get program header: %s"
 msgstr ""
 
-#: src/readelf.c:869
+#: src/readelf.c:883
 #, c-format
 msgid ""
 "\n"
@@ -528,7 +536,7 @@ msgid_plural ""
 msgstr[0] ""
 msgstr[1] ""
 
-#: src/readelf.c:874
+#: src/readelf.c:888
 #, c-format
 msgid ""
 "\n"
@@ -539,128 +547,124 @@ msgid_plural ""
 msgstr[0] ""
 msgstr[1] ""
 
-#: src/readelf.c:882
+#: src/readelf.c:896
 msgid "<INVALID SYMBOL>"
 msgstr ""
 
-#: src/readelf.c:894
+#: src/readelf.c:908
 #, c-format
 msgid "  [%2d] <INVALID SECTION>\n"
 msgstr ""
 
-#: src/readelf.c:899
+#: src/readelf.c:913
 msgid "<INVALID SECTION>"
 msgstr ""
 
-#: src/readelf.c:1050
+#: src/readelf.c:1064
 #, c-format
 msgid ""
 "\n"
 "Dynamic segment contains %lu entry:\n"
-" Addr: "
+" Addr: %#0*<PRIx64>  Offset: %#08<PRIx64>  Link to section: [%2d] '%s'\n"
 msgid_plural ""
 "\n"
 "Dynamic segment contains %lu entries:\n"
-" Addr: "
+" Addr: %#0*<PRIx64>  Offset: %#08<PRIx64>  Link to section: [%2d] '%s'\n"
 msgstr[0] ""
 msgstr[1] ""
 
-#: src/readelf.c:1056 src/readelf.c:1860 src/readelf.c:1939 src/readelf.c:2239
-#: src/readelf.c:2346
-msgid "  Offset: "
-msgstr ""
-
-#: src/readelf.c:1058 src/readelf.c:1862 src/readelf.c:1941 src/readelf.c:2241
-#: src/readelf.c:2348
-msgid "  Link to section: "
-msgstr ""
-
-#: src/readelf.c:1064
+#: src/readelf.c:1076
 msgid "  Tag         Type            Value\n"
 msgstr ""
 
-#: src/readelf.c:1091
+#: src/readelf.c:1103
 #, c-format
 msgid "Shared library: [%s]\n"
 msgstr ""
 
-#: src/readelf.c:1096
+#: src/readelf.c:1108
 #, c-format
 msgid "Library soname: [%s]\n"
 msgstr ""
 
-#: src/readelf.c:1101
+#: src/readelf.c:1113
 #, c-format
 msgid "Library rpath: [%s]\n"
 msgstr ""
 
-#: src/readelf.c:1106
+#: src/readelf.c:1118
 #, c-format
 msgid "Library runpath: [%s]\n"
 msgstr ""
 
-#: src/readelf.c:1126
+#: src/readelf.c:1138
 #, c-format
 msgid "%<PRId64> (bytes)\n"
 msgstr ""
 
-#: src/readelf.c:1245 src/readelf.c:1396
+#: src/readelf.c:1257 src/readelf.c:1409
+#, c-format
 msgid ""
 "\n"
-"Invalid symbol table at offset "
+"Invalid symbol table at offset %#0*<PRIx64>\n"
 msgstr ""
 
-#: src/readelf.c:1273
+#: src/readelf.c:1284
 #, c-format
 msgid ""
 "\n"
-"Relocation section [%2d] '%s' for section [%2d] '%s' at offset "
-msgstr ""
-
-#: src/readelf.c:1280 src/readelf.c:1430
-#, c-format
-msgid " contains %d entry:\n"
-msgid_plural " contains %d entries:\n"
+"Relocation section [%2d] '%s' for section [%2d] '%s' at offset %"
+"#0*<PRIx64>contains %d entry:\n"
+msgid_plural ""
+"\n"
+"Relocation section [%2d] '%s' for section [%2d] '%s' at offset %"
+"#0*<PRIx64>contains %d entries:\n"
 msgstr[0] ""
 msgstr[1] ""
 
-#: src/readelf.c:1283
+#: src/readelf.c:1296
 msgid "  Offset      Type                 Value       Name\n"
 msgstr ""
 
-#: src/readelf.c:1285
+#: src/readelf.c:1298
 msgid "  Offset              Type                 Value               Name\n"
 msgstr ""
 
-#: src/readelf.c:1312 src/readelf.c:1323 src/readelf.c:1341 src/readelf.c:1353
-#: src/readelf.c:1463 src/readelf.c:1475 src/readelf.c:1494 src/readelf.c:1507
+#: src/readelf.c:1325 src/readelf.c:1336 src/readelf.c:1354 src/readelf.c:1366
+#: src/readelf.c:1477 src/readelf.c:1489 src/readelf.c:1508 src/readelf.c:1521
 msgid "<INVALID RELOC>"
 msgstr ""
 
-#: src/readelf.c:1313 src/readelf.c:1464
+#: src/readelf.c:1326 src/readelf.c:1478
 msgid "INVALID SYMBOL"
 msgstr ""
 
-#: src/readelf.c:1342 src/readelf.c:1495
+#: src/readelf.c:1355 src/readelf.c:1509
 msgid "INVALID SECTION"
 msgstr ""
 
-#: src/readelf.c:1424
+#: src/readelf.c:1436
 #, c-format
 msgid ""
 "\n"
-"Relocation section '%s' for section [%2d] '%s' at offset "
-msgstr ""
+"Relocation section '%s' for section [%2d] '%s' at offset %#0*<PRIx64> "
+"contains %d entry:\n"
+msgid_plural ""
+"\n"
+"Relocation section '%s' for section [%2d] '%s' at offset %#0*<PRIx64> "
+"contains %d entries:\n"
+msgstr[0] ""
+msgstr[1] ""
 
-#: src/readelf.c:1433
+#: src/readelf.c:1447
 msgid "  Offset      Type            Value       Addend Name\n"
 msgstr ""
 
-#: src/readelf.c:1435
+#: src/readelf.c:1449
 msgid "  Offset              Type            Value               Addend Name\n"
 msgstr ""
 
-#: src/readelf.c:1600
+#: src/readelf.c:1614
 #, c-format
 msgid ""
 "\n"
@@ -671,158 +675,168 @@ msgid_plural ""
 msgstr[0] ""
 msgstr[1] ""
 
-#: src/readelf.c:1605
+#: src/readelf.c:1619
 #, c-format
 msgid " %lu local symbol  String table: [%2d] '%s'\n"
 msgid_plural " %lu local symbols  String table: [%2d] '%s'\n"
 msgstr[0] ""
 msgstr[1] ""
 
-#: src/readelf.c:1614
+#: src/readelf.c:1628
 msgid "  Num:    Value   Size Type    Bind   Vis          Ndx Name\n"
 msgstr ""
 
-#: src/readelf.c:1616
+#: src/readelf.c:1630
 msgid "  Num:            Value   Size Type    Bind   Vis          Ndx Name\n"
 msgstr ""
 
-#: src/readelf.c:1725
+#: src/readelf.c:1739
 msgid "bad dynamic symbol"
 msgstr ""
 
-#: src/readelf.c:1808
+#: src/readelf.c:1822
 msgid "none"
 msgstr ""
 
-#: src/readelf.c:1825
+#: src/readelf.c:1839
 msgid "| <unknown>"
 msgstr ""
 
-#: src/readelf.c:1853
+#: src/readelf.c:1867
 #, c-format
 msgid ""
 "\n"
 "Version needs section [%2d] '%s' contains %d entry:\n"
-" Addr: "
+" Addr: %#0*<PRIx64>  Offset: %#08<PRIx64>  Link to section: [%2d] '%s'\n"
 msgid_plural ""
 "\n"
 "Version needs section [%2d] '%s' contains %d entries:\n"
-" Addr: "
+" Addr: %#0*<PRIx64>  Offset: %#08<PRIx64>  Link to section: [%2d] '%s'\n"
 msgstr[0] ""
 msgstr[1] ""
 
-#: src/readelf.c:1882
+#: src/readelf.c:1894
 #, c-format
 msgid "  %#06x: Version: %hd  File: %s  Cnt: %hd\n"
 msgstr ""
 
-#: src/readelf.c:1897
+#: src/readelf.c:1909
 #, c-format
 msgid "  %#06x: Name: %s  Flags: %s  Version: %hd\n"
 msgstr ""
 
-#: src/readelf.c:1931
+#: src/readelf.c:1943
 #, c-format
 msgid ""
 "\n"
 "Version definition section [%2d] '%s' contains %d entry:\n"
-" Addr: "
+" Addr: %#0*<PRIx64>  Offset: %#08<PRIx64>  Link to section: [%2d] '%s'\n"
 msgid_plural ""
 "\n"
 "Version definition section [%2d] '%s' contains %d entries:\n"
-" Addr: "
+" Addr: %#0*<PRIx64>  Offset: %#08<PRIx64>  Link to section: [%2d] '%s'\n"
 msgstr[0] ""
 msgstr[1] ""
 
-#: src/readelf.c:1968
+#: src/readelf.c:1978
 #, c-format
 msgid "  %#06x: Version: %hd  Flags: %s  Index: %hd  Cnt: %hd  Name: %s\n"
 msgstr ""
 
-#: src/readelf.c:1983
+#: src/readelf.c:1993
 #, c-format
 msgid "  %#06x: Parent %d: %s\n"
 msgstr ""
 
-#: src/readelf.c:2231
+#: src/readelf.c:2241
 #, c-format
 msgid ""
 "\n"
 "Version symbols section [%2d] '%s' contains %d entry:\n"
-" Addr: "
+" Addr: %#0*<PRIx64>  Offset: %#08<PRIx64>  Link to section: [%2d] '%s'"
 msgid_plural ""
 "\n"
 "Version symbols section [%2d] '%s' contains %d entries:\n"
-" Addr: "
+" Addr: %#0*<PRIx64>  Offset: %#08<PRIx64>  Link to section: [%2d] '%s'"
 msgstr[0] ""
 msgstr[1] ""
 
-#: src/readelf.c:2265
+#: src/readelf.c:2273
 msgid "   0 *local*                     "
 msgstr ""
 
-#: src/readelf.c:2270
+#: src/readelf.c:2278
 msgid "   1 *global*                    "
 msgstr ""
 
-#: src/readelf.c:2326
+#: src/readelf.c:2334
 #, c-format
 msgid "cannot get data for section %d: %s"
 msgstr ""
 
-#: src/readelf.c:2336
+#: src/readelf.c:2344
 #, c-format
 msgid ""
 "\n"
 "Histogram for bucket list length in section [%2d] '%s' (total of %d "
 "bucket):\n"
-" Addr: "
+" Addr: %#0*<PRIx64>  Offset: %#08<PRIx64>  Link to section: [%2d] '%s'\n"
 msgid_plural ""
 "\n"
 "Histogram for bucket list length in section [%2d] '%s' (total of %d "
 "buckets):\n"
-" Addr: "
+" Addr: %#0*<PRIx64>  Offset: %#08<PRIx64>  Link to section: [%2d] '%s'\n"
 msgstr[0] ""
 msgstr[1] ""
 
-#: src/readelf.c:2384
+#: src/readelf.c:2389
 #, c-format
 msgid " Length  Number  % of total  Coverage"
 msgstr ""
 
-#: src/readelf.c:2404
+#: src/readelf.c:2390
+#, c-format
+msgid "      0  %6<PRIu32>      %5.1f%%\n"
+msgstr ""
+
+#: src/readelf.c:2396
+#, c-format
+msgid "%7d  %6<PRIu32>      %5.1f%%    %5.1f%%\n"
+msgstr ""
+
+#: src/readelf.c:2410
 #, c-format
 msgid ""
 " Average number of tests:   successful lookup: %f\n"
 "                          unsuccessful lookup: %f\n"
 msgstr ""
 
-#: src/readelf.c:2501
+#: src/readelf.c:2507
 #, c-format
 msgid "unknown tag %hx"
 msgstr ""
 
-#: src/readelf.c:2503
+#: src/readelf.c:2509
 #, c-format
 msgid "unknown user tag %hx"
 msgstr ""
 
-#: src/readelf.c:2686
+#: src/readelf.c:2692
 #, c-format
 msgid "unknown attribute %hx"
 msgstr ""
 
-#: src/readelf.c:2689
+#: src/readelf.c:2695
 #, c-format
 msgid "unknown user attribute %hx"
 msgstr ""
 
-#: src/readelf.c:2735
+#: src/readelf.c:2741
 #, c-format
 msgid "unknown form %<PRIx64>"
 msgstr ""
 
-#: src/readelf.c:2748
+#: src/readelf.c:3113
 #, c-format
 msgid ""
 "\n"
@@ -830,50 +844,50 @@ msgid ""
 " [ Code]\n"
 msgstr ""
 
-#: src/readelf.c:2771
+#: src/readelf.c:3136
 #, c-format
 msgid " *** error while reading abbreviation: %s\n"
 msgstr ""
 
-#: src/readelf.c:2782
+#: src/readelf.c:3147
 #, c-format
 msgid " *** error while reading abbreviation code: %s\n"
 msgstr ""
 
-#: src/readelf.c:2789
+#: src/readelf.c:3154
 #, c-format
 msgid " *** error while reading abbreviation tag: %s\n"
 msgstr ""
 
-#: src/readelf.c:2797
+#: src/readelf.c:3162
 #, c-format
 msgid " *** error while reading abbreviation children flag: %s\n"
 msgstr ""
 
-#: src/readelf.c:2803
+#: src/readelf.c:3168
 #, c-format
 msgid " [%5<PRId64>] offset: %<PRId64>, children: %s, tag: %s\n"
 msgstr ""
 
-#: src/readelf.c:2806
+#: src/readelf.c:3171
 msgid "yes"
 msgstr ""
 
-#: src/readelf.c:2806
+#: src/readelf.c:3171
 msgid "no"
 msgstr ""
 
-#: src/readelf.c:2821
+#: src/readelf.c:3186
 #, c-format
 msgid " *** error while reading abbreviation entries: %s\n"
 msgstr ""
 
-#: src/readelf.c:2845
+#: src/readelf.c:3210
 #, c-format
 msgid "cannot get .debug_aranges content: %s"
 msgstr ""
 
-#: src/readelf.c:2850 src/readelf.c:2935
+#: src/readelf.c:3215 src/readelf.c:3648
 #, c-format
 msgid ""
 "\n"
@@ -884,37 +898,103 @@ msgid_plural ""
 msgstr[0] ""
 msgstr[1] ""
 
-#: src/readelf.c:2865 src/readelf.c:2950
+#: src/readelf.c:3230 src/readelf.c:3663
 #, c-format
 msgid " [%5<PRId64>] ???\n"
 msgstr ""
 
-#: src/readelf.c:2867
+#: src/readelf.c:3232
 #, c-format
 msgid ""
 " [%5<PRId64>] start: %0#*<PRIx64>, length: %5<PRIu64>, CU DIE offset: %"
 "6<PRId64>\n"
 msgstr ""
 
-#: src/readelf.c:2891 src/readelf.c:2901 src/readelf.c:2911
+#: src/readelf.c:3256
+#, c-format
+msgid ""
+"\n"
+"DWARF section '%s' at offset %#<PRIx64>:\n"
+" [Offset]\n"
+msgstr ""
+
+#: src/readelf.c:3284
+#, c-format
+msgid "cannot get CU header in section '%s': %s"
+msgstr ""
+
+#: src/readelf.c:3289
+#, c-format
+msgid ""
+" Compilation unit at offset %<PRIu64>:\n"
+" Version: %<PRIu16>, Abbreviation section offset: %<PRIu64>, Address size: %"
+"<PRIu16>\n"
+msgstr ""
+
+#: src/readelf.c:3301
+#, c-format
+msgid "cannot get DIE at offset %<PRIu64> in section '%s': %s"
+msgstr ""
+
+#: src/readelf.c:3311
+#, c-format
+msgid "cannot get DIE offset: %s"
+msgstr ""
+
+#: src/readelf.c:3319
+#, c-format
+msgid "cannot get tag of DIE at offset %<PRIu64> in section '%s': %s"
+msgstr ""
+
+#: src/readelf.c:3418
+#, c-format
+msgid "cannot get attributes of DIE: %s"
+msgstr ""
+
+#: src/readelf.c:3430
+#, c-format
+msgid "cannot get attribute code: %s"
+msgstr ""
+
+#: src/readelf.c:3438
+#, c-format
+msgid "cannot get attribute form: %s"
+msgstr ""
+
+#: src/readelf.c:3451
+#, c-format
+msgid "cannot get attribute value: %s"
+msgstr ""
+
+#: src/readelf.c:3579
+#, c-format
+msgid "cannot get next DIE: %s\n"
+msgstr ""
+
+#: src/readelf.c:3586
+#, c-format
+msgid "cannot get next DIE: %s"
+msgstr ""
+
+#: src/readelf.c:3614 src/readelf.c:3624
 #, c-format
 msgid ""
 "\n"
 "DWARF section '%s' at offset %#<PRIx64>:\n"
 msgstr ""
 
-#: src/readelf.c:2930
+#: src/readelf.c:3643
 #, c-format
 msgid "cannot get .debug_pubnames content: %s"
 msgstr ""
 
-#: src/readelf.c:2952
+#: src/readelf.c:3665
 #, c-format
 msgid ""
 " [%5<PRId64>] DIE offset: %6<PRId64>, CU DIE offset: %6<PRId64>, name: %s\n"
 msgstr ""
 
-#: src/readelf.c:2974
+#: src/readelf.c:3687
 #, c-format
 msgid ""
 "\n"
@@ -922,16 +1002,37 @@ msgid ""
 " [Offset]  String\n"
 msgstr ""
 
-#: src/readelf.c:2986
+#: src/readelf.c:3699
 #, c-format
 msgid " *** error while reading strings: %s\n"
 msgstr ""
 
-#: src/readelf.c:3005
+#: src/readelf.c:3718
 #, c-format
 msgid "cannot get debug context descriptor: %s"
 msgstr ""
 
+#: src/readelf.c:3792
+#, c-format
+msgid ""
+"\n"
+"Note segment of %<PRId64> bytes at offset %#0*<PRIx64>:\n"
+msgstr ""
+
+#: src/readelf.c:3799
+#, c-format
+msgid "cannot get content of note section: %s"
+msgstr ""
+
+#: src/readelf.c:3802
+msgid "  Owner          Data size  Type\n"
+msgstr ""
+
+#: src/readelf.c:3840
+#, c-format
+msgid "  %-13.*s  %9<PRId32>  %s\n"
+msgstr ""
+
 #: src/size.c:54
 msgid ""
 "Use the output format FORMAT.  FORMAT can be `bsd' or `sysv'.  The default "
@@ -1030,47 +1131,52 @@ msgstr ""
 msgid "cannot set access and modification date of \"%s\""
 msgstr ""
 
-#: src/strip.c:323
+#: src/strip.c:331
 #, c-format
 msgid "cannot open `%s'"
 msgstr ""
 
-#: src/strip.c:345
+#: src/strip.c:353
 #, c-format
 msgid "cannot create new file `%s': %s"
 msgstr ""
 
-#: src/strip.c:394
+#: src/strip.c:412
 #, c-format
 msgid "illformed file `%s'"
 msgstr ""
 
-#: src/strip.c:657
+#: src/strip.c:643
 #, c-format
 msgid "while preparing output for `%s'"
 msgstr ""
 
-#: src/strip.c:701
+#: src/strip.c:655
 #, c-format
 msgid "while generating output file: %s"
 msgstr ""
 
-#: src/strip.c:849
+#: src/strip.c:692
+#, c-format
+msgid "while create section header section: %s"
+msgstr ""
+
+#: src/strip.c:837
 #, c-format
 msgid "%s: error while creating ELF header: %s"
 msgstr ""
 
-#: src/strip.c:857
+#: src/strip.c:845
 #, c-format
 msgid "%s: error while reading the file: %s"
 msgstr ""
 
-#: src/strip.c:865
+#: src/strip.c:853
 #, c-format
 msgid "while writing `%s': %s"
 msgstr ""
 
-#: src/strip.c:874
+#: src/strip.c:867
 #, c-format
 msgid "error while finishing `%s': %s"
 msgstr ""
@@ -1280,72 +1386,72 @@ msgstr ""
 msgid "[FILE]..."
 msgstr ""
 
-#: src/ld.c:286
+#: src/ld.c:290
 msgid "At least one input file needed"
 msgstr ""
 
-#: src/ld.c:297
+#: src/ld.c:301
 msgid "error while preparing linking"
 msgstr ""
 
-#: src/ld.c:304
+#: src/ld.c:308
 #, c-format
 msgid "cannot open linker script \"%s\""
 msgstr ""
 
-#: src/ld.c:341
+#: src/ld.c:345
 msgid "-( without matching -)"
 msgstr ""
 
-#: src/ld.c:447 src/ld.c:485
+#: src/ld.c:451 src/ld.c:489
 msgid "only one option of -G and -r is allowed"
 msgstr ""
 
-#: src/ld.c:469
+#: src/ld.c:473
 msgid "more than one '-m' parameter"
 msgstr ""
 
-#: src/ld.c:479 src/ld.c:843
+#: src/ld.c:483 src/ld.c:847
 #, c-format
 msgid "unknown option `-%c %s'"
 msgstr ""
 
-#: src/ld.c:521
+#: src/ld.c:525
 #, c-format
 msgid "invalid page size value \"%s\": ignored"
 msgstr ""
 
-#: src/ld.c:619
+#: src/ld.c:623
 msgid "More than one output file name given."
 msgstr ""
 
-#: src/ld.c:636
+#: src/ld.c:640
 #, c-format
 msgid "Invalid optimization level `%s'"
 msgstr ""
 
-#: src/ld.c:677
+#: src/ld.c:681
 msgid "nested -( -) groups are not allowed"
 msgstr ""
 
-#: src/ld.c:696
+#: src/ld.c:700
 msgid "-) without matching -("
 msgstr ""
 
-#: src/ld.c:872
+#: src/ld.c:876
 #, c-format
 msgid "unknown option '-%c %s'"
 msgstr ""
 
-#: src/ld.c:977
+#: src/ld.c:981
 msgid "could not find input file to determine output file format"
 msgstr ""
 
-#: src/ld.c:979
+#: src/ld.c:983
 msgid "try again with an appropriate '-m' parameter"
 msgstr ""
 
-#: src/ld.c:1267
+#: src/ld.c:1271
 #, c-format
 msgid "cannot read version script \"%s\""
 msgstr ""
@@ -1649,3 +1755,639 @@ msgstr ""
 #: src/ldscript.y:726 src/ldscript.y:733
 msgid "default visibility set as local and global"
 msgstr ""
+
+#: src/elflint.c:52
+msgid "Be extremely strict, flag level 2 features."
+msgstr ""
+
+#: src/elflint.c:53
+msgid "Do not print anything if successful"
+msgstr ""
+
+#: src/elflint.c:58
+msgid "Pedantic checking of ELF files compliance with gABI/psABI spec."
+msgstr ""
+
+#: src/elflint.c:154
+msgid "No errors"
+msgstr ""
+
+#: src/elflint.c:329 src/elflint.c:331 src/elflint.c:333 src/elflint.c:335
+#, c-format
+msgid "e_ident[%d] != '%c'"
+msgstr ""
+
+#: src/elflint.c:339
+#, c-format
+msgid "e_ident[%d] == %d is no known class"
+msgstr ""
+
+#: src/elflint.c:344
+#, c-format
+msgid "e_ident[%d] == %d is no known data encoding"
+msgstr ""
+
+#: src/elflint.c:349
+#, c-format
+msgid "unknown ELF header version number e_ident[%d] == %d"
+msgstr ""
+
+#: src/elflint.c:354
+#, c-format
+msgid "unsupported OS ABI e_ident[%d] == \"%s\""
+msgstr ""
+
+#: src/elflint.c:360
+#, c-format
+msgid "unsupport ABI version e_ident[%d] == %d"
+msgstr ""
+
+#: src/elflint.c:365
+#, c-format
+msgid "e_ident[%d] is not zero"
+msgstr ""
+
+#: src/elflint.c:370
+#, c-format
+msgid "unknown object file type %d"
+msgstr ""
+
+#: src/elflint.c:377
+#, c-format
+msgid "unknown machine type %d"
+msgstr ""
+
+#: src/elflint.c:381
+msgid "unknown object file version"
+msgstr ""
+
+#: src/elflint.c:387
+msgid "invalid program header offset"
+msgstr ""
+
+#: src/elflint.c:389
+msgid "executables and DSOs cannot have zero program header offset"
+msgstr ""
+
+#: src/elflint.c:393
+msgid "invalid number of program header entries"
+msgstr ""
+
+#: src/elflint.c:401
+msgid "invalid section header table offset"
+msgstr ""
+
+#: src/elflint.c:404
+msgid "section header table must be present"
+msgstr ""
+
+#: src/elflint.c:420
+msgid "invalid number of section header table entries"
+msgstr ""
+
+#: src/elflint.c:439 src/elflint.c:445
+msgid "invalid section header index"
+msgstr ""
+
+#: src/elflint.c:450
+#, c-format
+msgid "invalid machine flags: %s"
+msgstr ""
+
+#: src/elflint.c:457 src/elflint.c:470
+#, c-format
+msgid "invalid ELF header size: %hd"
+msgstr ""
+
+#: src/elflint.c:460 src/elflint.c:473
+#, c-format
+msgid "invalid program header size: %hd"
+msgstr ""
+
+#: src/elflint.c:464 src/elflint.c:477
+#, c-format
+msgid "invalid section header size: %hd"
+msgstr ""
+
+#: src/elflint.c:527
+#, c-format
+msgid ""
+"section [%2d] '%s': section with SHF_GROUP flag set not part of a section "
+"group"
+msgstr ""
+
+#: src/elflint.c:531
+#, c-format
+msgid ""
+"section [%2d] '%s': section group [%2d] '%s' does not preceed group member"
+msgstr ""
+
+#: src/elflint.c:566 src/elflint.c:754 src/elflint.c:839 src/elflint.c:975
+#: src/elflint.c:1214
+#, c-format
+msgid "section [%2d] '%s': cannot get section data"
+msgstr ""
+
+#: src/elflint.c:572 src/elflint.c:982
+#, c-format
+msgid ""
+"section [%2d] '%s': referenced as string table for section [%2d] '%s' but "
+"type is not SHT_STRTAB"
+msgstr ""
+
+#: src/elflint.c:600
+#, c-format
+msgid "section [%2d] '%s': entry size is does not match ElfXX_Sym"
+msgstr ""
+
+#: src/elflint.c:607 src/elflint.c:647
+#, c-format
+msgid "section [%2d] '%s': cannot get symbol %d: %s"
+msgstr ""
+
+#: src/elflint.c:613 src/elflint.c:617 src/elflint.c:621 src/elflint.c:625
+#: src/elflint.c:629 src/elflint.c:633
+#, c-format
+msgid "section [%2d] '%s': '%s' in zeroth entry not zero"
+msgstr ""
+
+#: src/elflint.c:636
+#, c-format
+msgid "section [%2d] '%s': XINDEX for zeroth entry not zero"
+msgstr ""
+
+#: src/elflint.c:654
+#, c-format
+msgid "section [%2d] '%s': symbol %d: invalid name value"
+msgstr ""
+
+#: src/elflint.c:661
+#, c-format
+msgid ""
+"section [%2d] '%s': symbol %d: too large section index but no extended "
+"section index section"
+msgstr ""
+
+#: src/elflint.c:666
+#, c-format
+msgid ""
+"section [%2d] '%s': symbol %d: XINDEX used for index which would fit in "
+"st_shndx (%<PRIu32>)"
+msgstr ""
+
+#: src/elflint.c:678
+#, c-format
+msgid "section [%2d] '%s': symbol %d: invalid section index"
+msgstr ""
+
+#: src/elflint.c:685
+#, c-format
+msgid "section [%2d] '%s': symbol %d: unknown type"
+msgstr ""
+
+#: src/elflint.c:689
+#, c-format
+msgid "section [%2d] '%s': symbol %d: unknow symbol binding"
+msgstr ""
+
+#: src/elflint.c:701
+#, c-format
+msgid "section [%2d] '%s': symbol %d: st_value out of bounds"
+msgstr ""
+
+#: src/elflint.c:709
+#, c-format
+msgid ""
+"section [%2d] '%s': symbol %d: dynamic symbol table contain local symbol"
+msgstr ""
+
+#: src/elflint.c:713
+#, c-format
+msgid ""
+"section [%2d] '%s': symbol %d: local symbol outside range described in "
+"sh_info"
+msgstr ""
+
+#: src/elflint.c:720
+#, c-format
+msgid ""
+"section [%2d] '%s': symbol %d: non-local symbol outside range described in "
+"sh_info"
+msgstr ""
+
+#: src/elflint.c:727
+#, c-format
+msgid "section [%2d] '%s': symbol %d: non-local section symbol"
+msgstr ""
+
+#: src/elflint.c:762 src/elflint.c:847
+#, c-format
+msgid "section [%2d] '%s': invalid destination section index"
+msgstr ""
+
+#: src/elflint.c:771 src/elflint.c:856
+#, c-format
+msgid "section [%2d] '%s': invalid destination section type"
+msgstr ""
+
+#: src/elflint.c:777
+#, c-format
+msgid "section [%2d] '%s': section entry size does not match ElfXX_Rela"
+msgstr ""
+
+#: src/elflint.c:792 src/elflint.c:877
+#, c-format
+msgid "section [%2d] '%s': cannot get relocation %d: %s"
+msgstr ""
+
+#: src/elflint.c:799 src/elflint.c:884
+#, c-format
+msgid "section [%2d] '%s': relocation %d: invalid type"
+msgstr ""
+
+#: src/elflint.c:806 src/elflint.c:891
+#, c-format
+msgid "section [%2d] '%s': relocation %d: invalid symbol index"
+msgstr ""
+
+#: src/elflint.c:812 src/elflint.c:898
+#, c-format
+msgid "section [%2d] '%s': relocation %d: offset out of bounds"
+msgstr ""
+
+#: src/elflint.c:862
+#, c-format
+msgid "section [%2d] '%s': section entry size does not match ElfXX_Rel"
+msgstr ""
+
+#: src/elflint.c:965
+msgid "more than one dynamic section present"
+msgstr ""
+
+#: src/elflint.c:988
+#, c-format
+msgid "section [%2d] '%s': section entry size does not match ElfXX_Dyn"
+msgstr ""
+
+#: src/elflint.c:993 src/elflint.c:1147
+#, c-format
+msgid "section [%2d] '%s': sh_info not zero"
+msgstr ""
+
+#: src/elflint.c:1004
+#, c-format
+msgid "section [%2d] '%s': cannot get dynamic section entry %d: %s"
+msgstr ""
+
+#: src/elflint.c:1011
+#, c-format
+msgid "section [%2d] '%s': entry %d: unknown tag"
+msgstr ""
+
+#: src/elflint.c:1022
+#, c-format
+msgid "section [%2d] '%s': entry %d: more than one entry with tag %s"
+msgstr ""
+
+#: src/elflint.c:1032
+#, c-format
+msgid "section [%2d] '%s': entry %d: level 2 tag %s used"
+msgstr ""
+
+#: src/elflint.c:1044
+#, c-format
+msgid "section [%2d] '%s': entry %d: DT_PLTREL value must be DT_REL or DT_RELA"
+msgstr ""
+
+#: src/elflint.c:1069
+#, c-format
+msgid "section [%2d] '%s': contains %s entry but not %s"
+msgstr ""
+
+#: src/elflint.c:1081
+#, c-format
+msgid "section [%2d] '%s': mandatory tag %s not present"
+msgstr ""
+
+#: src/elflint.c:1091 src/elflint.c:1098
+#, c-format
+msgid "section [%2d] '%s': not all of %s, %s, and %s are present"
+msgstr ""
+
+#: src/elflint.c:1127
+#, c-format
+msgid "section [%2d] '%s': extended section index section not for symbol table"
+msgstr ""
+
+#: src/elflint.c:1132
+msgid "cannot get data for symbol section"
+msgstr ""
+
+#: src/elflint.c:1136 src/elflint.c:1226
+#, c-format
+msgid "section [%2d] '%s': entry size does not match Elf32_Word"
+msgstr ""
+
+#: src/elflint.c:1142
+#, c-format
+msgid "section [%2d] '%s': extended index table too small for symbol table"
+msgstr ""
+
+#: src/elflint.c:1159
+#, c-format
+msgid ""
+"section [%2d] '%s': extended section index in section [%2d] '%s' refers to "
+"same symbol table"
+msgstr ""
+
+#: src/elflint.c:1170
+msgid "symbol 0 should have zero extended section index"
+msgstr ""
+
+#: src/elflint.c:1182
+#, c-format
+msgid "cannot get data for symbol %d"
+msgstr ""
+
+#: src/elflint.c:1187
+#, c-format
+msgid "extended section index is %<PRIu32> but symbol index is not XINDEX"
+msgstr ""
+
+#: src/elflint.c:1221
+#, c-format
+msgid "section [%2d] '%s': hash table not for dynamic symbol table"
+msgstr ""
+
+#: src/elflint.c:1231
+#, c-format
+msgid "section [%2d] '%s': not marked to be allocated"
+msgstr ""
+
+#: src/elflint.c:1236
+#, c-format
+msgid "section [%2d] '%s': hash table has not even room for nbucket and nchain"
+msgstr ""
+
+#: src/elflint.c:1246
+#, c-format
+msgid ""
+"section [%2d] '%s': hash table section is too small (is %ld, expected %ld)"
+msgstr ""
+
+#: src/elflint.c:1258
+#, c-format
+msgid "section [%2d] '%s': chain array not large enough"
+msgstr ""
+
+#: src/elflint.c:1263
+#, c-format
+msgid "section [%2d] '%s': hash bucket reference %d out of bounds"
+msgstr ""
+
+#: src/elflint.c:1269
+#, c-format
+msgid "section [%2d] '%s': hash chain reference %d out of bounds"
+msgstr ""
+
+#: src/elflint.c:1282
+#, c-format
+msgid "section [%2d] '%s': nonzero sh_%s for NULL section"
+msgstr ""
+
+#: src/elflint.c:1307
+#, c-format
+msgid "section [%2d] '%s': cannot get symbol table: %s"
+msgstr ""
+
+#: src/elflint.c:1312
+#, c-format
+msgid "section [%2d] '%s': section reference in sh_link is no symbol table"
+msgstr ""
+
+#: src/elflint.c:1318
+#, c-format
+msgid "section [%2d] '%s': invalid symbol index in sh_info"
+msgstr ""
+
+#: src/elflint.c:1323
+#, c-format
+msgid "section [%2d] '%s': sh_flags not zero"
+msgstr ""
+
+#: src/elflint.c:1329
+#, c-format
+msgid "section [%2d] '%s': sh_flags not set correctly"
+msgstr ""
+
+#: src/elflint.c:1335
+#, c-format
+msgid "section [%2d] '%s': cannot get data: %s"
+msgstr ""
+
+#: src/elflint.c:1344
+#, c-format
+msgid "section [%2d] '%s': section size not multiple of sizeof(Elf32_Word)"
+msgstr ""
+
+#: src/elflint.c:1349
+#, c-format
+msgid "section [%2d] '%s': section group without flags word"
+msgstr ""
+
+#: src/elflint.c:1355
+#, c-format
+msgid "section [%2d] '%s': section group without member"
+msgstr ""
+
+#: src/elflint.c:1359
+#, c-format
+msgid "section [%2d] '%s': section group with only one member"
+msgstr ""
+
+#: src/elflint.c:1371
+#, c-format
+msgid "section [%2d] '%s': unknown section group flags"
+msgstr ""
+
+#: src/elflint.c:1383
+#, c-format
+msgid "section [%2d] '%s': section index %Zu out of range"
+msgstr ""
+
+#: src/elflint.c:1394
+#, c-format
+msgid "section [%2d] '%s': cannot get section header for element %Zu: %s"
+msgstr ""
+
+#: src/elflint.c:1401
+#, c-format
+msgid "section [%2d] '%s': section group contains another group [%2d] '%s'"
+msgstr ""
+
+#: src/elflint.c:1407
+#, c-format
+msgid ""
+"section [%2d] '%s': element %Zu references section [%2d] '%s' without "
+"SHF_GROUP flag set"
+msgstr ""
+
+#: src/elflint.c:1414
+#, c-format
+msgid "section [%2d] '%s' is contained in more than one section group"
+msgstr ""
+
+#: src/elflint.c:1445
+msgid "cannot get section header of zeroth section"
+msgstr ""
+
+#: src/elflint.c:1449
+msgid "zeroth section has nonzero name"
+msgstr ""
+
+#: src/elflint.c:1451
+msgid "zeroth section has nonzero type"
+msgstr ""
+
+#: src/elflint.c:1453
+msgid "zeroth section has nonzero flags"
+msgstr ""
+
+#: src/elflint.c:1455
+msgid "zeroth section has nonzero address"
+msgstr ""
+
+#: src/elflint.c:1457
+msgid "zeroth section has nonzero offset"
+msgstr ""
+
+#: src/elflint.c:1459
+msgid "zeroth section has nonzero info field"
+msgstr ""
+
+#: src/elflint.c:1461
+msgid "zeroth section has nonzero align value"
+msgstr ""
+
+#: src/elflint.c:1463
+msgid "zeroth section has nonzero entry size value"
+msgstr ""
+
+#: src/elflint.c:1466
+msgid ""
+"zeroth section has nonzero size value while ELF header has nonzero shnum "
+"value"
+msgstr ""
+
+#: src/elflint.c:1469
+msgid ""
+"zeroth section has nonzero link value while ELF header does not signal "
+"overflow in shstrndx"
+msgstr ""
+
+#: src/elflint.c:1480
+#, c-format
+msgid "cannot get section header for section [%2d] '%s': %s"
+msgstr ""
+
+#: src/elflint.c:1491
+#, c-format
+msgid "section [%2d] '%s': size not multiple of entry size"
+msgstr ""
+
+#: src/elflint.c:1496
+msgid "cannot get section header"
+msgstr ""
+
+#: src/elflint.c:1504
+#, c-format
+msgid "unsupported section type %d"
+msgstr ""
+
+#: src/elflint.c:1510
+#, c-format
+msgid "section [%2d] '%s' contain unknown flag"
+msgstr ""
+
+#: src/elflint.c:1513
+#, c-format
+msgid "section [%2d] '%s': thread-local data sections not yet supported"
+msgstr ""
+
+#: src/elflint.c:1518
+#, c-format
+msgid "section [%2d] '%s': invalid section reference in link value"
+msgstr ""
+
+#: src/elflint.c:1523
+#, c-format
+msgid "section [%2d] '%s': invalid section reference in info value"
+msgstr ""
+
+#: src/elflint.c:1530
+#, c-format
+msgid "section [%2d] '%s': strings flag set without merge flag"
+msgstr ""
+
+#: src/elflint.c:1535
+#, c-format
+msgid "section [%2d] '%s': merge flag set but entry size is zero"
+msgstr ""
+
+#: src/elflint.c:1543
+#, c-format
+msgid ""
+"section [%2d] '%s': ELF header says this is the section header string table "
+"but type is not SHT_TYPE"
+msgstr ""
+
+#: src/elflint.c:1595
+#, c-format
+msgid "phdr[%d]: no note entries defined for the type of file"
+msgstr ""
+
+#: src/elflint.c:1618
+#, c-format
+msgid "phdr[%d]: extra %zu bytes after last note"
+msgstr ""
+
+#: src/elflint.c:1647
+#, c-format
+msgid "phdr[%d]: unknown core file note type %<PRIu32> at offset %zd"
+msgstr ""
+
+#: src/elflint.c:1655
+#, c-format
+msgid "phdr[%d]: unknown object file note type %<PRIu32> at offset %zd"
+msgstr ""
+
+#: src/elflint.c:1682
+msgid ".interp section present but no program header"
+msgstr ""
+
+#: src/elflint.c:1689
+msgid ""
+"only executables, shared objects, and core files can have program headers"
+msgstr ""
+
+#: src/elflint.c:1700
+#, c-format
+msgid "cannot get program header entry %d: %s"
+msgstr ""
+
+#: src/elflint.c:1706
+#, c-format
+msgid "program header entry %d: unknown program header entry type"
+msgstr ""
+
+#: src/elflint.c:1715
+msgid "more than one INTERP entry in program header"
+msgstr ""
+
+#: src/elflint.c:1719
+msgid "INTERP program header entry but no .interp section"
+msgstr ""
+
+#: src/elflint.c:1726
+msgid "more than one TLS entry in program header"
+msgstr ""
index fa9c4b2..7242a56 100644 (file)
@@ -108,7 +108,7 @@ main (void)
          sym = gelf_getsym (elf_getdata (scn, NULL), cnt, &sym_mem);
          if (sym == NULL)
            {
-             printf ("cannot get symbol %Zd: %s\n", cnt, elf_errmsg (-1));
+             printf ("cannot get symbol %zu: %s\n", cnt, elf_errmsg (-1));
              result = 1;
            }
          else
index 1a373a8..d5e7b17 100644 (file)
@@ -109,7 +109,7 @@ main (void)
          sym = gelf_getsym (elf_getdata (scn, NULL), cnt, &sym_mem);
          if (sym == NULL)
            {
-             printf ("cannot get symbol %Zd: %s\n", cnt, elf_errmsg (-1));
+             printf ("cannot get symbol %zu: %s\n", cnt, elf_errmsg (-1));
              result = 1;
            }
          else