diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
commit | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch) | |
tree | 326613a08f25851c388715e205576a2e7d25dc4f /dev-libs/elfutils/files | |
parent | b24bd25253fe093f722ab576d29fdc41d04cb1ee (diff) |
gentoo resync : 18.08.2019
Diffstat (limited to 'dev-libs/elfutils/files')
-rw-r--r-- | dev-libs/elfutils/files/elfutils-0.173-partial-core.patch | 34 | ||||
-rw-r--r-- | dev-libs/elfutils/files/elfutils-0.177-disable-large.patch | 14 |
2 files changed, 14 insertions, 34 deletions
diff --git a/dev-libs/elfutils/files/elfutils-0.173-partial-core.patch b/dev-libs/elfutils/files/elfutils-0.173-partial-core.patch deleted file mode 100644 index 41ef14d66838..000000000000 --- a/dev-libs/elfutils/files/elfutils-0.173-partial-core.patch +++ /dev/null @@ -1,34 +0,0 @@ -https://sourceware.org/PR24103 -https://bugs.gentoo.org/676794 - -From da5c5336a1eaf519de246f7d9f0f5585e1d4ac59 Mon Sep 17 00:00:00 2001 -From: Mark Wielaard <mark@klomp.org> -Date: Sun, 20 Jan 2019 23:05:56 +0100 -Subject: [PATCH] libdwfl: Sanity check partial core file dyn data read. - -When reading the dyn data from the core file check if we got everything, -or just part of the data. - -https://sourceware.org/bugzilla/show_bug.cgi?id=24103 - -Signed-off-by: Mark Wielaard <mark@klomp.org> ---- - libdwfl/dwfl_segment_report_module.c | 6 ++++++ - ---- a/libdwfl/dwfl_segment_report_module.c -+++ b/libdwfl/dwfl_segment_report_module.c -@@ -783,6 +783,12 @@ dwfl_segment_report_module (Dwfl *dwfl, int ndx, const char *name, - if (dyn_filesz != 0 && dyn_filesz % dyn_entsize == 0 - && ! read_portion (&dyn_data, &dyn_data_size, dyn_vaddr, dyn_filesz)) - { -+ /* dyn_data_size will be zero if we got everything from the initial -+ buffer, otherwise it will be the size of the new buffer that -+ could be read. */ -+ if (dyn_data_size != 0) -+ dyn_filesz = dyn_data_size; -+ - void *dyns = malloc (dyn_filesz); - Elf32_Dyn (*d32)[dyn_filesz / sizeof (Elf32_Dyn)] = dyns; - Elf64_Dyn (*d64)[dyn_filesz / sizeof (Elf64_Dyn)] = dyns; --- -2.20.1 diff --git a/dev-libs/elfutils/files/elfutils-0.177-disable-large.patch b/dev-libs/elfutils/files/elfutils-0.177-disable-large.patch new file mode 100644 index 000000000000..782958517611 --- /dev/null +++ b/dev-libs/elfutils/files/elfutils-0.177-disable-large.patch @@ -0,0 +1,14 @@ +getconf does not disable test on 64-kernel with CFLAGS=-m32 +--- a/tests/run-large-elf-file.sh ++++ b/tests/run-large-elf-file.sh +@@ -19,6 +19,10 @@ + + # Only run on 64bit systems, 32bit systems don't support > 4GB + # ELF files. ++ ++# this detection fails for 64-bit systems with -m32 ++exit 77 ++ + long_bit=$(getconf LONG_BIT) + echo "long_bit: $long_bit" + if test $long_bit -ne 64; then |