Hello community, here is the log from the commit of package binutils for openSUSE:Factory checked in at 2013-05-16 15:18:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/binutils (Old) and /work/SRC/openSUSE:Factory/.binutils.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "binutils" Changes: -------- --- /work/SRC/openSUSE:Factory/binutils/binutils.changes 2013-04-02 11:39:17.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.binutils.new/binutils.changes 2013-05-16 15:18:24.000000000 +0200 @@ -1,0 +2,17 @@ +Wed May 15 11:25:50 UTC 2013 - [email protected] + +- Drop cross-alpha-binutils. Adjust pre-checkin.sh to remove + all cross packages before re-generating them. + +------------------------------------------------------------------- +Tue May 14 15:31:59 UTC 2013 - [email protected] + +- Tell bfd ELF backend that aarch64 defaults to non-exec stack + +------------------------------------------------------------------- +Wed Apr 3 13:08:47 UTC 2013 - [email protected] + +- Re-instantiate patch to warn about non-PIC code in shared objects + on s390x. + +------------------------------------------------------------------- cross-aarch64-binutils.changes: same change cross-arm-binutils.changes: same change cross-avr-binutils.changes: same change cross-hppa-binutils.changes: same change cross-hppa64-binutils.changes: same change cross-i386-binutils.changes: same change cross-ia64-binutils.changes: same change cross-mips-binutils.changes: same change cross-ppc-binutils.changes: same change cross-ppc64-binutils.changes: same change cross-s390-binutils.changes: same change cross-s390x-binutils.changes: same change cross-sparc-binutils.changes: same change cross-sparc64-binutils.changes: same change cross-spu-binutils.changes: same change cross-x86_64-binutils.changes: same change Old: ---- cross-alpha-binutils.changes cross-alpha-binutils.spec New: ---- aarch64-execstack.patch s390-pic-dso.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ binutils.spec ++++++ --- /var/tmp/diff_new_pack.7uCwMy/_old 2013-05-16 15:18:26.000000000 +0200 +++ /var/tmp/diff_new_pack.7uCwMy/_new 2013-05-16 15:18:26.000000000 +0200 @@ -91,6 +91,7 @@ Patch9: testsuite.diff Patch10: enable-targets-gold.diff Patch11: use-hashtype-both-by-default.diff +Patch12: s390-pic-dso.diff Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch @@ -99,6 +100,7 @@ Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch Patch102: aarch64-gc-section-support.patch +Patch103: aarch64-execstack.patch Patch201: s390-machinemode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: update-alternatives @@ -160,12 +162,14 @@ %patch9 %patch10 %patch11 +%patch12 %patch14 %patch18 %patch21 %patch22 %patch101 -p1 %patch102 -p1 +%patch103 -p1 %patch201 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h ++++++ cross-aarch64-binutils.spec ++++++ --- /var/tmp/diff_new_pack.7uCwMy/_old 2013-05-16 15:18:26.000000000 +0200 +++ /var/tmp/diff_new_pack.7uCwMy/_new 2013-05-16 15:18:26.000000000 +0200 @@ -94,6 +94,7 @@ Patch9: testsuite.diff Patch10: enable-targets-gold.diff Patch11: use-hashtype-both-by-default.diff +Patch12: s390-pic-dso.diff Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch @@ -102,6 +103,7 @@ Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch Patch102: aarch64-gc-section-support.patch +Patch103: aarch64-execstack.patch Patch201: s390-machinemode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: update-alternatives @@ -163,12 +165,14 @@ %patch9 %patch10 %patch11 +%patch12 %patch14 %patch18 %patch21 %patch22 %patch101 -p1 %patch102 -p1 +%patch103 -p1 %patch201 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cross-arm-binutils.spec: same change cross-avr-binutils.spec: same change cross-hppa-binutils.spec: same change cross-hppa64-binutils.spec: same change cross-i386-binutils.spec: same change cross-ia64-binutils.spec: same change cross-mips-binutils.spec: same change cross-ppc-binutils.spec: same change cross-ppc64-binutils.spec: same change cross-s390-binutils.spec: same change cross-s390x-binutils.spec: same change cross-sparc-binutils.spec: same change cross-sparc64-binutils.spec: same change cross-spu-binutils.spec: same change cross-x86_64-binutils.spec: same change ++++++ aarch64-execstack.patch ++++++ >From 13cfe5d13f05b3887fb1e1827dd0834f6a109637 Mon Sep 17 00:00:00 2001 From: Andreas Schwab <[email protected]> Date: Tue, 14 May 2013 17:12:55 +0200 Subject: [PATCH] Define elf_backend_default_execstack to 0 for aarch64 * elf64-aarch64.c (elf_backend_default_execstack): Define to 0. --- bfd/elf64-aarch64.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bfd/elf64-aarch64.c b/bfd/elf64-aarch64.c index e3cae95..aef472f 100644 --- a/bfd/elf64-aarch64.c +++ b/bfd/elf64-aarch64.c @@ -7181,6 +7181,7 @@ const struct elf_size_info elf64_aarch64_size_info = #define elf_backend_may_use_rela_p 1 #define elf_backend_default_use_rela_p 1 #define elf_backend_got_header_size (GOT_ENTRY_SIZE * 3) +#define elf_backend_default_execstack 0 #undef elf_backend_obj_attrs_section #define elf_backend_obj_attrs_section ".ARM.attributes" -- 1.8.2.3 ++++++ pre_checkin.sh ++++++ --- /var/tmp/diff_new_pack.7uCwMy/_old 2013-05-16 15:18:27.000000000 +0200 +++ /var/tmp/diff_new_pack.7uCwMy/_new 2013-05-16 15:18:27.000000000 +0200 @@ -1,8 +1,11 @@ #!/bin/bash # the script takes binutils* and creates the cross-* packages + +rm -f cross-*-binutils.spec cross-*-binutils.changes + # sh4 is stuck in the testsuite -for arch in aarch64 hppa hppa64 mips arm i386 x86_64 s390 s390x ppc ppc64 ia64 sparc sparc64 alpha spu avr; do +for arch in aarch64 hppa hppa64 arm i386 x86_64 s390 s390x ppc ppc64 ia64 sparc sparc64 spu avr mips; do echo -n "Building package for $arch --> cross-$arch-binutils ..." ++++++ s390-pic-dso.diff ++++++ --- bfd/elf32-s390.c.orig 2013-04-03 15:04:56.274458632 +0200 +++ bfd/elf32-s390.c 2013-04-03 15:06:35.071564928 +0200 @@ -2649,13 +2649,34 @@ unresolved_reloc = FALSE; break; - case R_390_8: - case R_390_16: - case R_390_32: case R_390_PC16: case R_390_PC16DBL: case R_390_PC32DBL: case R_390_PC32: + /* This is strictly required only for PC32DBL, which + is not handled by ld.so, but let's be helpful to the user also + in the other cases. */ + if (info->shared + && !SYMBOL_REFERENCES_LOCAL (info, h) + && (input_section->flags & SEC_ALLOC) != 0 + && (input_section->flags & SEC_READONLY) != 0 + && (!h->def_regular + || r_type != R_390_PC32DBL + || h->type != STT_FUNC + || ELF_ST_VISIBILITY (h->other) != STV_PROTECTED)) + { + (*_bfd_error_handler) + (_("%B: relocation %s against `%s' can not be used when making a shared object; recompile with -fPIC"), + input_bfd, elf_howto_table[r_type].name, + h->root.root.string); + bfd_set_error (bfd_error_bad_value); + return FALSE; + } + /* Fall through. */ + + case R_390_8: + case R_390_16: + case R_390_32: if (h != NULL && s390_is_ifunc_symbol_p (h) && h->def_regular) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
