- Fix bug in binutils.spec file that was causing the wrong linker flags to be used.

- Change the ld man page so that it says that --enable-new-dtags is the default.  (#2090818)
This commit is contained in:
yahmad 2022-06-09 00:06:59 +02:00
commit d00293da5e
3 changed files with 39 additions and 3 deletions

View file

@ -0,0 +1,29 @@
Only in binutils-2.37: binutils-update-linker-manual.patch
Only in binutils-2.37/ld: ld.1.orig
Only in binutils-2.37/ld: ld.1.rej
diff -rup binutils.orig/ld/ld.info binutils-2.37/ld/ld.info
--- binutils.orig/ld/ld.info 2022-06-08 17:11:56.281578073 +0200
+++ binutils-2.37/ld/ld.info 2022-06-08 17:13:14.784873487 +0200
@@ -2211,7 +2211,7 @@ GNU linker:
'--enable-new-dtags', the new dynamic tags will be created as
needed and older dynamic tags will be omitted. If you specify
'--disable-new-dtags', no new dynamic tags will be created. By
- default, the new dynamic tags are not created. Note that those
+ default, the new dynamic tags are created. Note that those
options are only available for ELF systems.
'--hash-size=NUMBER'
Only in binutils-2.37/ld: ld.info.orig
diff -rup binutils.orig/ld/ld.texi binutils-2.37/ld/ld.texi
--- binutils.orig/ld/ld.texi 2022-06-08 17:11:56.281578073 +0200
+++ binutils-2.37/ld/ld.texi 2022-06-08 17:13:14.788873503 +0200
@@ -2773,7 +2773,7 @@ systems may not understand them. If you
@option{--enable-new-dtags}, the new dynamic tags will be created as needed
and older dynamic tags will be omitted.
If you specify @option{--disable-new-dtags}, no new dynamic tags will be
-created. By default, the new dynamic tags are not created. Note that
+created. By default, the new dynamic tags are created. Note that
those options are only available for ELF systems.
@kindex --hash-size=@var{number}
Only in binutils-2.37/ld: ld.texi.orig

View file

@ -39,7 +39,7 @@
Summary: A GNU collection of binary utilities
Name: binutils%{?name_cross}%{?_with_debug:-debug}
Version: 2.37
Release: 19%{?dist}
Release: 20%{?dist}
License: GPLv3+
URL: https://sourceware.org/binutils
@ -324,6 +324,11 @@ Patch28: binutils-s390x-static-PIE.patch
# Lifetime: Fixed in 2.39
Patch29: binutils-link-following.patch
%if %{enable_new_dtags}
# Purpose: Change ld man page so that it says that --enable-new-dtags is the default.
# Lifetime: Permanent
Patch30: binutils-update-linker-manual.patch
%endif
#----------------------------------------------------------------------------
Provides: bundled(libiberty)
@ -942,7 +947,10 @@ exit 0
#----------------------------------------------------------------------------
%changelog
%changelog
* Wed Jun 8 2022 Yara Ahmad <yahmad@redhat.com> - 2.37-31
- Fix bug in binutils.spec file that was causing the wrong linker flags to be used.
- Change the ld man page so that it says that --enable-new-dtags is the default. (#2090818)
* Sat May 21 2022 Nick Clifton <nickc@redhat.comn> - 2.37-19
- Stop readelf and objdump from unnecessarily following links. (#2086863)

View file

@ -1,2 +1 @@
SHA512 (binutils-2.37.tar.xz) = 5c11aeef6935860a6819ed3a3c93371f052e52b4bdc5033da36037c1544d013b7f12cb8d561ec954fe7469a68f1b66f1a3cd53d5a3af7293635a90d69edd15e7
SHA512 (binutils-2.19.50.0.1-output-format.sed) = 2f8686b0c8af13c98cda056824c2820416f6e2d003f70b78ccf5314525b9ee3684d421dfa83e638a2d42d06ea4d4bdaf5226b64d6ec26f7ff59c44ffb2a23dd2