forked from pool/binutils
Blaeh, also rebase the patches for old codestreams
* Rebased ld-relro.diff and binutils-revert-rela.diff. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=472
This commit is contained in:
parent
f32da6f20f
commit
09caadc22b
@ -26,10 +26,10 @@ of missing support in ld.so.
|
||||
proper predicate to guard themself)
|
||||
|
||||
|
||||
Index: binutils-2.42/bfd/elf64-x86-64.c
|
||||
Index: binutils-2.43/bfd/elf64-x86-64.c
|
||||
===================================================================
|
||||
--- binutils-2.42.orig/bfd/elf64-x86-64.c 2024-01-30 16:59:42.442361796 +0100
|
||||
+++ binutils-2.42/bfd/elf64-x86-64.c 2024-01-30 17:54:25.162977883 +0100
|
||||
--- binutils-2.43.orig/bfd/elf64-x86-64.c 2024-08-06 16:48:34.104745566 +0200
|
||||
+++ binutils-2.43/bfd/elf64-x86-64.c 2024-08-06 16:48:36.554787135 +0200
|
||||
@@ -48,127 +48,127 @@ static reloc_howto_type x86_64_elf_howto
|
||||
bfd_elf_generic_reloc, "R_X86_64_NONE", false, 0, 0x00000000,
|
||||
false),
|
||||
@ -199,7 +199,7 @@ Index: binutils-2.42/bfd/elf64-x86-64.c
|
||||
true),
|
||||
HOWTO(R_X86_64_CODE_4_GOTPCRELX, 0, 4, 32, true, 0, complain_overflow_signed,
|
||||
bfd_elf_generic_reloc, "R_X86_64_CODE_4_GOTPCRELX", false, 0, 0xffffffff,
|
||||
@@ -198,7 +198,7 @@ static reloc_howto_type x86_64_elf_howto
|
||||
@@ -216,7 +216,7 @@ static reloc_howto_type x86_64_elf_howto
|
||||
|
||||
/* Use complain_overflow_bitfield on R_X86_64_32 for x32. */
|
||||
HOWTO(R_X86_64_32, 0, 4, 32, false, 0, complain_overflow_bitfield,
|
||||
@ -208,9 +208,9 @@ Index: binutils-2.42/bfd/elf64-x86-64.c
|
||||
false)
|
||||
};
|
||||
|
||||
Index: binutils-2.42/gas/testsuite/gas/i386/rela.d
|
||||
Index: binutils-2.43/gas/testsuite/gas/i386/rela.d
|
||||
===================================================================
|
||||
--- binutils-2.42.orig/gas/testsuite/gas/i386/rela.d 2024-01-29 01:00:00.000000000 +0100
|
||||
--- binutils-2.43.orig/gas/testsuite/gas/i386/rela.d 2024-08-06 16:48:34.104745566 +0200
|
||||
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
@@ -1,13 +0,0 @@
|
||||
-#name: x86-64 rela relocs w/ non-zero relocated fields
|
||||
@ -226,9 +226,9 @@ Index: binutils-2.42/gas/testsuite/gas/i386/rela.d
|
||||
-
|
||||
-Contents of section .data:
|
||||
- 0+0 11 ?11 ?11 ?11 22 ?22 ?22 ?22 33 ?33 ?33 ?33 44 ?44 ?44 ?44 .*
|
||||
Index: binutils-2.42/gas/testsuite/gas/i386/rela.s
|
||||
Index: binutils-2.43/gas/testsuite/gas/i386/rela.s
|
||||
===================================================================
|
||||
--- binutils-2.42.orig/gas/testsuite/gas/i386/rela.s 2024-01-29 01:00:00.000000000 +0100
|
||||
--- binutils-2.43.orig/gas/testsuite/gas/i386/rela.s 2024-08-06 16:48:34.104745566 +0200
|
||||
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
@@ -1,14 +0,0 @@
|
||||
-# Note: This file is also used by an ld test case.
|
||||
@ -245,9 +245,9 @@ Index: binutils-2.42/gas/testsuite/gas/i386/rela.s
|
||||
-
|
||||
- .reloc l, BFD_RELOC_64, q
|
||||
- .reloc q, BFD_RELOC_32, l
|
||||
Index: binutils-2.42/ld/testsuite/ld-x86-64/rela.d
|
||||
Index: binutils-2.43/ld/testsuite/ld-x86-64/rela.d
|
||||
===================================================================
|
||||
--- binutils-2.42.orig/ld/testsuite/ld-x86-64/rela.d 2024-01-29 01:00:00.000000000 +0100
|
||||
--- binutils-2.43.orig/ld/testsuite/ld-x86-64/rela.d 2024-08-06 16:48:34.104745566 +0200
|
||||
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
@@ -1,10 +0,0 @@
|
||||
-#name: x86-64 rela relocs w/ non-zero relocated fields
|
||||
@ -260,11 +260,11 @@ Index: binutils-2.42/ld/testsuite/ld-x86-64/rela.d
|
||||
-
|
||||
-Contents of section .data:
|
||||
- *[0-9a-f]*0 .8 ?.. ?.. ?.. 00 ?00 ?00 ?00 .0 ?.. ?.. ?.. 44 ?44 ?44 ?44 .*
|
||||
Index: binutils-2.42/ld/testsuite/ld-x86-64/x86-64.exp
|
||||
Index: binutils-2.43/ld/testsuite/ld-x86-64/x86-64.exp
|
||||
===================================================================
|
||||
--- binutils-2.42.orig/ld/testsuite/ld-x86-64/x86-64.exp 2024-01-30 16:57:58.487327524 +0100
|
||||
+++ binutils-2.42/ld/testsuite/ld-x86-64/x86-64.exp 2024-01-30 17:55:13.480432003 +0100
|
||||
@@ -291,7 +291,6 @@ run_dump_test "apic"
|
||||
--- binutils-2.43.orig/ld/testsuite/ld-x86-64/x86-64.exp 2024-08-06 16:48:34.104745566 +0200
|
||||
+++ binutils-2.43/ld/testsuite/ld-x86-64/x86-64.exp 2024-08-06 16:48:36.554787135 +0200
|
||||
@@ -309,7 +309,6 @@ run_dump_test "apic"
|
||||
run_dump_test "pcrel8"
|
||||
run_dump_test "pcrel16"
|
||||
run_dump_test "pcrel16-2"
|
||||
@ -272,7 +272,7 @@ Index: binutils-2.42/ld/testsuite/ld-x86-64/x86-64.exp
|
||||
run_dump_test "tlsgd2"
|
||||
run_dump_test "tlsgd3"
|
||||
run_dump_test "tlsgd12"
|
||||
@@ -506,10 +505,10 @@ run_dump_test "pr27491-1c"
|
||||
@@ -524,10 +523,10 @@ run_dump_test "pr27491-1c"
|
||||
run_dump_test "pr27491-2"
|
||||
run_dump_test "pr27491-3"
|
||||
run_dump_test "pr27491-4"
|
||||
@ -287,11 +287,11 @@ Index: binutils-2.42/ld/testsuite/ld-x86-64/x86-64.exp
|
||||
run_dump_test "pr30787"
|
||||
run_dump_test "pr31047"
|
||||
run_dump_test "pr31047-x32"
|
||||
Index: binutils-2.42/binutils/testsuite/lib/binutils-common.exp
|
||||
Index: binutils-2.43/binutils/testsuite/lib/binutils-common.exp
|
||||
===================================================================
|
||||
--- binutils-2.42.orig/binutils/testsuite/lib/binutils-common.exp 2024-01-29 01:00:00.000000000 +0100
|
||||
+++ binutils-2.42/binutils/testsuite/lib/binutils-common.exp 2024-01-30 17:54:25.166311271 +0100
|
||||
@@ -449,6 +449,8 @@ proc supports_persistent_section {} {
|
||||
--- binutils-2.43.orig/binutils/testsuite/lib/binutils-common.exp 2024-08-06 16:48:34.104745566 +0200
|
||||
+++ binutils-2.43/binutils/testsuite/lib/binutils-common.exp 2024-08-06 16:48:36.554787135 +0200
|
||||
@@ -470,6 +470,8 @@ proc supports_persistent_section {} {
|
||||
|
||||
# Whether a target support DT_RELR sections.
|
||||
proc supports_dt_relr {} {
|
||||
@ -299,11 +299,11 @@ Index: binutils-2.42/binutils/testsuite/lib/binutils-common.exp
|
||||
+ return 0
|
||||
if { ([istarget x86_64-*-*]
|
||||
|| [istarget i?86-*-*]
|
||||
|| [istarget powerpc64*-*-*])
|
||||
Index: binutils-2.42/ld/emulparams/dt-relr.sh
|
||||
|| [istarget powerpc64*-*-*]
|
||||
Index: binutils-2.43/ld/emulparams/dt-relr.sh
|
||||
===================================================================
|
||||
--- binutils-2.42.orig/ld/emulparams/dt-relr.sh 2024-01-29 01:00:00.000000000 +0100
|
||||
+++ binutils-2.42/ld/emulparams/dt-relr.sh 2024-01-30 17:54:25.166311271 +0100
|
||||
--- binutils-2.43.orig/ld/emulparams/dt-relr.sh 2024-08-06 16:48:34.104745566 +0200
|
||||
+++ binutils-2.43/ld/emulparams/dt-relr.sh 2024-08-06 16:48:36.554787135 +0200
|
||||
@@ -1,3 +1,8 @@
|
||||
+if false; then
|
||||
+ # on old codestreams we don't have the DT_RELR support in the dynamic
|
||||
@ -319,10 +319,10 @@ Index: binutils-2.42/ld/emulparams/dt-relr.sh
|
||||
PARSE_AND_LIST_ARGS_CASE_Z="$PARSE_AND_LIST_ARGS_CASE_Z $PARSE_AND_LIST_ARGS_CASE_Z_PACK_RELATIVE_RELOCS"
|
||||
+
|
||||
+fi
|
||||
Index: binutils-2.42/ld/testsuite/ld-i386/i386.exp
|
||||
Index: binutils-2.43/ld/testsuite/ld-i386/i386.exp
|
||||
===================================================================
|
||||
--- binutils-2.42.orig/ld/testsuite/ld-i386/i386.exp 2024-01-29 01:00:00.000000000 +0100
|
||||
+++ binutils-2.42/ld/testsuite/ld-i386/i386.exp 2024-01-30 17:54:25.166311271 +0100
|
||||
--- binutils-2.43.orig/ld/testsuite/ld-i386/i386.exp 2024-08-06 16:48:34.104745566 +0200
|
||||
+++ binutils-2.43/ld/testsuite/ld-i386/i386.exp 2024-08-06 16:48:36.554787135 +0200
|
||||
@@ -507,8 +507,8 @@ run_dump_test "pr27491-1c"
|
||||
run_dump_test "pr27491-2"
|
||||
run_dump_test "pr27491-3"
|
||||
@ -334,10 +334,10 @@ Index: binutils-2.42/ld/testsuite/ld-i386/i386.exp
|
||||
run_dump_test "pr28870"
|
||||
run_dump_test "pr28894"
|
||||
run_dump_test "pr30787"
|
||||
Index: binutils-2.42/ld/testsuite/ld-powerpc/powerpc.exp
|
||||
Index: binutils-2.43/ld/testsuite/ld-powerpc/powerpc.exp
|
||||
===================================================================
|
||||
--- binutils-2.42.orig/ld/testsuite/ld-powerpc/powerpc.exp 2024-01-29 01:00:00.000000000 +0100
|
||||
+++ binutils-2.42/ld/testsuite/ld-powerpc/powerpc.exp 2024-01-30 17:54:25.166311271 +0100
|
||||
--- binutils-2.43.orig/ld/testsuite/ld-powerpc/powerpc.exp 2024-08-06 16:48:34.104745566 +0200
|
||||
+++ binutils-2.43/ld/testsuite/ld-powerpc/powerpc.exp 2024-08-06 16:48:36.554787135 +0200
|
||||
@@ -378,14 +378,14 @@ set ppc64elftests {
|
||||
"-a64" {abs-reloc.s}
|
||||
{{objdump {-sdr} abs-shared.d}
|
||||
@ -361,11 +361,11 @@ Index: binutils-2.42/ld/testsuite/ld-powerpc/powerpc.exp
|
||||
}
|
||||
|
||||
set ppceabitests {
|
||||
Index: binutils-2.42/gas/testsuite/gas/i386/x86-64.exp
|
||||
Index: binutils-2.43/gas/testsuite/gas/i386/x86-64.exp
|
||||
===================================================================
|
||||
--- binutils-2.42.orig/gas/testsuite/gas/i386/x86-64.exp 2024-01-29 01:00:00.000000000 +0100
|
||||
+++ binutils-2.42/gas/testsuite/gas/i386/x86-64.exp 2024-01-30 17:54:25.166311271 +0100
|
||||
@@ -628,7 +628,6 @@ if [is_elf_format] then {
|
||||
--- binutils-2.43.orig/gas/testsuite/gas/i386/x86-64.exp 2024-08-06 16:48:34.104745566 +0200
|
||||
+++ binutils-2.43/gas/testsuite/gas/i386/x86-64.exp 2024-08-06 16:48:36.554787135 +0200
|
||||
@@ -653,7 +653,6 @@ if [is_elf_format] then {
|
||||
run_list_test "reloc64" "--defsym _bad_=1"
|
||||
run_list_test "x86-64-inval-tls"
|
||||
run_dump_test "mixed-mode-reloc64"
|
||||
|
@ -42,7 +42,7 @@ Tue Aug 6 14:09:24 UTC 2024 - Michael Matz <matz@suse.com>
|
||||
* Removed binutils-2.42.tar.bz2, binutils-2.42-branch.diff.gz.
|
||||
* Added binutils-2.43.tar.bz2, binutils-2.43-branch.diff.gz.
|
||||
* Removed upstream patch riscv-no-relax.patch.
|
||||
* Rebased ld-relro.diff.
|
||||
* Rebased ld-relro.diff and binutils-revert-rela.diff.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 13 08:35:38 UTC 2024 - Andreas Schwab <schwab@suse.de>
|
||||
|
Loading…
Reference in New Issue
Block a user