summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/elfutils/files')
-rw-r--r--dev-libs/elfutils/files/digest-elfutils-0.1011
-rw-r--r--dev-libs/elfutils/files/digest-elfutils-0.101-r11
-rw-r--r--dev-libs/elfutils/files/digest-elfutils-0.94-r11
-rw-r--r--dev-libs/elfutils/files/digest-elfutils-0.94-r21
-rw-r--r--dev-libs/elfutils/files/digest-elfutils-0.971
-rw-r--r--dev-libs/elfutils/files/digest-elfutils-0.97-r11
-rw-r--r--dev-libs/elfutils/files/elfutils-0.101-portability.patch198
-rw-r--r--dev-libs/elfutils/files/elfutils-0.94-alpha-mips-atime.diff21
-rw-r--r--dev-libs/elfutils/files/elfutils-sections-heap-overflow.diff13
9 files changed, 0 insertions, 238 deletions
diff --git a/dev-libs/elfutils/files/digest-elfutils-0.101 b/dev-libs/elfutils/files/digest-elfutils-0.101
deleted file mode 100644
index b2f7c234eeaa..000000000000
--- a/dev-libs/elfutils/files/digest-elfutils-0.101
+++ /dev/null
@@ -1 +0,0 @@
-MD5 36e8e5532b8ba5004abd32c46256e876 elfutils-0.101.tar.gz 813599
diff --git a/dev-libs/elfutils/files/digest-elfutils-0.101-r1 b/dev-libs/elfutils/files/digest-elfutils-0.101-r1
deleted file mode 100644
index b2f7c234eeaa..000000000000
--- a/dev-libs/elfutils/files/digest-elfutils-0.101-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 36e8e5532b8ba5004abd32c46256e876 elfutils-0.101.tar.gz 813599
diff --git a/dev-libs/elfutils/files/digest-elfutils-0.94-r1 b/dev-libs/elfutils/files/digest-elfutils-0.94-r1
deleted file mode 100644
index fc665ad9f118..000000000000
--- a/dev-libs/elfutils/files/digest-elfutils-0.94-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 de39e0af6b82b30d48e5d69b75aa2e0b elfutils-0.94.tar.gz 812616
diff --git a/dev-libs/elfutils/files/digest-elfutils-0.94-r2 b/dev-libs/elfutils/files/digest-elfutils-0.94-r2
deleted file mode 100644
index fc665ad9f118..000000000000
--- a/dev-libs/elfutils/files/digest-elfutils-0.94-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 de39e0af6b82b30d48e5d69b75aa2e0b elfutils-0.94.tar.gz 812616
diff --git a/dev-libs/elfutils/files/digest-elfutils-0.97 b/dev-libs/elfutils/files/digest-elfutils-0.97
deleted file mode 100644
index 763881b15b51..000000000000
--- a/dev-libs/elfutils/files/digest-elfutils-0.97
+++ /dev/null
@@ -1 +0,0 @@
-MD5 41c3e3c918acef6cbf77519c6f10793e elfutils-0.97.tar.gz 825659
diff --git a/dev-libs/elfutils/files/digest-elfutils-0.97-r1 b/dev-libs/elfutils/files/digest-elfutils-0.97-r1
deleted file mode 100644
index 763881b15b51..000000000000
--- a/dev-libs/elfutils/files/digest-elfutils-0.97-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 41c3e3c918acef6cbf77519c6f10793e elfutils-0.97.tar.gz 825659
diff --git a/dev-libs/elfutils/files/elfutils-0.101-portability.patch b/dev-libs/elfutils/files/elfutils-0.101-portability.patch
deleted file mode 100644
index fc6a8413d728..000000000000
--- a/dev-libs/elfutils/files/elfutils-0.101-portability.patch
+++ /dev/null
@@ -1,198 +0,0 @@
-2005-02-07 Roland McGrath <roland@frob.com>
-
- * configure.ac (WEXTRA): Check for -Wextra and set this substitution.
-
-2003-08-12 Roland McGrath <roland@redhat.com>
-
- * configure.ac: Check for struct stat st_?tim members.
- * src/strip.c (process_file): Use st_?time if st_?tim are not there.
-
- * configure.ac: Check for futimes function.
- * src/strip.c (handle_elf) [! HAVE_FUTIMES]: Use utimes instead.
- (handle_ar) [! HAVE_FUTIMES]: Likewise.
-
---- elfutils/configure.ac
-+++ elfutils/configure.ac
-@@ -66,6 +66,15 @@ CFLAGS="$old_CFLAGS"])
- AS_IF([test "x$ac_cv_c99" != xyes],
- AC_MSG_ERROR([gcc with C99 support required]))
-
-+AC_CACHE_CHECK([for -Wextra option to $CC], ac_cv_cc_wextra, [dnl
-+old_CFLAGS="$CFLAGS"
-+CFLAGS="$CFLAGS -Wextra"
-+AC_COMPILE_IFELSE([void foo (void) { }],
-+ ac_cv_cc_wextra, ac_cv_cc_wextra=no)
-+CFLAGS="$old_CFLAGS"])
-+AC_SUBST(WEXTRA)
-+AS_IF([test "x$ac_cv_cc_wextra" = yes], [WEXTRA=-Wextra])
-+
- LOCALEDIR=$datadir
- AC_SUBST(LOCALEDIR)
- AC_DEFINE_UNQUOTED(LOCALEDIR, "$LOCALEDIR")
---- elfutils/lib/ChangeLog
-+++ elfutils/lib/ChangeLog
-@@ -1,3 +1,8 @@
-+2005-02-07 Roland McGrath <roland@redhat.com>
-+
-+ * Makefile.am (WEXTRA): New variable, substituted by configure.
-+ (AM_CFLAGS): Use it in place of -Wextra.
-+
- 2005-02-15 Ulrich Drepper <drepper@redhat.com>
-
- * dynamicsizehash.c (lookup): Mark val parameter as possibly unused.
---- elfutils/lib/Makefile.am
-+++ elfutils/lib/Makefile.am
-@@ -17,12 +17,13 @@
- ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- ##
- DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
-+WEXTRA = @WEXTRA@
- if MUDFLAP
- AM_CFLAGS = -fmudflap
- else
- AM_CFLAGS =
- endif
--AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra $($(*F)_CFLAGS)
-+AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused $(WEXTRA) $($(*F)_CFLAGS)
- INCLUDES = -I$(srcdir)/../libelf -I..
-
- noinst_LIBRARIES = libeu.a
---- elfutils/libasm/Makefile.am
-+++ elfutils/libasm/Makefile.am
-@@ -14,12 +14,13 @@
- ## 3001 King Ranch Road, Ukiah, CA 95482.
- ##
- DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
-+WEXTRA = @WEXTRA@
- if MUDFLAP
- AM_CFLAGS = -fmudflap
- else
- AM_CFLAGS =
- endif
--AM_CFLAGS += -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2
-+AM_CFLAGS += -Wall -Wshadow -Werror -Wunused $(WEXTRA) -Wformat=2
- INCLUDES = -I. -I$(srcdir) -I.. -I$(top_srcdir)/libelf -I$(top_srcdir)/libebl \
- -I$(top_srcdir)/lib
- GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
---- elfutils/libdw/Makefile.am
-+++ elfutils/libdw/Makefile.am
-@@ -14,12 +14,13 @@
- ## 3001 King Ranch Road, Ukiah, CA 95482.
- ##
- DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
-+WEXTRA = @WEXTRA@
- if MUDFLAP
- AM_CFLAGS = -fmudflap
- else
- AM_CFLAGS =
- endif
--AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 -Wextra -std=gnu99
-+AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 $(WEXTRA) -std=gnu99
- INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib
- VERSION = 1
-
---- elfutils/libebl/Makefile.am
-+++ elfutils/libebl/Makefile.am
-@@ -14,12 +14,13 @@
- ## 3001 King Ranch Road, Ukiah, CA 95482.
- ##
- DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -DOBJDIR=\"$(shell pwd)\"
-+WEXTRA = @WEXTRA@
- if MUDFLAP
- AM_CFLAGS = -fmudflap
- else
- AM_CFLAGS =
- endif
--AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 \
-+AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused $(WEXTRA) -Wformat=2 \
- -std=gnu99
-
- INCLUDES = -I$(srcdir) -I$(top_srcdir)/libelf -I$(top_srcdir)/lib -I..
---- elfutils/libelf/Makefile.am
-+++ elfutils/libelf/Makefile.am
-@@ -17,12 +17,13 @@
- ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- ##
- DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
-+WEXTRA = @WEXTRA@
- if MUDFLAP
- AM_CFLAGS = -fpic -fmudflap
- else
- AM_CFLAGS =
- endif
--AM_CFLAGS += -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 -std=gnu99 \
-+AM_CFLAGS += -Wall -Wshadow -Werror -Wunused $(WEXTRA) -Wformat=2 -std=gnu99 \
- $($(*F)_CFLAGS)
- INCLUDES = -I$(srcdir) -I$(top_srcdir)/lib -I..
- GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
---- elfutils/src/Makefile.am
-+++ elfutils/src/Makefile.am
-@@ -15,14 +15,15 @@
- ##
- DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H $(YYDEBUG) \
- -DSRCDIR=\"$(shell cd $(srcdir);pwd)\" -DOBJDIR=\"$(shell pwd)\"
-+WEXTRA = @WEXTRA@
- if MUDFLAP
--AM_CFLAGS = -Wall -Wshadow -Wunused -Wextra -std=gnu99 -fmudflap \
-+AM_CFLAGS = -Wall -Wshadow -Wunused $(WEXTRA) -std=gnu99 -fmudflap \
- $(native_ld_cflags) $(if $($(*F)_no_Wunused),,-Wunused) \
- $(if $($(*F)_no_Wformat),,-Wformat=2)
- else
- AM_CFLAGS = -Wall -Wshadow -std=gnu99 $(native_ld_cflags) \
- $(if $($(*F)_no_Werror),,-Werror) \
-- $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
-+ $(if $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) \
- $(if $($(*F)_no_Wformat),,-Wformat=2)
- endif
- if MUDFLAP
---- elfutils/src/strip.c
-+++ elfutils/src/strip.c
-@@ -245,8 +245,18 @@ process_file (const char *fname)
-
- /* If we have to preserve the timestamp, we need it in the
- format utimes() understands. */
-+#ifdef HAVE_STRUCT_STAT_ST_ATIM
- TIMESPEC_TO_TIMEVAL (&tv[0], &pre_st.st_atim);
-+#else
-+ tv[0].tv_sec = pre_st.st_atime;
-+ tv[0].tv_usec = 0;
-+#endif
-+#ifdef HAVE_STRUCT_STAT_ST_MTIM
- TIMESPEC_TO_TIMEVAL (&tv[1], &pre_st.st_mtim);
-+#else
-+ tv[1].tv_sec = pre_st.st_atime;
-+ tv[1].tv_usec = 0;
-+#endif
- }
-
- /* Open the file. */
-@@ -1677,7 +1687,13 @@ handle_elf (int fd, Elf *elf, const char
- /* If requested, preserve the timestamp. */
- if (tvp != NULL)
- {
-- if (futimes (fd, tvp) != 0)
-+ if (
-+#ifdef HAVE_FUTIMES
-+ futimes (fd, tvp) != 0
-+#else
-+ utimes (output_fname, tvp) != 0
-+#endif
-+ )
- {
- error (0, errno, gettext ("\
- cannot set access and modification date of \"%s\""),
-@@ -1734,7 +1750,13 @@ handle_ar (int fd, Elf *elf, const char
-
- if (tvp != NULL)
- {
-- if (unlikely (futimes (fd, tvp) != 0))
-+ if (unlikely (
-+#ifdef HAVE_FUTIMES
-+ futimes (fd, tvp)
-+#else
-+ utimes (fname, tvp)
-+#endif
-+ != 0))
- {
- error (0, errno, gettext ("\
- cannot set access and modification date of \"%s\""), fname);
diff --git a/dev-libs/elfutils/files/elfutils-0.94-alpha-mips-atime.diff b/dev-libs/elfutils/files/elfutils-0.94-alpha-mips-atime.diff
deleted file mode 100644
index d91bb76b3af8..000000000000
--- a/dev-libs/elfutils/files/elfutils-0.94-alpha-mips-atime.diff
+++ /dev/null
@@ -1,21 +0,0 @@
---- elfutils-0.94/src/strip.c.old 2003-09-26 08:01:49.000000000 +0200
-+++ elfutils-0.94/src/strip.c 2004-02-22 22:20:42.000000000 +0100
-@@ -265,8 +265,16 @@
-
- /* If we have to preserve the timestamp, we need it in the
- format utimes() understands. */
-- TIMESPEC_TO_TIMEVAL (&tv[0], &pre_st.st_atim);
-- TIMESPEC_TO_TIMEVAL (&tv[1], &pre_st.st_mtim);
-+
-+#if defined ( __alpha ) || defined ( __mips)
-+ tv[0].tv_sec = pre_st.st_atime;
-+ tv[0].tv_usec = 0;
-+ tv[1].tv_sec = pre_st.st_mtime;
-+ tv[1].tv_usec = 0;
-+#else
-+ TIMESPEC_TO_TIMEVAL (&tv[0], &pre_st.st_atim);
-+ TIMESPEC_TO_TIMEVAL (&tv[1], &pre_st.st_mtim);
-+#endif
- }
-
- /* Open the file. */
diff --git a/dev-libs/elfutils/files/elfutils-sections-heap-overflow.diff b/dev-libs/elfutils/files/elfutils-sections-heap-overflow.diff
deleted file mode 100644
index c5ef5f086823..000000000000
--- a/dev-libs/elfutils/files/elfutils-sections-heap-overflow.diff
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -ruN elfutils-0.94.orig/libelf/elf_begin.c elfutils-0.94/libelf/elf_begin.c
---- elfutils-0.94.orig/libelf/elf_begin.c 2003-12-25 18:34:27.000000000 +0000
-+++ elfutils-0.94/libelf/elf_begin.c 2005-05-07 18:43:41.000000000 +0100
-@@ -220,7 +220,8 @@
-
- /* Determine the number of sections. */
- scncnt = get_shnum (map_address, e_ident, fildes, offset, maxsize);
-- if (scncnt == (size_t) -1l)
-+ if ((scncnt == (size_t) -1l) ||
-+ (sizeof (Elf_Scn) * scncnt / sizeof (Elf_Scn) != scncnt))
- /* Could not determine the number of sections. */
- return NULL;
-