f15d9e1fe6
A BSD-licensed implementation of compilation tools (nm, ar, as, ld, etc.) for the ELF object format. This release contains BSD-licensed implementations of the "libdwarf" and "libelf" libraries, and of the "addr2line", "ar", "brandelf", "c++filt", "elfcopy", "elfdump", "findtextrel", "mcs", "nm", "ranlib", "readelf", "size", "strings" and "strip" program development utilities. The release also contains API and utility reference documentation (300+ manual entries in all), and contains test suites for some of these released utilities and libraries. With thanks to jkoshy for all the help.
15 lines
449 B
Text
15 lines
449 B
Text
$NetBSD: patch-ad,v 1.1.1.1 2011/11/20 06:25:18 agc Exp $
|
|
|
|
Fix warning for printf format messages with gcc 4.5 and -Wformat=2
|
|
|
|
--- brandelf/brandelf.c 2011/11/18 21:21:58 1.1
|
|
+++ brandelf/brandelf.c 2011/11/18 21:22:12
|
|
@@ -219,7 +219,7 @@
|
|
return (retval);
|
|
}
|
|
|
|
-static const char *usagemsg = "\
|
|
+static const char usagemsg[] = "\
|
|
Usage: %s [options] file...\n\
|
|
Set or display the ABI field for an ELF object.\n\n\
|
|
Supported options are:\n\
|