Re: [PATCH] libebl: Don't update w, t and len unnecessarily in ebl_object_note_type_name.

2018-11-16 Thread Mark Wielaard
On Thu, Nov 15, 2018 at 03:55:12PM +0100, Mark Wielaard wrote:
> Harmless, but useless.

Pushed to master.


[Bug libelf/23884] error: ‘__elf32_msize’ specifies less restrictive attribute than its target ‘elf32_fsize’: ‘const’ [-Werror=missing-attributes]

2018-11-16 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23884

Mark Wielaard  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Mark Wielaard  ---
commit a01938d584b91e747167bb4b3f30ec300c4d6e43
Author: Mark Wielaard 
Date:   Fri Nov 16 09:27:00 2018 +0100

libelf: Mark both fsize and msize with const attribute.

GCC9 -Wmissing-attributes pointed out that although we alias the fsize
and msize functions only fsize was marked as const. Fix by also marking
the msize definition as const.

https://sourceware.org/bugzilla/show_bug.cgi?id=23884

Signed-off-by: Mark Wielaard 

-- 
You are receiving this mail because:
You are on the CC list for the bug.

elfutils 0.175 released

2018-11-16 Thread Mark Wielaard
ELFUTILS 0.175 - http://elfutils.org/

A new release of elfutils is available at:
ftp://sourceware.org/pub/elfutils/0.175/
or https://sourceware.org/elfutils/ftp/0.175/

* NEWS *

readelf: Handle mutliple .debug_macro sections.
 Recognize and parse GNU Property, NT_VERSION and
 GNU Build Attribute ELF Notes.

strip: Handle SHT_GROUP correctly.
   Add strip --reloc-debug-sections-only option.
   Handle relocations against GNU compressed sections.

libdwelf: New function dwelf_elf_begin.

libcpu: Recognize bpf jump variants BPF_JLT, BPF_JLE, BPF_JSLT
and BPF_JSLE.

backends: RISCV handles ADD/SUB relocations.
  Handle SHT_X86_64_UNWIND.

Fixes CVE-2018-18310, CVE-2018-18520 and CVE-2018-18521.

* GIT SHORTLOG *

Andreas Schwab (1):
  Handle ADD/SUB relocations

Mark Wielaard (34):
  tests: backtrace-dwarf.c improve error handling in test framework.
  strip, unstrip: Handle SHT_GROUP correctly.
  unstrip: Renumber the group section indexes.
  readelf: Handle multiple .debug_macro sections and decode header
flag.
  libdwfl: Sanity check partial core file data reads.
  findtextrel: Check that sh_entsize isn't zero.
  ar: Assume epoch if ar_date is bogus.
  arlib: Check that sh_entsize isn't zero.
  size: Handle recursive ELF ar files.
  Check sh_entsize is not zero.
  readelf: Make sure readp is smaller than cieend in
print_debug_frame_section.
  backends: ppc use define instead of const for size of dwarf_regs
array.
  readelf: Use shstrndx to lookup section names.
  addr2line: Use elf_getshdrstrndx not Ehdr field to print section
name.
  Recognize and parse GNU Property notes.
  unstrip: Add ELF_CHECK to make sure gelf_getehdr () doesn't return
NULL.
  strip: Always copy over any phdrs if there are any.
  strip: Split out debug section relocation into separate helper
functions.
  strip: Extract code to update shdrstrndx into new common function.
  strip: Add --reloc-debug-sections-only option.
  libelf: Explicitly update section data after (de)compression.
  backends: Add x86_64 section_type_name for SHT_X86_64_UNWIND.
  libdwelf: New function dwelf_elf_begin.
  libcpu: Recognize bpf jump variants BPF_JLT, BPF_JLE, BPF_JSLT
and BPF_JSLE
  Recognize NT_VERSION notes.
  Handle GNU Build Attribute ELF Notes.
  strip: Also handle gnu compressed debug sections with
--reloc-debug-sections
  libelf: Correctly setup alignment of SHF_COMPRESSED section data.
  elflint: Allow PT_GNU_EH_FRAME segment to match SHT_X86_64_UNWIND
section.
  Prepare for 0.175
  libebl: Don't update w, t and len unnecessarily in
ebl_object_note_type_name.
  libelf: Mark both fsize and msize with const attribute.
  Update upload-release.sh script and po files.

Milian Wolff (1):
  Also find CFI in sections of type SHT_X86_64_UNWIND


signature.asc
Description: This is a digitally signed message part


[Bug tools/23673] TEST ./tests/backtrace-dwarf fails on s390x in at least 0.173

2018-11-16 Thread mliska at suse dot cz
https://sourceware.org/bugzilla/show_bug.cgi?id=23673

--- Comment #23 from Martin Liska  ---
Just for the record, as of version 0.175 the test works fine on all targets I
can test (including s390x).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug tools/23673] TEST ./tests/backtrace-dwarf fails on s390x in at least 0.173

2018-11-16 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23673

Mark Wielaard  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #24 from Mark Wielaard  ---
(In reply to Martin Liska from comment #23)
> Just for the record, as of version 0.175 the test works fine on all targets
> I can test (including s390x).

Lets close this for now. It can be reopened if we have a new test failure.

-- 
You are receiving this mail because:
You are on the CC list for the bug.