diff options
author | Ulf Hermann <[email protected]> | 2019-01-09 13:57:31 +0100 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2019-01-09 13:57:31 +0100 |
commit | bc774f62436c4fe5082f0a70c6620fa0fdf823a9 (patch) | |
tree | 07963f45b2cdaccf12281712e2eef179dbce1fee /config | |
parent | 5da108a40dd24c7d3e4183ec9ae1904bb3f01575 (diff) | |
parent | 4ea9a2db164caadf836a65d5cdffb09a2d5a37ce (diff) |
Merge tag 'elfutils-0.175'
elfutils 0.175 release
Change-Id: I409f41767af349d0521351dd733879ad31c65aab
Diffstat (limited to 'config')
-rw-r--r-- | config/elfutils.spec.in | 14 | ||||
-rwxr-xr-x | config/upload-release.sh | 38 |
2 files changed, 47 insertions, 5 deletions
diff --git a/config/elfutils.spec.in b/config/elfutils.spec.in index 0f9687d4..e2fb0e4d 100644 --- a/config/elfutils.spec.in +++ b/config/elfutils.spec.in @@ -227,6 +227,20 @@ rm -rf ${RPM_BUILD_ROOT} %{_sysctldir}/10-default-yama-scope.conf %changelog +* Wed Nov 14 2018 Mark Wielaard <[email protected]> 0.175-1 +- readelf: Handle mutliple .debug_macro sections. + Recognize and parse GNU Property notes, NT_VERSION notes 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. + * Fri Sep 14 2018 Mark Wielaard <mark@klomp> 0.174-1 - libelf, libdw and all tools now handle extended shnum and shstrndx correctly. diff --git a/config/upload-release.sh b/config/upload-release.sh index 320d1ada..a44d40c9 100755 --- a/config/upload-release.sh +++ b/config/upload-release.sh @@ -1,5 +1,10 @@ #!/bin/bash +# Must be run in the source directory. +# Should have passed make distcheck. +# And all final changes should already have been pushed. +# Backup copy will be created in $HOME/elfutils-$VERSION + # Any error is fatal set -e @@ -11,21 +16,44 @@ fi VERSION="$1" -# Check we are in the build dir already configured. -ELFUTILS_VERSION=$(echo $VERSION | cut -f2 -d\.) -grep $ELFUTILS_VERSION version.h \ - || (echo "Must be run in configured build dir for $VERSION"; exit -1) +echo Make sure the git repo is tagged, signed and pushed +echo git tag -s -m \"elfutils $VERSION release\" elfutils-$VERSION +echo git push --tags + +# Create a temporary directoy and make sure it is cleaned up. +tempdir=$(mktemp -d) || exit +trap "rm -rf -- ${tempdir}" EXIT + +pushd "${tempdir}" + +# Checkout +git clone git://sourceware.org/git/elfutils.git +cd elfutils +git checkout -b "$VERSION" "elfutils-${VERSION}" +# Create dist +autoreconf -v -f -i +./configure --enable-maintainer-mode make dist +# Sign mkdir $VERSION cp elfutils-$VERSION.tar.bz2 $VERSION/ cd $VERSION/ gpg -b elfutils-$VERSION.tar.bz2 cd .. -scp -r $VERSION sourceware.org:/sourceware/ftp/pub/elfutils/ +# Backup copy +cp -r $VERSION $HOME/elfutils-$VERSION + +# Upload +scp -r $VERSION sourceware.org:/sourceware/ftp/pub/elfutils/ ssh sourceware.org "(cd /sourceware/ftp/pub/elfutils \ && ln -sf $VERSION/elfutils-$VERSION.tar.bz2 elfutils-latest.tar.bz2 \ && ln -sf $VERSION/elfutils-$VERSION.tar.bz2.sig elfutils-latest.tar.bz2.sig \ && ls -lah elfutils-latest*)" + +# Cleanup +popd +trap - EXIT +exit |