forked from pool/binutils
Accepting request 774884 from home:marxin:branches:devel:gcc-clean
- Update to binutils 2.34: * The disassembler (objdump --disassemble) now has an option to generate ascii art thats show the arcs between that start and end points of control flow instructions. * The binutils tools now have support for debuginfod. Debuginfod is a HTTP service for distributing ELF/DWARF debugging information as well as source code. The tools can now connect to debuginfod servers in order to download debug information about the files that they are processing. * The assembler and linker now support the generation of ELF format files for the Z80 architecture. - Rename and get binutils-2.34-branch.diff.gz (boo#1160254). - Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff, cross-avr-size.patch and binutils-skip-rpaths.patch. - Add new subpackages for libctf and libctf-nobfd. - Disable LTO due to boo#1163333. - Includes fixes for these CVEs: bnc#1153768 aka CVE-2019-17451 aka PR25070 bnc#1153770 aka CVE-2019-17450 aka PR25078 OBS-URL: https://build.opensuse.org/request/show/774884 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=331
This commit is contained in:
parent
84a198e44e
commit
7678d731bf
@ -117,7 +117,7 @@ Index: bfd/elfxx-x86.c
|
||||
+ if (sec == NULL)
|
||||
+ info->callbacks->einfo (_("%F%P: failed to create ULP section\n"));
|
||||
+
|
||||
+ if (!bfd_set_section_alignment (dynobj, sec, plt_alignment))
|
||||
+ if (!bfd_set_section_alignment (sec, plt_alignment))
|
||||
+ goto error_alignment;
|
||||
+
|
||||
+ htab->ulp = sec;
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:753461d66ec1fd63c1b3fcb3e1624929fcb76f1a4ef94ad336f245711c9dd6e5
|
||||
size 4154
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0cb4843da15a65a953907c96bad658283f3c4419d6bcc56bf2789db16306adb2
|
||||
size 32160315
|
@ -1,16 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIcBAABAgAGBQJdoeAZAAoJEBP874ndnjxPOuoP/jwIVpf4Qv6Hgj0my3URexUg
|
||||
8UFrF2pOrL9YECYMinpcY8k3F4vNa+CaNSc+7089EbwmLfRgP6nWZ1Vjdl/0k/5P
|
||||
AYeNgjo88/D5awx/ZPbq3zc1M1OYFhMGtUX4nLdUKqTqBfKargvlVxwtjFkgze90
|
||||
afU5uVyrpdxGQou1wvsX3m8zYEHAqL9bRyBs+5XV9OAwamjaUR8Cvfkxa2p6MuvZ
|
||||
/koSamowRgKyAya2OKzaqV0oZxfP6jjefvZfiRVYCtp5vC0LDPq7h36QsWaGupaA
|
||||
jQm+KkqjVF8HvMRoYvnq3SZEZlAmGpXo9Iyyt2htIRF0TvSrcWCq8uOxULbYUN+2
|
||||
XK9o0wqBeF79xvhf73b6JKKEAqpkq0l+LzT31BySyK6sbXaUWBHJFlQSR1GQu8Dq
|
||||
04/yA+ZZEZsBASFLiY1XrjhHuTZmk/Y7ImNd0XsKsRdwuSGAECZOM2un7vWVcyQw
|
||||
ioh4NjcryqQaB56FG/myIioPBzjtkDuV5QWHso/NKVdR0GgvSmzO25TsDqt57sVX
|
||||
r8bZOGZwToIxvdZ7BZzMBj/i4nZLJhQLzLrAligzlmmsMAqqSG2z7o5/QVQa60JW
|
||||
mNyknALOsJYKGiIRIQm8NxB5Ke/AArXERaSElCl25BeUC46X1Udng/sE6mtlkdZB
|
||||
MWJqymqJ3TwxKGecaypO
|
||||
=EOtw
|
||||
-----END PGP SIGNATURE-----
|
3
binutils-2.34-branch.diff.gz
Normal file
3
binutils-2.34-branch.diff.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:49f59f06b7254fa0bd2338b1749364d5ee53ac1a1635712e9e2657557a9b0bde
|
||||
size 85864
|
3
binutils-2.34.tar.bz2
Normal file
3
binutils-2.34.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:89f010078b6cf69c23c27897d686055ab89b198dddf819efb0a4f2c38a0b36e6
|
||||
size 32430470
|
16
binutils-2.34.tar.bz2.sig
Normal file
16
binutils-2.34.tar.bz2.sig
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIcBAABAgAGBQJeNW1OAAoJEBP874ndnjxPFSwP/1q0yRRKHaKdb4P76bYabTol
|
||||
+uyC6Xu1SFOlhIN3r3l8ExLWzrxBz/OppW/2TDkXbmEKJeMEBVYUQrXiTn+pV6qG
|
||||
gcgx280syu/LNfCu13xT0zUax8gCH/f3s4VnN3sF46tcLMxb5m0ufPdERMmfok4A
|
||||
IuMpZuKjZgeT6WXgdWlMRJc5byfWbBWdbw5kPy9d4Hih8KJ8doQEyfLHFe2wOmsL
|
||||
sAC+pUZbrbsfzaO3L5OgM8dtOkTuRdFnierw6KxsI6WCz/mC69EycuaFVU8x1lf/
|
||||
wLJZ2/hdmXTbe2Fe1Z6aLOumyxUxWBP9eMD6NFt03gcnNEZoFkDoP+1jYHVFiMho
|
||||
BbeGCWuIRsKlUwLPeXaxOR7O5/q2xL9XqyfbULP/Re1cvbt9ARt5XlTvoA9YwEiW
|
||||
S/AN6KpDDnnDzkhL6Pw+UeG4D8c/Tu5iXYQJ5BrMFwW0ge8YKgswnLkJnzVcQ86I
|
||||
atw8YBSpP30VDn39DDaAHdq3QTSQ0RcwMwPEujhz7x6FPwtDrlZpLSQlGRI7wO8W
|
||||
nqIOhK9fAUyk4JRsmXulM2OXNgQWt9hLoh02+v5vmHjhRZdAUWPLmBPH4HEKd0Kl
|
||||
YqkU0n5nj+Xo1OqmWCuyZ4JGm6rePhsuxInvt6CstR+CE+4CegN5sxiJjVy2tLyx
|
||||
AIwlciAdeZY/r/CCZmRd
|
||||
=RC4U
|
||||
-----END PGP SIGNATURE-----
|
@ -78,10 +78,10 @@ Date: Tue Feb 13 07:34:22 2018 -0800
|
||||
* testsuite/ld-x86-64/pr22791-2c.s: Likewise.
|
||||
* testsuite/ld-x86-64/x86-64.exp: Run PR ld/22791 tests.
|
||||
|
||||
Index: binutils-2.33.1/bfd/elf64-x86-64.c
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/bfd/elf64-x86-64.c 2019-09-09 15:19:43.000000000 +0200
|
||||
+++ binutils-2.33.1/bfd/elf64-x86-64.c 2019-10-30 14:26:33.000000000 +0100
|
||||
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
|
||||
index 79e68ff476..cee387da7d 100644
|
||||
--- a/bfd/elf64-x86-64.c
|
||||
+++ b/bfd/elf64-x86-64.c
|
||||
@@ -1798,6 +1798,24 @@ rewrite_modrm_rex:
|
||||
return TRUE;
|
||||
}
|
||||
@ -158,11 +158,11 @@ Index: binutils-2.33.1/bfd/elf64-x86-64.c
|
||||
}
|
||||
|
||||
if (fail)
|
||||
Index: binutils-2.33.1/gas/config/tc-i386.c
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/gas/config/tc-i386.c 2019-10-07 11:53:50.000000000 +0200
|
||||
+++ binutils-2.33.1/gas/config/tc-i386.c 2019-10-30 14:26:33.000000000 +0100
|
||||
@@ -7877,52 +7877,12 @@ output_branch (void)
|
||||
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
|
||||
index 8728725b82..527ae0b701 100644
|
||||
--- a/gas/config/tc-i386.c
|
||||
+++ b/gas/config/tc-i386.c
|
||||
@@ -7954,52 +7954,12 @@ output_branch (void)
|
||||
frag_var (rs_machine_dependent, 5, i.reloc[0], subtype, sym, off, p);
|
||||
}
|
||||
|
||||
@ -213,9 +213,9 @@ Index: binutils-2.33.1/gas/config/tc-i386.c
|
||||
fixS *fixP;
|
||||
- bfd_reloc_code_real_type jump_reloc = i.reloc[0];
|
||||
|
||||
if (i.tm.opcode_modifier.jumpbyte)
|
||||
if (i.tm.opcode_modifier.jump == JUMP_BYTE)
|
||||
{
|
||||
@@ -7990,17 +7950,8 @@ output_jump (void)
|
||||
@@ -8067,17 +8027,8 @@ output_jump (void)
|
||||
abort ();
|
||||
}
|
||||
|
||||
@ -234,7 +234,7 @@ Index: binutils-2.33.1/gas/config/tc-i386.c
|
||||
|
||||
/* All jumps handled here are signed, but don't use a signed limit
|
||||
check for 32 and 16 bit jumps as we want to allow wrap around at
|
||||
@@ -10430,10 +10381,6 @@ md_estimate_size_before_relax (fragS *fr
|
||||
@@ -11263,10 +11214,6 @@ md_estimate_size_before_relax (fragS *fragP, segT segment)
|
||||
reloc_type = (enum bfd_reloc_code_real) fragP->fr_var;
|
||||
else if (size == 2)
|
||||
reloc_type = BFD_RELOC_16_PCREL;
|
||||
@ -245,10 +245,10 @@ Index: binutils-2.33.1/gas/config/tc-i386.c
|
||||
else
|
||||
reloc_type = BFD_RELOC_32_PCREL;
|
||||
|
||||
Index: binutils-2.33.1/gas/testsuite/gas/i386/ilp32/reloc64.d
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/gas/testsuite/gas/i386/ilp32/reloc64.d 2019-09-09 15:19:44.000000000 +0200
|
||||
+++ binutils-2.33.1/gas/testsuite/gas/i386/ilp32/reloc64.d 2019-10-30 14:26:33.000000000 +0100
|
||||
diff --git a/gas/testsuite/gas/i386/ilp32/reloc64.d b/gas/testsuite/gas/i386/ilp32/reloc64.d
|
||||
index 78ca3fd9e3..a961679754 100644
|
||||
--- a/gas/testsuite/gas/i386/ilp32/reloc64.d
|
||||
+++ b/gas/testsuite/gas/i386/ilp32/reloc64.d
|
||||
@@ -17,7 +17,7 @@ Disassembly of section \.text:
|
||||
.*[ ]+R_X86_64_PC8[ ]+xtrn\+0x0*1
|
||||
.*[ ]+R_X86_64_PC32[ ]+xtrn-0x0*4
|
||||
@ -258,10 +258,10 @@ Index: binutils-2.33.1/gas/testsuite/gas/i386/ilp32/reloc64.d
|
||||
.*[ ]+R_X86_64_PC8[ ]+xtrn-0x0*1
|
||||
.*[ ]+R_X86_64_GOT32[ ]+xtrn
|
||||
.*[ ]+R_X86_64_GOT32[ ]+xtrn
|
||||
Index: binutils-2.33.1/gas/testsuite/gas/i386/ilp32/x86-64-branch.d
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/gas/testsuite/gas/i386/ilp32/x86-64-branch.d 2019-09-09 15:19:44.000000000 +0200
|
||||
+++ binutils-2.33.1/gas/testsuite/gas/i386/ilp32/x86-64-branch.d 2019-10-30 14:26:33.000000000 +0100
|
||||
diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-branch.d b/gas/testsuite/gas/i386/ilp32/x86-64-branch.d
|
||||
index 45ab6178b9..915dbf3f1c 100644
|
||||
--- a/gas/testsuite/gas/i386/ilp32/x86-64-branch.d
|
||||
+++ b/gas/testsuite/gas/i386/ilp32/x86-64-branch.d
|
||||
@@ -20,9 +20,9 @@ Disassembly of section .text:
|
||||
[ ]*[a-f0-9]+: 66 ff 20 data16 jmpq \*\(%rax\)
|
||||
[ ]*[a-f0-9]+: e8 00 00 00 00 callq 0x1f 1b: R_X86_64_PC32 \*ABS\*\+0x10003c
|
||||
@ -275,10 +275,10 @@ Index: binutils-2.33.1/gas/testsuite/gas/i386/ilp32/x86-64-branch.d
|
||||
[ ]*[a-f0-9]+: ff d0 callq \*%rax
|
||||
[ ]*[a-f0-9]+: ff d0 callq \*%rax
|
||||
[ ]*[a-f0-9]+: 66 ff d0 data16 callq \*%rax
|
||||
Index: binutils-2.33.1/gas/testsuite/gas/i386/reloc64.d
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/gas/testsuite/gas/i386/reloc64.d 2019-09-09 15:19:44.000000000 +0200
|
||||
+++ binutils-2.33.1/gas/testsuite/gas/i386/reloc64.d 2019-10-30 14:26:33.000000000 +0100
|
||||
diff --git a/gas/testsuite/gas/i386/reloc64.d b/gas/testsuite/gas/i386/reloc64.d
|
||||
index 540a9b77d3..ea16c68de4 100644
|
||||
--- a/gas/testsuite/gas/i386/reloc64.d
|
||||
+++ b/gas/testsuite/gas/i386/reloc64.d
|
||||
@@ -20,7 +20,7 @@ Disassembly of section \.text:
|
||||
.*[ ]+R_X86_64_PC8[ ]+xtrn\+0x0*1
|
||||
.*[ ]+R_X86_64_PC32[ ]+xtrn-0x0*4
|
||||
@ -288,10 +288,10 @@ Index: binutils-2.33.1/gas/testsuite/gas/i386/reloc64.d
|
||||
.*[ ]+R_X86_64_PC8[ ]+xtrn-0x0*1
|
||||
.*[ ]+R_X86_64_GOT64[ ]+xtrn
|
||||
.*[ ]+R_X86_64_GOT32[ ]+xtrn
|
||||
Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-jump.d
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/gas/testsuite/gas/i386/x86-64-jump.d 2019-09-09 15:19:44.000000000 +0200
|
||||
+++ binutils-2.33.1/gas/testsuite/gas/i386/x86-64-jump.d 2019-10-30 14:26:33.000000000 +0100
|
||||
diff --git a/gas/testsuite/gas/i386/x86-64-jump.d b/gas/testsuite/gas/i386/x86-64-jump.d
|
||||
index 1a1521d278..b898d7d5eb 100644
|
||||
--- a/gas/testsuite/gas/i386/x86-64-jump.d
|
||||
+++ b/gas/testsuite/gas/i386/x86-64-jump.d
|
||||
@@ -9,7 +9,7 @@ Disassembly of section .text:
|
||||
|
||||
0+ <.text>:
|
||||
@ -310,44 +310,27 @@ Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-jump.d
|
||||
[ ]*[a-f0-9]+: ff 14 25 00 00 00 00 callq \*0x0 3d: R_X86_64_32S xxx
|
||||
[ ]*[a-f0-9]+: ff d7 callq \*%rdi
|
||||
[ ]*[a-f0-9]+: ff 17 callq \*\(%rdi\)
|
||||
Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d 2019-09-09 15:19:44.000000000 +0200
|
||||
+++ binutils-2.33.1/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d 2019-10-30 14:26:33.000000000 +0100
|
||||
@@ -21,9 +21,9 @@ Disassembly of section .text:
|
||||
[ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 24 <foo2>
|
||||
diff --git a/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d b/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d
|
||||
index 03e9675217..9d2ec05b7e 100644
|
||||
--- a/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d
|
||||
+++ b/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d
|
||||
@@ -23,9 +23,9 @@ Disassembly of section .text:
|
||||
[ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 34 <foo2>
|
||||
|
||||
0+24 <foo2>:
|
||||
-[ ]*[a-f0-9]+: f2 e9 00 00 00 00 bnd jmpq 2a <foo2\+0x6> 26: R_X86_64_PLT32 foo-0x4
|
||||
-[ ]*[a-f0-9]+: f2 0f 82 00 00 00 00 bnd jb 31 <foo2\+0xd> 2d: R_X86_64_PLT32 foo-0x4
|
||||
-[ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 37 <foo2\+0x13> 33: R_X86_64_PLT32 foo-0x4
|
||||
+[ ]*[a-f0-9]+: f2 e9 00 00 00 00 bnd jmpq 2a <foo2\+0x6> 26: R_X86_64_PC32 foo-0x4
|
||||
+[ ]*[a-f0-9]+: f2 0f 82 00 00 00 00 bnd jb 31 <foo2\+0xd> 2d: R_X86_64_PC32 foo-0x4
|
||||
+[ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 37 <foo2\+0x13> 33: R_X86_64_PC32 foo-0x4
|
||||
[ ]*[a-f0-9]+: f2 e9 00 00 00 00 bnd jmpq 3d <foo2\+0x19> 39: R_X86_64_PLT32 foo-0x4
|
||||
[ ]*[a-f0-9]+: f2 0f 82 00 00 00 00 bnd jb 44 <foo2\+0x20> 40: R_X86_64_PLT32 foo-0x4
|
||||
[ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 4a <foo2\+0x26> 46: R_X86_64_PLT32 foo-0x4
|
||||
Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-mpx-branch-2.d
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/gas/testsuite/gas/i386/x86-64-mpx-branch-2.d 2019-09-09 15:19:44.000000000 +0200
|
||||
+++ binutils-2.33.1/gas/testsuite/gas/i386/x86-64-mpx-branch-2.d 2019-10-30 14:26:33.000000000 +0100
|
||||
@@ -21,9 +21,9 @@ Disassembly of section .text:
|
||||
[ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 24 <foo2>
|
||||
|
||||
0+24 <foo2>:
|
||||
-[ ]*[a-f0-9]+: f2 e9 00 00 00 00 bnd jmpq 2a <foo2\+0x6> 26: R_X86_64_PLT32 foo-0x4
|
||||
-[ ]*[a-f0-9]+: f2 0f 82 00 00 00 00 bnd jb 31 <foo2\+0xd> 2d: R_X86_64_PLT32 foo-0x4
|
||||
-[ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 37 <foo2\+0x13> 33: R_X86_64_PLT32 foo-0x4
|
||||
+[ ]*[a-f0-9]+: f2 e9 00 00 00 00 bnd jmpq 2a <foo2\+0x6> 26: R_X86_64_PC32 foo-0x4
|
||||
+[ ]*[a-f0-9]+: f2 0f 82 00 00 00 00 bnd jb 31 <foo2\+0xd> 2d: R_X86_64_PC32 foo-0x4
|
||||
+[ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 37 <foo2\+0x13> 33: R_X86_64_PC32 foo-0x4
|
||||
[ ]*[a-f0-9]+: f2 e9 00 00 00 00 bnd jmpq 3d <foo2\+0x19> 39: R_X86_64_PLT32 foo-0x4
|
||||
[ ]*[a-f0-9]+: f2 0f 82 00 00 00 00 bnd jb 44 <foo2\+0x20> 40: R_X86_64_PLT32 foo-0x4
|
||||
[ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 4a <foo2\+0x26> 46: R_X86_64_PLT32 foo-0x4
|
||||
Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-nop-3.d
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/gas/testsuite/gas/i386/x86-64-nop-3.d 2019-09-09 15:19:44.000000000 +0200
|
||||
+++ binutils-2.33.1/gas/testsuite/gas/i386/x86-64-nop-3.d 2019-10-30 14:26:33.000000000 +0100
|
||||
0+34 <foo2>:
|
||||
-[ ]*[a-f0-9]+: f2 e9 00 00 00 00 bnd jmpq 3a <foo2\+0x6> 36: R_X86_64_PLT32 foo-0x4
|
||||
-[ ]*[a-f0-9]+: f2 0f 82 00 00 00 00 bnd jb 41 <foo2\+0xd> 3d: R_X86_64_PLT32 foo-0x4
|
||||
-[ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 47 <foo2\+0x13> 43: R_X86_64_PLT32 foo-0x4
|
||||
+[ ]*[a-f0-9]+: f2 e9 00 00 00 00 bnd jmpq 3a <foo2\+0x6> 36: R_X86_64_PC32 foo-0x4
|
||||
+[ ]*[a-f0-9]+: f2 0f 82 00 00 00 00 bnd jb 41 <foo2\+0xd> 3d: R_X86_64_PC32 foo-0x4
|
||||
+[ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 47 <foo2\+0x13> 43: R_X86_64_PC32 foo-0x4
|
||||
[ ]*[a-f0-9]+: f2 e9 00 00 00 00 bnd jmpq 4d <foo2\+0x19> 49: R_X86_64_PLT32 foo-0x4
|
||||
[ ]*[a-f0-9]+: f2 0f 82 00 00 00 00 bnd jb 54 <foo2\+0x20> 50: R_X86_64_PLT32 foo-0x4
|
||||
[ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 5a <foo2\+0x26> 56: R_X86_64_PLT32 foo-0x4
|
||||
diff --git a/gas/testsuite/gas/i386/x86-64-nop-3.d b/gas/testsuite/gas/i386/x86-64-nop-3.d
|
||||
index 8514c4d077..617033a8ac 100644
|
||||
--- a/gas/testsuite/gas/i386/x86-64-nop-3.d
|
||||
+++ b/gas/testsuite/gas/i386/x86-64-nop-3.d
|
||||
@@ -18,5 +18,5 @@ Disassembly of section .text:
|
||||
Disassembly of section .altinstr_replacement:
|
||||
|
||||
@ -355,32 +338,32 @@ Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-nop-3.d
|
||||
- +[a-f0-9]+: e9 00 00 00 00 jmpq 5 <_start\+0x5> 1: R_X86_64_PLT32 foo-0x4
|
||||
+ +[a-f0-9]+: e9 00 00 00 00 jmpq 5 <_start\+0x5> 1: R_X86_64_PC32 foo-0x4
|
||||
#pass
|
||||
Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-nop-4.d
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/gas/testsuite/gas/i386/x86-64-nop-4.d 2019-09-09 15:19:44.000000000 +0200
|
||||
+++ binutils-2.33.1/gas/testsuite/gas/i386/x86-64-nop-4.d 2019-10-30 14:26:33.000000000 +0100
|
||||
@@ -21,5 +21,5 @@ Disassembly of section .altinstr_replace
|
||||
diff --git a/gas/testsuite/gas/i386/x86-64-nop-4.d b/gas/testsuite/gas/i386/x86-64-nop-4.d
|
||||
index 7b696624cf..8610fc4303 100644
|
||||
--- a/gas/testsuite/gas/i386/x86-64-nop-4.d
|
||||
+++ b/gas/testsuite/gas/i386/x86-64-nop-4.d
|
||||
@@ -21,5 +21,5 @@ Disassembly of section .altinstr_replacement:
|
||||
+[a-f0-9]+: 89 c0 mov %eax,%eax
|
||||
+[a-f0-9]+: 89 c0 mov %eax,%eax
|
||||
+[a-f0-9]+: 89 c0 mov %eax,%eax
|
||||
- +[a-f0-9]+: e9 00 00 00 00 jmpq b <_start\+0xb> 7: R_X86_64_PLT32 foo-0x4
|
||||
+ +[a-f0-9]+: e9 00 00 00 00 jmpq b <_start\+0xb> 7: R_X86_64_PC32 foo-0x4
|
||||
#pass
|
||||
Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-nop-5.d
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/gas/testsuite/gas/i386/x86-64-nop-5.d 2019-09-09 15:19:44.000000000 +0200
|
||||
+++ binutils-2.33.1/gas/testsuite/gas/i386/x86-64-nop-5.d 2019-10-30 14:26:33.000000000 +0100
|
||||
@@ -24,5 +24,5 @@ Disassembly of section .altinstr_replace
|
||||
diff --git a/gas/testsuite/gas/i386/x86-64-nop-5.d b/gas/testsuite/gas/i386/x86-64-nop-5.d
|
||||
index b0b7854f8a..333263bd93 100644
|
||||
--- a/gas/testsuite/gas/i386/x86-64-nop-5.d
|
||||
+++ b/gas/testsuite/gas/i386/x86-64-nop-5.d
|
||||
@@ -24,5 +24,5 @@ Disassembly of section .altinstr_replacement:
|
||||
+[a-f0-9]+: 89 c0 mov %eax,%eax
|
||||
+[a-f0-9]+: 89 c0 mov %eax,%eax
|
||||
+[a-f0-9]+: 89 c0 mov %eax,%eax
|
||||
- +[a-f0-9]+: e9 00 00 00 00 jmpq d <_start\+0xd> 9: R_X86_64_PLT32 foo-0x4
|
||||
+ +[a-f0-9]+: e9 00 00 00 00 jmpq d <_start\+0xd> 9: R_X86_64_PC32 foo-0x4
|
||||
#pass
|
||||
Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-relax-2.d
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/gas/testsuite/gas/i386/x86-64-relax-2.d 2019-09-09 15:19:44.000000000 +0200
|
||||
+++ binutils-2.33.1/gas/testsuite/gas/i386/x86-64-relax-2.d 2019-10-30 14:26:33.000000000 +0100
|
||||
diff --git a/gas/testsuite/gas/i386/x86-64-relax-2.d b/gas/testsuite/gas/i386/x86-64-relax-2.d
|
||||
index 8f432dff52..6c7651886f 100644
|
||||
--- a/gas/testsuite/gas/i386/x86-64-relax-2.d
|
||||
+++ b/gas/testsuite/gas/i386/x86-64-relax-2.d
|
||||
@@ -11,12 +11,12 @@ Disassembly of section .text:
|
||||
0+ <foo>:
|
||||
[ ]*[a-f0-9]+: eb 24 jmp 26 <local>
|
||||
@ -399,10 +382,10 @@ Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-relax-2.d
|
||||
|
||||
0+22 <hidden_def>:
|
||||
[ ]*[a-f0-9]+: c3 retq
|
||||
Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-relax-3.d
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/gas/testsuite/gas/i386/x86-64-relax-3.d 2019-09-09 15:19:44.000000000 +0200
|
||||
+++ binutils-2.33.1/gas/testsuite/gas/i386/x86-64-relax-3.d 2019-10-30 14:26:33.000000000 +0100
|
||||
diff --git a/gas/testsuite/gas/i386/x86-64-relax-3.d b/gas/testsuite/gas/i386/x86-64-relax-3.d
|
||||
index bb60508145..f1ffdb89f6 100644
|
||||
--- a/gas/testsuite/gas/i386/x86-64-relax-3.d
|
||||
+++ b/gas/testsuite/gas/i386/x86-64-relax-3.d
|
||||
@@ -12,10 +12,10 @@ Disassembly of section .text:
|
||||
[ ]*[a-f0-9]+: eb 1b jmp 1f <hidden_def>
|
||||
[ ]*[a-f0-9]+: eb 1b jmp 21 <global_def>
|
||||
@ -418,28 +401,38 @@ Index: binutils-2.33.1/gas/testsuite/gas/i386/x86-64-relax-3.d
|
||||
|
||||
0+1f <hidden_def>:
|
||||
[ ]*[a-f0-9]+: c3 retq
|
||||
Index: binutils-2.33.1/ld/testsuite/ld-x86-64/mpx1c.rd
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/ld/testsuite/ld-x86-64/mpx1c.rd 2019-09-09 15:19:45.000000000 +0200
|
||||
+++ binutils-2.33.1/ld/testsuite/ld-x86-64/mpx1c.rd 2019-10-30 14:26:33.000000000 +0100
|
||||
diff --git a/ld/testsuite/ld-x86-64/mpx1c.rd b/ld/testsuite/ld-x86-64/mpx1c.rd
|
||||
index d66524c883..d3b292cbdc 100644
|
||||
--- a/ld/testsuite/ld-x86-64/mpx1c.rd
|
||||
+++ b/ld/testsuite/ld-x86-64/mpx1c.rd
|
||||
@@ -1,3 +1,3 @@
|
||||
#...
|
||||
-[0-9a-f ]+R_X86_64_PLT32 +0+ +.*
|
||||
+[0-9a-f ]+R_X86_64_PC32 +0+ +.*
|
||||
#...
|
||||
Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-1a.c
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/ld/testsuite/ld-x86-64/pr22791-1a.c 2019-09-09 15:19:45.000000000 +0200
|
||||
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
diff --git a/ld/testsuite/ld-x86-64/pr22791-1.err b/ld/testsuite/ld-x86-64/pr22791-1.err
|
||||
deleted file mode 100644
|
||||
index 8c5565992e..0000000000
|
||||
--- a/ld/testsuite/ld-x86-64/pr22791-1.err
|
||||
+++ /dev/null
|
||||
@@ -1,2 +0,0 @@
|
||||
-.*relocation R_X86_64_PC32 against symbol `foo' can not be used when making a PIE object; recompile with -fPIE
|
||||
-#...
|
||||
diff --git a/ld/testsuite/ld-x86-64/pr22791-1a.c b/ld/testsuite/ld-x86-64/pr22791-1a.c
|
||||
deleted file mode 100644
|
||||
index cd0130cacd..0000000000
|
||||
--- a/ld/testsuite/ld-x86-64/pr22791-1a.c
|
||||
+++ /dev/null
|
||||
@@ -1,4 +0,0 @@
|
||||
-void
|
||||
-foo (void)
|
||||
-{
|
||||
-}
|
||||
Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-1b.s
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/ld/testsuite/ld-x86-64/pr22791-1b.s 2019-09-09 15:19:45.000000000 +0200
|
||||
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
diff --git a/ld/testsuite/ld-x86-64/pr22791-1b.s b/ld/testsuite/ld-x86-64/pr22791-1b.s
|
||||
deleted file mode 100644
|
||||
index 9751db49aa..0000000000
|
||||
--- a/ld/testsuite/ld-x86-64/pr22791-1b.s
|
||||
+++ /dev/null
|
||||
@@ -1,6 +0,0 @@
|
||||
- .text
|
||||
- .globl main
|
||||
@ -447,10 +440,11 @@ Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-1b.s
|
||||
-main:
|
||||
- movl foo(%rip), %eax
|
||||
- .size main, .-main
|
||||
Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-2.rd
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/ld/testsuite/ld-x86-64/pr22791-2.rd 2019-09-09 15:19:45.000000000 +0200
|
||||
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
diff --git a/ld/testsuite/ld-x86-64/pr22791-2.rd b/ld/testsuite/ld-x86-64/pr22791-2.rd
|
||||
deleted file mode 100644
|
||||
index 70deb30d84..0000000000
|
||||
--- a/ld/testsuite/ld-x86-64/pr22791-2.rd
|
||||
+++ /dev/null
|
||||
@@ -1,6 +0,0 @@
|
||||
-#failif
|
||||
-#...
|
||||
@ -458,10 +452,11 @@ Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-2.rd
|
||||
-#...
|
||||
-[0-9a-f ]+R_X86_64_NONE.*
|
||||
-#...
|
||||
Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-2a.s
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/ld/testsuite/ld-x86-64/pr22791-2a.s 2019-09-09 15:19:45.000000000 +0200
|
||||
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
diff --git a/ld/testsuite/ld-x86-64/pr22791-2a.s b/ld/testsuite/ld-x86-64/pr22791-2a.s
|
||||
deleted file mode 100644
|
||||
index 0a855024d7..0000000000
|
||||
--- a/ld/testsuite/ld-x86-64/pr22791-2a.s
|
||||
+++ /dev/null
|
||||
@@ -1,8 +0,0 @@
|
||||
- .text
|
||||
- .p2align 4,,15
|
||||
@ -471,10 +466,11 @@ Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-2a.s
|
||||
- jmp bar
|
||||
- .size foo, .-foo
|
||||
- .section .note.GNU-stack,"",@progbits
|
||||
Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-2b.c
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/ld/testsuite/ld-x86-64/pr22791-2b.c 2019-09-09 15:19:45.000000000 +0200
|
||||
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
diff --git a/ld/testsuite/ld-x86-64/pr22791-2b.c b/ld/testsuite/ld-x86-64/pr22791-2b.c
|
||||
deleted file mode 100644
|
||||
index 79ef27c085..0000000000
|
||||
--- a/ld/testsuite/ld-x86-64/pr22791-2b.c
|
||||
+++ /dev/null
|
||||
@@ -1,7 +0,0 @@
|
||||
-#include <stdio.h>
|
||||
-
|
||||
@ -483,10 +479,11 @@ Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-2b.c
|
||||
-{
|
||||
- puts ("PASS");
|
||||
-}
|
||||
Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-2c.s
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/ld/testsuite/ld-x86-64/pr22791-2c.s 2019-09-09 15:19:45.000000000 +0200
|
||||
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
diff --git a/ld/testsuite/ld-x86-64/pr22791-2c.s b/ld/testsuite/ld-x86-64/pr22791-2c.s
|
||||
deleted file mode 100644
|
||||
index 1460d1b828..0000000000
|
||||
--- a/ld/testsuite/ld-x86-64/pr22791-2c.s
|
||||
+++ /dev/null
|
||||
@@ -1,12 +0,0 @@
|
||||
- .text
|
||||
- .p2align 4,,15
|
||||
@ -500,10 +497,10 @@ Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-2c.s
|
||||
- ret
|
||||
- .size main, .-main
|
||||
- .section .note.GNU-stack,"",@progbits
|
||||
Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22842b.S
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/ld/testsuite/ld-x86-64/pr22842b.S 2019-09-09 15:19:45.000000000 +0200
|
||||
+++ binutils-2.33.1/ld/testsuite/ld-x86-64/pr22842b.S 2019-10-30 14:26:33.000000000 +0100
|
||||
diff --git a/ld/testsuite/ld-x86-64/pr22842b.S b/ld/testsuite/ld-x86-64/pr22842b.S
|
||||
index f0659cd901..b9dd81345b 100644
|
||||
--- a/ld/testsuite/ld-x86-64/pr22842b.S
|
||||
+++ b/ld/testsuite/ld-x86-64/pr22842b.S
|
||||
@@ -7,7 +7,7 @@ main:
|
||||
leaq bar(%rip), %rdi
|
||||
addq %rax, %rdi
|
||||
@ -513,14 +510,15 @@ Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22842b.S
|
||||
xorl %eax, %eax
|
||||
popq %rcx
|
||||
retq
|
||||
Index: binutils-2.33.1/ld/testsuite/ld-x86-64/x86-64.exp
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/ld/testsuite/ld-x86-64/x86-64.exp 2019-09-09 15:19:45.000000000 +0200
|
||||
+++ binutils-2.33.1/ld/testsuite/ld-x86-64/x86-64.exp 2019-10-30 14:26:33.000000000 +0100
|
||||
@@ -1244,44 +1244,6 @@ if { [isnative] && [check_compiler_avail
|
||||
diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp
|
||||
index 88f75e0e43..c632fe932c 100644
|
||||
--- a/ld/testsuite/ld-x86-64/x86-64.exp
|
||||
+++ b/ld/testsuite/ld-x86-64/x86-64.exp
|
||||
@@ -1244,44 +1244,6 @@ if { [isnative] && [check_compiler_available] } {
|
||||
{readelf -lW pr22393-3b.rd}} \
|
||||
"pr22393-3-static" \
|
||||
] \
|
||||
[list \
|
||||
- [list \
|
||||
- "Build pr22791-1.so" \
|
||||
- "-shared" \
|
||||
- "-fPIC -Wa,-mx86-used-note=yes" \
|
||||
@ -558,14 +556,14 @@ Index: binutils-2.33.1/ld/testsuite/ld-x86-64/x86-64.exp
|
||||
- {{readelf -drW pr22791-2.rd}} \
|
||||
- "pr22791-2" \
|
||||
- ] \
|
||||
- [list \
|
||||
[list \
|
||||
"Build pr22842.so" \
|
||||
"-shared" \
|
||||
"-fPIC -Wa,-mx86-used-note=yes" \
|
||||
@@ -1624,15 +1586,6 @@ if { [isnative] && [check_compiler_avail
|
||||
@@ -1624,15 +1586,6 @@ if { [isnative] && [check_compiler_available] } {
|
||||
"pr22393-3-static" \
|
||||
"pass.out" \
|
||||
] \
|
||||
[list \
|
||||
- [list \
|
||||
- "Run pr22791-2" \
|
||||
- "-pie -Wl,--no-as-needed tmpdir/pr22791-2.so" \
|
||||
- "-Wa,-mx86-used-note=yes" \
|
||||
@ -574,14 +572,8 @@ Index: binutils-2.33.1/ld/testsuite/ld-x86-64/x86-64.exp
|
||||
- "pass.out" \
|
||||
- "$NOPIE_CFLAGS" \
|
||||
- ] \
|
||||
- [list \
|
||||
[list \
|
||||
"Run pr22842" \
|
||||
"-pie -Wl,--no-as-needed tmpdir/pr22842.so" \
|
||||
"-Wa,-mx86-used-note=yes" \
|
||||
Index: binutils-2.33.1/ld/testsuite/ld-x86-64/pr22791-1.err
|
||||
===================================================================
|
||||
--- binutils-2.33.1.orig/ld/testsuite/ld-x86-64/pr22791-1.err 2019-09-09 15:19:45.000000000 +0200
|
||||
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
@@ -1,2 +0,0 @@
|
||||
-.*relocation R_X86_64_PC32 against symbol `foo' can not be used when making a PIE object; recompile with -fPIE
|
||||
-#...
|
||||
--
|
||||
2.25.0
|
||||
|
@ -1,17 +1,26 @@
|
||||
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
|
||||
index f4f7ad6b4e..7b0f86031a 100644
|
||||
--- ld/emultempl/elf32.em
|
||||
+++ ld/emultempl/elf32.em
|
||||
@@ -1638,8 +1638,35 @@ if test x"$LDEMUL_BEFORE_ALLOCATION" != xgld"$EMULATION_NAME"_before_allocation;
|
||||
else
|
||||
ELF_INTERPRETER_SET_DEFAULT=
|
||||
diff --git a/ld/emultempl/elf.em b/ld/emultempl/elf.em
|
||||
index 42c552b36e..dd0a6b1e60 100644
|
||||
--- a/ld/emultempl/elf.em
|
||||
+++ b/ld/emultempl/elf.em
|
||||
@@ -135,6 +135,8 @@ if test x"$LDEMUL_BEFORE_ALLOCATION" != xgld"$EMULATION_NAME"_before_allocation;
|
||||
if test x"${ELF_INTERPRETER_NAME}" = x; then
|
||||
ELF_INTERPRETER_NAME=NULL
|
||||
fi
|
||||
+
|
||||
+ libpath_nl=`echo ${NATIVE_LIB_DIRS// /\\\n}`
|
||||
fragment <<EOF
|
||||
|
||||
/* This is called after the sections have been attached to output
|
||||
diff --git a/ld/ldelf.c b/ld/ldelf.c
|
||||
index 2e27cf48a8..7162d0cf91 100644
|
||||
--- a/ld/ldelf.c
|
||||
+++ b/ld/ldelf.c
|
||||
@@ -1506,6 +1506,31 @@ ldelf_append_to_separated_string (char **to, char *op_arg)
|
||||
}
|
||||
}
|
||||
|
||||
+static int
|
||||
+gld${EMULATION_NAME}_is_contained (const char *path, const char *dc)
|
||||
+ldelf_is_contained (const char *path, const char *dc)
|
||||
+{
|
||||
+ while (*dc)
|
||||
+ {
|
||||
@ -35,19 +44,19 @@ index f4f7ad6b4e..7b0f86031a 100644
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
/* used by before_allocation and handle_option. */
|
||||
static void
|
||||
gld${EMULATION_NAME}_append_to_separated_string (char **to, char *op_arg)
|
||||
@@ -1686,7 +1713,7 @@ gld${EMULATION_NAME}_append_to_separated_string (char **to, char *op_arg)
|
||||
static void
|
||||
gld${EMULATION_NAME}_before_allocation (void)
|
||||
/* This is called after the sections have been attached to output
|
||||
sections, but before any sizes or addresses have been set. */
|
||||
|
||||
@@ -1513,7 +1538,7 @@ void
|
||||
ldelf_before_allocation (char *audit, char *depaudit,
|
||||
const char *default_interpreter_name)
|
||||
{
|
||||
- const char *rpath;
|
||||
+ char *rpath;
|
||||
asection *sinterp;
|
||||
bfd *abfd;
|
||||
struct bfd_link_hash_entry *ehdr_start = NULL;
|
||||
@@ -1745,7 +1772,65 @@ gld${EMULATION_NAME}_before_allocation (void)
|
||||
@@ -1572,7 +1597,65 @@ ldelf_before_allocation (char *audit, char *depaudit,
|
||||
by dynamic linking. */
|
||||
rpath = command_line.rpath;
|
||||
if (rpath == NULL)
|
||||
@ -79,8 +88,8 @@ index f4f7ad6b4e..7b0f86031a 100644
|
||||
+
|
||||
+ while (*cr)
|
||||
+ {
|
||||
+ if (gld${EMULATION_NAME}_is_contained (cr, dirs)
|
||||
+ || gld${EMULATION_NAME}_is_contained (cr, "$libpath_nl"))
|
||||
+ if (ldelf_is_contained (cr, dirs)
|
||||
+ || ldelf_is_contained (cr, "$libpath_nl"))
|
||||
+ {
|
||||
+ char *cc = cr, *cw = cr;
|
||||
+ while (*cc && *cc != ':')
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -33,7 +33,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -81,7 +81,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -139,6 +139,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -154,7 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -182,11 +199,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -346,9 +361,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -457,6 +469,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -472,6 +487,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -510,6 +528,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -370,17 +370,17 @@ index 479a464887..971156ccbe 100644
|
||||
+ }
|
||||
+
|
||||
+ if ((section = bfd_get_section_by_name (file, ".data")) != NULL)
|
||||
+ datasize = bfd_section_size (file, section);
|
||||
+ datasize = bfd_section_size (section);
|
||||
+ if ((section = bfd_get_section_by_name (file, ".text")) != NULL)
|
||||
+ textsize = bfd_section_size (file, section);
|
||||
+ textsize = bfd_section_size (section);
|
||||
+ if ((section = bfd_get_section_by_name (file, ".bss")) != NULL)
|
||||
+ bsssize = bfd_section_size (file, section);
|
||||
+ bsssize = bfd_section_size (section);
|
||||
+ if ((section = bfd_get_section_by_name (file, ".bootloader")) != NULL)
|
||||
+ bootloadersize = bfd_section_size (file, section);
|
||||
+ bootloadersize = bfd_section_size (section);
|
||||
+ if ((section = bfd_get_section_by_name (file, ".noinit")) != NULL)
|
||||
+ noinitsize = bfd_section_size (file, section);
|
||||
+ noinitsize = bfd_section_size (section);
|
||||
+ if ((section = bfd_get_section_by_name (file, ".eeprom")) != NULL)
|
||||
+ eepromsize = bfd_section_size (file, section);
|
||||
+ eepromsize = bfd_section_size (section);
|
||||
+
|
||||
+ bfd_size_type text = textsize + datasize + bootloadersize;
|
||||
+ bfd_size_type data = datasize + bsssize + noinitsize;
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 17:46:57 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to binutils 2.34:
|
||||
* The disassembler (objdump --disassemble) now has an option to
|
||||
generate ascii art thats show the arcs between that start and end
|
||||
points of control flow instructions.
|
||||
|
||||
* The binutils tools now have support for debuginfod. Debuginfod is a
|
||||
HTTP service for distributing ELF/DWARF debugging information as
|
||||
well as source code. The tools can now connect to debuginfod
|
||||
servers in order to download debug information about the files that
|
||||
they are processing.
|
||||
|
||||
* The assembler and linker now support the generation of ELF format
|
||||
files for the Z80 architecture.
|
||||
- Rename and get binutils-2.34-branch.diff.gz (boo#1160254).
|
||||
- Rebase add-ulp-section.diff, binutils-revert-plt32-in-branches.diff,
|
||||
cross-avr-size.patch and binutils-skip-rpaths.patch.
|
||||
- Add new subpackages for libctf and libctf-nobfd.
|
||||
- Disable LTO due to boo#1163333.
|
||||
- Includes fixes for these CVEs:
|
||||
bnc#1153768 aka CVE-2019-17451 aka PR25070
|
||||
bnc#1153770 aka CVE-2019-17450 aka PR25078
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 12:42:34 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.33.1
|
||||
Version: 2.34
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -84,7 +84,7 @@ Source5: binutils.keyring
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SUSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch1: binutils-2.33-branch.diff.gz
|
||||
Patch1: binutils-2.34-branch.diff.gz
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -142,6 +142,23 @@ This package includes header files and static libraries necessary to
|
||||
build programs which use the GNU BFD library, which is part of
|
||||
binutils.
|
||||
|
||||
%package -n libctf0
|
||||
Summary: Compact C Type Format library (runtime, BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf0
|
||||
This package includes the libctf shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%package -n libctf-nobfd0
|
||||
Summary: Compact C Type Format library (runtime, no BFD dependency)
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
|
||||
%description -n libctf-nobfd0
|
||||
This package includes the libctf-nobfd shared library.
|
||||
The Compact C Type Format (CTF) is a way of representing information about a binary program
|
||||
|
||||
%ifarch %arm
|
||||
%define HOST %{_target_cpu}-suse-linux-gnueabi
|
||||
@ -157,7 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
# patch bringing the tarball to the newest upstream version
|
||||
%patch1 -p1
|
||||
%if !%{test_vanilla}
|
||||
%patch3
|
||||
%patch3 -p1
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
@ -185,11 +202,9 @@ cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%endif
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
|
||||
%if 0%{suse_version} > 1110
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -ffat-lto-objects"
|
||||
%endif
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
# Building native binutils
|
||||
@ -349,9 +364,6 @@ cd build-dir
|
||||
%if 0%{?cross:1}
|
||||
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" CFLAGS_FOR_TARGET="-O2 -g" CXXFLAGS_FOR_TARGET="-O2 -g" || %{make_check_handling}
|
||||
%else
|
||||
%if "%{?_lto_cflags}" != ""
|
||||
RPM_OPT_FLAGS+=" -fno-lto"
|
||||
%endif
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" CXXFLAGS_FOR_TARGET="$RPM_OPT_FLAGS" || %{make_check_handling}
|
||||
%endif
|
||||
|
||||
@ -460,6 +472,9 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
|
||||
"%_sbindir/update-alternatives" --install \
|
||||
"%_bindir/ld" ld "%_bindir/ld.gold" 1
|
||||
|
||||
%post -n libctf0 -p /sbin/ldconfig
|
||||
%post -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
|
||||
@ -475,6 +490,9 @@ if [ "$1" = 0 ]; then
|
||||
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
|
||||
fi;
|
||||
|
||||
%postun -n libctf0 -p /sbin/ldconfig
|
||||
%postun -n libctf-nobfd0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%endif
|
||||
@ -513,6 +531,14 @@ fi;
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user