summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.rss32
-rw-r--r--ChangeLog.txt20
-rw-r--r--FILELIST.TXT251
-rw-r--r--README.initrd14
-rw-r--r--isolinux/message.txt2
-rw-r--r--kernels/VERSIONS.TXT2
-rwxr-xr-xrecompress.sh1
-rw-r--r--slackware64/a/maketag6
-rw-r--r--slackware64/a/maketag.ez6
-rw-r--r--slackware64/k/maketag2
-rw-r--r--slackware64/k/maketag.ez2
-rw-r--r--source/a/aaa_elflibs/symlinks-to-tracked-libs1
-rwxr-xr-xsource/a/e2fsprogs/e2fsprogs.SlackBuild3
-rwxr-xr-xsource/a/sysklogd/sysklogd.SlackBuild2
-rwxr-xr-xsource/d/binutils/binutils.SlackBuild19
-rw-r--r--source/d/binutils/patches/0001-ELF-Don-t-generate-unused-section-symbols.patch3939
-rw-r--r--source/d/binutils/patches/binutils.no-config-h-check.diff20
-rwxr-xr-xsource/d/oprofile/oprofile.SlackBuild2
-rw-r--r--source/k/kernel-configs/config-generic-5.10.12 (renamed from source/k/kernel-configs/config-generic-5.10.11)2
-rw-r--r--source/k/kernel-configs/config-generic-5.10.12.x64 (renamed from source/k/kernel-configs/config-generic-5.10.11.x64)2
-rw-r--r--source/k/kernel-configs/config-generic-smp-5.10.12-smp (renamed from source/k/kernel-configs/config-generic-smp-5.10.11-smp)2
-rw-r--r--source/k/kernel-configs/config-huge-5.10.12 (renamed from source/k/kernel-configs/config-huge-5.10.11)2
-rw-r--r--source/k/kernel-configs/config-huge-5.10.12.x64 (renamed from source/k/kernel-configs/config-huge-5.10.11.x64)2
-rw-r--r--source/k/kernel-configs/config-huge-smp-5.10.12-smp (renamed from source/k/kernel-configs/config-huge-smp-5.10.11-smp)2
-rwxr-xr-xsource/l/gd/gd.SlackBuild2
-rwxr-xr-xsource/l/libwebp/libwebp.SlackBuild2
-rwxr-xr-xsource/l/python-packaging/python-packaging.SlackBuild2
-rw-r--r--source/x/FTBFSlog5
-rwxr-xr-xsource/x/fcitx-libpinyin/fcitx-libpinyin.SlackBuild15
29 files changed, 231 insertions, 4131 deletions
diff --git a/ChangeLog.rss b/ChangeLog.rss
index 15c14c4a..dce7aba2 100644
--- a/ChangeLog.rss
+++ b/ChangeLog.rss
@@ -11,10 +11,38 @@
<description>Tracking Slackware development in git.</description>
<language>en-us</language>
<id xmlns="http://www.w3.org/2005/Atom">urn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f</id>
- <pubDate>Fri, 29 Jan 2021 20:26:57 GMT</pubDate>
- <lastBuildDate>Sat, 30 Jan 2021 07:59:42 GMT</lastBuildDate>
+ <pubDate>Sat, 30 Jan 2021 21:55:04 GMT</pubDate>
+ <lastBuildDate>Sun, 31 Jan 2021 07:59:43 GMT</lastBuildDate>
<generator>maintain_current_git.sh v 1.12</generator>
<item>
+ <title>Sat, 30 Jan 2021 21:55:04 GMT</title>
+ <pubDate>Sat, 30 Jan 2021 21:55:04 GMT</pubDate>
+ <link>https://git.slackware.nl/current/tag/?h=20210130215504</link>
+ <guid isPermaLink="false">20210130215504</guid>
+ <description>
+ <![CDATA[<pre>
+a/e2fsprogs-1.46.0-x86_64-1.txz: Upgraded.
+a/kernel-generic-5.10.12-x86_64-1.txz: Upgraded.
+a/kernel-huge-5.10.12-x86_64-1.txz: Upgraded.
+a/kernel-modules-5.10.12-x86_64-1.txz: Upgraded.
+a/sysklogd-2.2.1-x86_64-1.txz: Upgraded.
+d/binutils-2.35.2-x86_64-1.txz: Upgraded.
+ We're probably better off with this branch for now.
+d/kernel-headers-5.10.12-x86-1.txz: Upgraded.
+d/oprofile-1.4.0-x86_64-5.txz: Rebuilt.
+ Recompiled against binutils-2.35.2.
+k/kernel-source-5.10.12-noarch-1.txz: Upgraded.
+l/gd-2.3.1-x86_64-1.txz: Upgraded.
+l/libwebp-1.2.0-x86_64-1.txz: Upgraded.
+l/python-packaging-20.9-x86_64-1.txz: Upgraded.
+x/fcitx-libpinyin-0.5.4-x86_64-1.txz: Upgraded.
+isolinux/initrd.img: Rebuilt.
+kernels/*: Upgraded.
+usb-and-pxe-installers/usbboot.img: Rebuilt.
+ </pre>]]>
+ </description>
+ </item>
+ <item>
<title>Fri, 29 Jan 2021 20:26:57 GMT</title>
<pubDate>Fri, 29 Jan 2021 20:26:57 GMT</pubDate>
<link>https://git.slackware.nl/current/tag/?h=20210129202657</link>
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 0c432f6f..6d5db033 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,23 @@
+Sat Jan 30 21:55:04 UTC 2021
+a/e2fsprogs-1.46.0-x86_64-1.txz: Upgraded.
+a/kernel-generic-5.10.12-x86_64-1.txz: Upgraded.
+a/kernel-huge-5.10.12-x86_64-1.txz: Upgraded.
+a/kernel-modules-5.10.12-x86_64-1.txz: Upgraded.
+a/sysklogd-2.2.1-x86_64-1.txz: Upgraded.
+d/binutils-2.35.2-x86_64-1.txz: Upgraded.
+ We're probably better off with this branch for now.
+d/kernel-headers-5.10.12-x86-1.txz: Upgraded.
+d/oprofile-1.4.0-x86_64-5.txz: Rebuilt.
+ Recompiled against binutils-2.35.2.
+k/kernel-source-5.10.12-noarch-1.txz: Upgraded.
+l/gd-2.3.1-x86_64-1.txz: Upgraded.
+l/libwebp-1.2.0-x86_64-1.txz: Upgraded.
+l/python-packaging-20.9-x86_64-1.txz: Upgraded.
+x/fcitx-libpinyin-0.5.4-x86_64-1.txz: Upgraded.
+isolinux/initrd.img: Rebuilt.
+kernels/*: Upgraded.
+usb-and-pxe-installers/usbboot.img: Rebuilt.
++--------------------------+
Fri Jan 29 20:26:57 UTC 2021
a/e2fsprogs-1.45.7-x86_64-1.txz: Upgraded.
n/libgcrypt-1.9.1-x86_64-1.txz: Upgraded.
diff --git a/FILELIST.TXT b/FILELIST.TXT
index 1f25c780..9c1e3167 100644
--- a/FILELIST.TXT
+++ b/FILELIST.TXT
@@ -1,35 +1,35 @@
-Fri Jan 29 20:44:40 UTC 2021
+Sat Jan 30 21:58:50 UTC 2021
Here is the file list for this directory. If you are using a
mirror site and find missing or extra files in the disk
subdirectories, please have the archive administrator refresh
the mirror.
-drwxr-xr-x 12 root root 4096 2021-01-29 20:30 .
+drwxr-xr-x 12 root root 4096 2021-01-30 21:55 .
-rw-r--r-- 1 root root 10064 2016-06-30 18:39 ./ANNOUNCE.14_2
-rw-r--r-- 1 root root 14842 2020-12-27 02:09 ./CHANGES_AND_HINTS.TXT
--rw-r--r-- 1 root root 1059475 2021-01-29 20:30 ./CHECKSUMS.md5
--rw-r--r-- 1 root root 163 2021-01-29 20:30 ./CHECKSUMS.md5.asc
+-rw-r--r-- 1 root root 1059475 2021-01-29 20:44 ./CHECKSUMS.md5
+-rw-r--r-- 1 root root 163 2021-01-29 20:44 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 17976 1994-06-10 02:28 ./COPYING
-rw-r--r-- 1 root root 35147 2007-06-30 04:21 ./COPYING3
-rw-r--r-- 1 root root 19573 2016-06-23 20:08 ./COPYRIGHT.TXT
-rw-r--r-- 1 root root 616 2006-10-02 04:37 ./CRYPTO_NOTICE.TXT
--rw-r--r-- 1 root root 1272797 2021-01-29 20:26 ./ChangeLog.txt
+-rw-r--r-- 1 root root 1273634 2021-01-30 21:55 ./ChangeLog.txt
drwxr-xr-x 3 root root 4096 2013-03-20 22:17 ./EFI
-drwxr-xr-x 2 root root 4096 2021-01-27 20:43 ./EFI/BOOT
+drwxr-xr-x 2 root root 4096 2021-01-30 21:54 ./EFI/BOOT
-rw-r--r-- 1 root root 1417216 2019-07-05 18:54 ./EFI/BOOT/bootx64.efi
-rw-r--r-- 1 root root 78 2013-09-23 20:35 ./EFI/BOOT/grub-embedded.cfg
-rw-r--r-- 1 root root 893 2018-04-17 21:17 ./EFI/BOOT/grub.cfg
--rw-r--r-- 2 root root 10583840 2021-01-27 20:00 ./EFI/BOOT/huge.s
--rw-r--r-- 2 root root 47802924 2021-01-27 20:42 ./EFI/BOOT/initrd.img
+-rw-r--r-- 2 root root 10581504 2021-01-30 21:09 ./EFI/BOOT/huge.s
+-rw-r--r-- 2 root root 47824092 2021-01-30 21:54 ./EFI/BOOT/initrd.img
-rwxr-xr-x 1 root root 2504 2019-07-05 18:54 ./EFI/BOOT/make-grub.sh
-rw-r--r-- 1 root root 10722 2013-09-21 19:02 ./EFI/BOOT/osdetect.cfg
-rw-r--r-- 1 root root 1273 2013-08-12 21:08 ./EFI/BOOT/tools.cfg
--rw-r--r-- 1 root root 1381359 2021-01-29 20:29 ./FILELIST.TXT
+-rw-r--r-- 1 root root 1381359 2021-01-29 20:44 ./FILELIST.TXT
-rw-r--r-- 1 root root 1572 2012-08-29 18:27 ./GPG-KEY
--rw-r--r-- 1 root root 840847 2021-01-29 20:29 ./PACKAGES.TXT
+-rw-r--r-- 1 root root 840849 2021-01-30 21:58 ./PACKAGES.TXT
-rw-r--r-- 1 root root 8564 2016-06-28 21:33 ./README.TXT
--rw-r--r-- 1 root root 3635 2021-01-27 20:33 ./README.initrd
+-rw-r--r-- 1 root root 3635 2021-01-30 21:45 ./README.initrd
-rw-r--r-- 1 root root 34412 2017-12-01 17:44 ./README_CRYPT.TXT
-rw-r--r-- 1 root root 8751 2016-06-28 21:44 ./README_LVM.TXT
-rw-r--r-- 1 root root 19658 2013-06-18 04:34 ./README_RAID.TXT
@@ -640,16 +640,16 @@ drwxr-xr-x 2 root root 4096 2019-10-18 18:28 ./extra/xv
-rw-r--r-- 1 root root 233 2018-04-13 18:00 ./extra/xv/xv-3.10a-x86_64-9.txt
-rw-r--r-- 1 root root 953308 2018-04-13 18:00 ./extra/xv/xv-3.10a-x86_64-9.txz
-rw-r--r-- 1 root root 163 2018-04-13 18:00 ./extra/xv/xv-3.10a-x86_64-9.txz.asc
-drwxr-xr-x 3 root root 4096 2021-01-27 20:43 ./isolinux
+drwxr-xr-x 3 root root 4096 2021-01-30 21:54 ./isolinux
-rw-r--r-- 1 root root 6183 2017-11-18 18:47 ./isolinux/README.TXT
-rw-r--r-- 1 root root 788 2007-03-17 19:50 ./isolinux/README_SPLIT.TXT
-rw-r--r-- 1 root root 1474560 2019-07-05 18:54 ./isolinux/efiboot.img
-rw-r--r-- 1 root root 574 2013-10-24 00:19 ./isolinux/f2.txt
--rw-r--r-- 2 root root 47802924 2021-01-27 20:42 ./isolinux/initrd.img
+-rw-r--r-- 2 root root 47824092 2021-01-30 21:54 ./isolinux/initrd.img
-rw-r--r-- 1 root root 50 2003-01-18 00:02 ./isolinux/iso.sort
-rw-r--r-- 1 root root 24576 2016-05-27 20:36 ./isolinux/isolinux.bin
-rw-r--r-- 1 root root 578 2013-03-27 03:29 ./isolinux/isolinux.cfg
--rw-r--r-- 1 root root 683 2021-01-28 20:07 ./isolinux/message.txt
+-rw-r--r-- 1 root root 683 2021-01-30 21:45 ./isolinux/message.txt
drwxr-xr-x 2 root root 4096 2003-03-17 07:31 ./isolinux/sbootmgr
-rwxr-xr-x 1 root root 36064 1995-05-12 01:23 ./isolinux/sbootmgr/RAWRITE.EXE
-rw-r--r-- 1 root root 2138 1997-12-01 01:21 ./isolinux/sbootmgr/RAWRITE12.DOC
@@ -660,12 +660,12 @@ lrwxrwxrwx 1 root root 11 2009-08-23 23:37 ./isolinux/sbootmgr/RAWRITE13
-rw-r--r-- 1 root root 1291 2003-03-17 07:31 ./isolinux/sbootmgr/README.TXT
-rw-r--r-- 1 root root 110592 2003-03-16 08:38 ./isolinux/sbootmgr/sbootmgr.dsk
-rw-r--r-- 1 root root 2879 2020-12-07 20:48 ./isolinux/setpkg
-drwxr-xr-x 5 root root 4096 2021-01-27 20:33 ./kernels
--rw-r--r-- 1 root root 37 2021-01-27 20:33 ./kernels/VERSIONS.TXT
-drwxr-xr-x 2 root root 4096 2021-01-27 20:00 ./kernels/huge.s
--rw-r--r-- 1 root root 1261516 2021-01-27 20:00 ./kernels/huge.s/System.map.gz
--rw-r--r-- 2 root root 10583840 2021-01-27 20:00 ./kernels/huge.s/bzImage
--rw-r--r-- 1 root root 230264 2021-01-27 18:39 ./kernels/huge.s/config
+drwxr-xr-x 5 root root 4096 2021-01-30 21:45 ./kernels
+-rw-r--r-- 1 root root 37 2021-01-30 21:45 ./kernels/VERSIONS.TXT
+drwxr-xr-x 2 root root 4096 2021-01-30 21:09 ./kernels/huge.s
+-rw-r--r-- 1 root root 1261487 2021-01-30 21:08 ./kernels/huge.s/System.map.gz
+-rw-r--r-- 2 root root 10581504 2021-01-30 21:09 ./kernels/huge.s/bzImage
+-rw-r--r-- 1 root root 230264 2021-01-30 21:07 ./kernels/huge.s/config
drwxr-xr-x 2 root root 4096 2011-03-25 03:15 ./kernels/memtest
-rw-r--r-- 1 root root 60 2011-03-24 00:19 ./kernels/memtest/README
-rw-r--r-- 1 root root 150024 2013-10-17 04:15 ./kernels/memtest/memtest
@@ -710,13 +710,13 @@ drwxr-xr-x 2 root root 4096 2012-09-20 18:06 ./patches
-rw-r--r-- 1 root root 575 2012-09-20 18:06 ./patches/FILE_LIST
-rw-r--r-- 1 root root 14 2012-09-20 18:06 ./patches/MANIFEST.bz2
-rw-r--r-- 1 root root 224 2012-09-20 18:06 ./patches/PACKAGES.TXT
-drwxr-xr-x 17 root root 4096 2021-01-29 20:29 ./slackware64
--rw-r--r-- 1 root root 328952 2021-01-29 20:29 ./slackware64/CHECKSUMS.md5
--rw-r--r-- 1 root root 163 2021-01-29 20:29 ./slackware64/CHECKSUMS.md5.asc
--rw-r--r-- 1 root root 408297 2021-01-29 20:28 ./slackware64/FILE_LIST
--rw-r--r-- 1 root root 3966245 2021-01-29 20:29 ./slackware64/MANIFEST.bz2
+drwxr-xr-x 17 root root 4096 2021-01-30 21:58 ./slackware64
+-rw-r--r-- 1 root root 328958 2021-01-30 21:58 ./slackware64/CHECKSUMS.md5
+-rw-r--r-- 1 root root 163 2021-01-30 21:58 ./slackware64/CHECKSUMS.md5.asc
+-rw-r--r-- 1 root root 408303 2021-01-30 21:57 ./slackware64/FILE_LIST
+-rw-r--r-- 1 root root 3958362 2021-01-30 21:57 ./slackware64/MANIFEST.bz2
lrwxrwxrwx 1 root root 15 2009-08-23 23:34 ./slackware64/PACKAGES.TXT -> ../PACKAGES.TXT
-drwxr-xr-x 2 root root 24576 2021-01-29 20:28 ./slackware64/a
+drwxr-xr-x 2 root root 24576 2021-01-30 21:57 ./slackware64/a
-rw-r--r-- 1 root root 327 2021-01-20 23:06 ./slackware64/a/aaa_base-14.2-x86_64-6.txt
-rw-r--r-- 1 root root 10804 2021-01-20 23:06 ./slackware64/a/aaa_base-14.2-x86_64-6.txz
-rw-r--r-- 1 root root 163 2021-01-20 23:06 ./slackware64/a/aaa_base-14.2-x86_64-6.txz.asc
@@ -777,9 +777,9 @@ drwxr-xr-x 2 root root 24576 2021-01-29 20:28 ./slackware64/a
-rw-r--r-- 1 root root 336 2021-01-20 23:10 ./slackware64/a/dosfstools-4.1-x86_64-3.txt
-rw-r--r-- 1 root root 76932 2021-01-20 23:10 ./slackware64/a/dosfstools-4.1-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-01-20 23:10 ./slackware64/a/dosfstools-4.1-x86_64-3.txz.asc
--rw-r--r-- 1 root root 404 2021-01-29 18:26 ./slackware64/a/e2fsprogs-1.45.7-x86_64-1.txt
--rw-r--r-- 1 root root 1189440 2021-01-29 18:26 ./slackware64/a/e2fsprogs-1.45.7-x86_64-1.txz
--rw-r--r-- 1 root root 163 2021-01-29 18:26 ./slackware64/a/e2fsprogs-1.45.7-x86_64-1.txz.asc
+-rw-r--r-- 1 root root 404 2021-01-30 19:44 ./slackware64/a/e2fsprogs-1.46.0-x86_64-1.txt
+-rw-r--r-- 1 root root 1205960 2021-01-30 19:44 ./slackware64/a/e2fsprogs-1.46.0-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2021-01-30 19:44 ./slackware64/a/e2fsprogs-1.46.0-x86_64-1.txz.asc
-rw-r--r-- 1 root root 350 2021-01-20 23:10 ./slackware64/a/ed-1.17-x86_64-2.txt
-rw-r--r-- 1 root root 62600 2021-01-20 23:10 ./slackware64/a/ed-1.17-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-01-20 23:10 ./slackware64/a/ed-1.17-x86_64-2.txz.asc
@@ -881,15 +881,15 @@ drwxr-xr-x 2 root root 24576 2021-01-29 20:28 ./slackware64/a
-rw-r--r-- 1 root root 422 2021-01-20 01:22 ./slackware64/a/kernel-firmware-20210119_0578970-noarch-1.txt
-rw-r--r-- 1 root root 137065440 2021-01-20 01:22 ./slackware64/a/kernel-firmware-20210119_0578970-noarch-1.txz
-rw-r--r-- 1 root root 163 2021-01-20 01:22 ./slackware64/a/kernel-firmware-20210119_0578970-noarch-1.txz.asc
--rw-r--r-- 1 root root 624 2021-01-27 20:01 ./slackware64/a/kernel-generic-5.10.11-x86_64-1.txt
--rw-r--r-- 1 root root 7754348 2021-01-27 20:01 ./slackware64/a/kernel-generic-5.10.11-x86_64-1.txz
--rw-r--r-- 1 root root 163 2021-01-27 20:01 ./slackware64/a/kernel-generic-5.10.11-x86_64-1.txz.asc
--rw-r--r-- 1 root root 636 2021-01-27 20:00 ./slackware64/a/kernel-huge-5.10.11-x86_64-1.txt
--rw-r--r-- 1 root root 11468960 2021-01-27 20:00 ./slackware64/a/kernel-huge-5.10.11-x86_64-1.txz
--rw-r--r-- 1 root root 163 2021-01-27 20:00 ./slackware64/a/kernel-huge-5.10.11-x86_64-1.txz.asc
--rw-r--r-- 1 root root 567 2021-01-27 20:04 ./slackware64/a/kernel-modules-5.10.11-x86_64-1.txt
--rw-r--r-- 1 root root 47261540 2021-01-27 20:04 ./slackware64/a/kernel-modules-5.10.11-x86_64-1.txz
--rw-r--r-- 1 root root 163 2021-01-27 20:04 ./slackware64/a/kernel-modules-5.10.11-x86_64-1.txz.asc
+-rw-r--r-- 1 root root 624 2021-01-30 21:09 ./slackware64/a/kernel-generic-5.10.12-x86_64-1.txt
+-rw-r--r-- 1 root root 7754804 2021-01-30 21:09 ./slackware64/a/kernel-generic-5.10.12-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2021-01-30 21:09 ./slackware64/a/kernel-generic-5.10.12-x86_64-1.txz.asc
+-rw-r--r-- 1 root root 636 2021-01-30 21:09 ./slackware64/a/kernel-huge-5.10.12-x86_64-1.txt
+-rw-r--r-- 1 root root 11466480 2021-01-30 21:09 ./slackware64/a/kernel-huge-5.10.12-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2021-01-30 21:09 ./slackware64/a/kernel-huge-5.10.12-x86_64-1.txz.asc
+-rw-r--r-- 1 root root 567 2021-01-30 21:13 ./slackware64/a/kernel-modules-5.10.12-x86_64-1.txt
+-rw-r--r-- 1 root root 47272632 2021-01-30 21:13 ./slackware64/a/kernel-modules-5.10.12-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2021-01-30 21:13 ./slackware64/a/kernel-modules-5.10.12-x86_64-1.txz.asc
-rw-r--r-- 1 root root 508 2021-01-20 23:21 ./slackware64/a/kmod-28-x86_64-2.txt
-rw-r--r-- 1 root root 114496 2021-01-20 23:21 ./slackware64/a/kmod-28-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-01-20 23:21 ./slackware64/a/kmod-28-x86_64-2.txz.asc
@@ -935,8 +935,8 @@ drwxr-xr-x 2 root root 24576 2021-01-29 20:28 ./slackware64/a
-rw-r--r-- 1 root root 405 2021-01-20 23:23 ./slackware64/a/lzlib-1.12-x86_64-2.txt
-rw-r--r-- 1 root root 57756 2021-01-20 23:23 ./slackware64/a/lzlib-1.12-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-01-20 23:23 ./slackware64/a/lzlib-1.12-x86_64-2.txz.asc
--rw-r--r-- 1 root root 9785 2021-01-27 20:33 ./slackware64/a/maketag
--rw-r--r-- 1 root root 9785 2021-01-27 20:33 ./slackware64/a/maketag.ez
+-rw-r--r-- 1 root root 9785 2021-01-30 21:45 ./slackware64/a/maketag
+-rw-r--r-- 1 root root 9785 2021-01-30 21:45 ./slackware64/a/maketag.ez
-rw-r--r-- 1 root root 591 2021-01-20 23:23 ./slackware64/a/mcelog-175-x86_64-2.txt
-rw-r--r-- 1 root root 345316 2021-01-20 23:23 ./slackware64/a/mcelog-175-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-01-20 23:23 ./slackware64/a/mcelog-175-x86_64-2.txz.asc
@@ -1027,9 +1027,9 @@ drwxr-xr-x 2 root root 24576 2021-01-29 20:28 ./slackware64/a
-rw-r--r-- 1 root root 543 2021-01-20 23:29 ./slackware64/a/sysfsutils-2.1.0-x86_64-3.txt
-rw-r--r-- 1 root root 39576 2021-01-20 23:29 ./slackware64/a/sysfsutils-2.1.0-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-01-20 23:29 ./slackware64/a/sysfsutils-2.1.0-x86_64-3.txz.asc
--rw-r--r-- 1 root root 519 2021-01-20 23:29 ./slackware64/a/sysklogd-2.2.0-x86_64-2.txt
--rw-r--r-- 1 root root 62232 2021-01-20 23:29 ./slackware64/a/sysklogd-2.2.0-x86_64-2.txz
--rw-r--r-- 1 root root 163 2021-01-20 23:29 ./slackware64/a/sysklogd-2.2.0-x86_64-2.txz.asc
+-rw-r--r-- 1 root root 519 2021-01-30 19:50 ./slackware64/a/sysklogd-2.2.1-x86_64-1.txt
+-rw-r--r-- 1 root root 62684 2021-01-30 19:50 ./slackware64/a/sysklogd-2.2.1-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2021-01-30 19:50 ./slackware64/a/sysklogd-2.2.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 517 2021-01-20 23:30 ./slackware64/a/syslinux-4.07-x86_64-3.txt
-rw-r--r-- 1 root root 911164 2021-01-20 23:30 ./slackware64/a/syslinux-4.07-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-01-20 23:30 ./slackware64/a/syslinux-4.07-x86_64-3.txz.asc
@@ -1042,7 +1042,7 @@ drwxr-xr-x 2 root root 24576 2021-01-29 20:28 ./slackware64/a
-rw-r--r-- 1 root root 378 2021-01-20 23:30 ./slackware64/a/sysvinit-scripts-2.1-noarch-38.txt
-rw-r--r-- 1 root root 22492 2021-01-20 23:30 ./slackware64/a/sysvinit-scripts-2.1-noarch-38.txz
-rw-r--r-- 1 root root 163 2021-01-20 23:30 ./slackware64/a/sysvinit-scripts-2.1-noarch-38.txz.asc
--rw-r--r-- 1 root root 1528 2021-01-27 20:33 ./slackware64/a/tagfile
+-rw-r--r-- 1 root root 1528 2021-01-30 21:45 ./slackware64/a/tagfile
-rw-r--r-- 1 root root 395 2021-01-20 23:31 ./slackware64/a/tar-1.33-x86_64-2.txt
-rw-r--r-- 1 root root 850308 2021-01-20 23:31 ./slackware64/a/tar-1.33-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-01-20 23:31 ./slackware64/a/tar-1.33-x86_64-2.txz.asc
@@ -1352,7 +1352,7 @@ drwxr-xr-x 2 root root 20480 2021-01-26 21:25 ./slackware64/ap
-rw-r--r-- 1 root root 506 2021-01-21 00:02 ./slackware64/ap/zsh-5.8-x86_64-2.txt
-rw-r--r-- 1 root root 3056384 2021-01-21 00:02 ./slackware64/ap/zsh-5.8-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-01-21 00:02 ./slackware64/ap/zsh-5.8-x86_64-2.txz.asc
-drwxr-xr-x 2 root root 16384 2021-01-28 21:10 ./slackware64/d
+drwxr-xr-x 2 root root 16384 2021-01-30 21:57 ./slackware64/d
-rw-r--r-- 1 root root 360 2021-01-20 21:50 ./slackware64/d/Cython-0.29.21-x86_64-3.txt
-rw-r--r-- 1 root root 2382952 2021-01-20 21:50 ./slackware64/d/Cython-0.29.21-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-01-20 21:50 ./slackware64/d/Cython-0.29.21-x86_64-3.txz.asc
@@ -1365,9 +1365,9 @@ drwxr-xr-x 2 root root 16384 2021-01-28 21:10 ./slackware64/d
-rw-r--r-- 1 root root 621 2021-01-20 21:51 ./slackware64/d/automake-1.16.2-noarch-2.txt
-rw-r--r-- 1 root root 646656 2021-01-20 21:51 ./slackware64/d/automake-1.16.2-noarch-2.txz
-rw-r--r-- 1 root root 163 2021-01-20 21:51 ./slackware64/d/automake-1.16.2-noarch-2.txz.asc
--rw-r--r-- 1 root root 442 2021-01-26 19:51 ./slackware64/d/binutils-2.36-x86_64-2.txt
--rw-r--r-- 1 root root 5246964 2021-01-26 19:51 ./slackware64/d/binutils-2.36-x86_64-2.txz
--rw-r--r-- 1 root root 163 2021-01-26 19:51 ./slackware64/d/binutils-2.36-x86_64-2.txz.asc
+-rw-r--r-- 1 root root 442 2021-01-30 19:58 ./slackware64/d/binutils-2.35.2-x86_64-1.txt
+-rw-r--r-- 1 root root 5137872 2021-01-30 19:58 ./slackware64/d/binutils-2.35.2-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2021-01-30 19:58 ./slackware64/d/binutils-2.35.2-x86_64-1.txz.asc
-rw-r--r-- 1 root root 513 2021-01-24 19:11 ./slackware64/d/bison-3.7.5-x86_64-1.txt
-rw-r--r-- 1 root root 686496 2021-01-24 19:11 ./slackware64/d/bison-3.7.5-x86_64-1.txz
-rw-r--r-- 1 root root 163 2021-01-24 19:11 ./slackware64/d/bison-3.7.5-x86_64-1.txz.asc
@@ -1460,9 +1460,9 @@ drwxr-xr-x 2 root root 16384 2021-01-28 21:10 ./slackware64/d
-rw-r--r-- 1 root root 279 2021-01-20 22:09 ./slackware64/d/intltool-0.51.0-x86_64-5.txt
-rw-r--r-- 1 root root 48032 2021-01-20 22:09 ./slackware64/d/intltool-0.51.0-x86_64-5.txz
-rw-r--r-- 1 root root 163 2021-01-20 22:09 ./slackware64/d/intltool-0.51.0-x86_64-5.txz.asc
--rw-r--r-- 1 root root 332 2021-01-27 20:05 ./slackware64/d/kernel-headers-5.10.11-x86-1.txt
--rw-r--r-- 1 root root 1027020 2021-01-27 20:05 ./slackware64/d/kernel-headers-5.10.11-x86-1.txz
--rw-r--r-- 1 root root 163 2021-01-27 20:05 ./slackware64/d/kernel-headers-5.10.11-x86-1.txz.asc
+-rw-r--r-- 1 root root 332 2021-01-30 21:13 ./slackware64/d/kernel-headers-5.10.12-x86-1.txt
+-rw-r--r-- 1 root root 1027032 2021-01-30 21:13 ./slackware64/d/kernel-headers-5.10.12-x86-1.txz
+-rw-r--r-- 1 root root 163 2021-01-30 21:13 ./slackware64/d/kernel-headers-5.10.12-x86-1.txz.asc
-rw-r--r-- 1 root root 498 2021-01-20 22:09 ./slackware64/d/libtool-2.4.6-x86_64-15.txt
-rw-r--r-- 1 root root 428324 2021-01-20 22:09 ./slackware64/d/libtool-2.4.6-x86_64-15.txz
-rw-r--r-- 1 root root 163 2021-01-20 22:09 ./slackware64/d/libtool-2.4.6-x86_64-15.txz.asc
@@ -1492,9 +1492,9 @@ drwxr-xr-x 2 root root 16384 2021-01-28 21:10 ./slackware64/d
-rw-r--r-- 1 root root 307 2021-01-20 22:51 ./slackware64/d/opencl-headers-2.2-noarch-3.txt
-rw-r--r-- 1 root root 70904 2021-01-20 22:51 ./slackware64/d/opencl-headers-2.2-noarch-3.txz
-rw-r--r-- 1 root root 163 2021-01-20 22:51 ./slackware64/d/opencl-headers-2.2-noarch-3.txz.asc
--rw-r--r-- 1 root root 546 2021-01-24 19:11 ./slackware64/d/oprofile-1.4.0-x86_64-4.txt
--rw-r--r-- 1 root root 846552 2021-01-24 19:11 ./slackware64/d/oprofile-1.4.0-x86_64-4.txz
--rw-r--r-- 1 root root 163 2021-01-24 19:11 ./slackware64/d/oprofile-1.4.0-x86_64-4.txz.asc
+-rw-r--r-- 1 root root 546 2021-01-30 21:37 ./slackware64/d/oprofile-1.4.0-x86_64-5.txt
+-rw-r--r-- 1 root root 847088 2021-01-30 21:37 ./slackware64/d/oprofile-1.4.0-x86_64-5.txz
+-rw-r--r-- 1 root root 163 2021-01-30 21:37 ./slackware64/d/oprofile-1.4.0-x86_64-5.txz.asc
-rw-r--r-- 1 root root 543 2021-01-20 22:52 ./slackware64/d/p2c-2.01-x86_64-2.txt
-rw-r--r-- 1 root root 306792 2021-01-20 22:52 ./slackware64/d/p2c-2.01-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-01-20 22:52 ./slackware64/d/p2c-2.01-x86_64-2.txz.asc
@@ -1589,15 +1589,15 @@ drwxr-xr-x 2 root root 4096 2016-04-01 21:41 ./slackware64/f
-rw-r--r-- 1 root root 1075 2018-03-01 07:54 ./slackware64/f/maketag
-rw-r--r-- 1 root root 1075 2018-03-01 07:54 ./slackware64/f/maketag.ez
-rw-r--r-- 1 root root 32 2018-03-01 07:54 ./slackware64/f/tagfile
-drwxr-xr-x 2 root root 4096 2021-01-27 20:46 ./slackware64/k
+drwxr-xr-x 2 root root 4096 2021-01-30 21:57 ./slackware64/k
-rwxr-xr-x 1 root root 2897 2009-06-24 22:06 ./slackware64/k/install-packages
-rw-r--r-- 1 root root 446 2006-09-18 10:41 ./slackware64/k/install.end
--rw-r--r-- 1 root root 317 2021-01-27 19:57 ./slackware64/k/kernel-source-5.10.11-noarch-1.txt
--rw-r--r-- 1 root root 117302340 2021-01-27 19:57 ./slackware64/k/kernel-source-5.10.11-noarch-1.txz
--rw-r--r-- 1 root root 163 2021-01-27 19:57 ./slackware64/k/kernel-source-5.10.11-noarch-1.txz.asc
--rw-r--r-- 1 root root 1171 2021-01-27 20:33 ./slackware64/k/maketag
--rw-r--r-- 1 root root 1171 2021-01-27 20:33 ./slackware64/k/maketag.ez
--rw-r--r-- 1 root root 18 2021-01-27 20:33 ./slackware64/k/tagfile
+-rw-r--r-- 1 root root 317 2021-01-30 21:06 ./slackware64/k/kernel-source-5.10.12-noarch-1.txt
+-rw-r--r-- 1 root root 117302424 2021-01-30 21:06 ./slackware64/k/kernel-source-5.10.12-noarch-1.txz
+-rw-r--r-- 1 root root 163 2021-01-30 21:06 ./slackware64/k/kernel-source-5.10.12-noarch-1.txz.asc
+-rw-r--r-- 1 root root 1171 2021-01-30 21:45 ./slackware64/k/maketag
+-rw-r--r-- 1 root root 1171 2021-01-30 21:45 ./slackware64/k/maketag.ez
+-rw-r--r-- 1 root root 18 2021-01-30 21:45 ./slackware64/k/tagfile
drwxr-xr-x 2 root root 77824 2021-01-22 19:29 ./slackware64/kde
-rw-r--r-- 1 root root 382 2021-01-21 04:32 ./slackware64/kde/akonadi-20.12.1-x86_64-2.txt
-rw-r--r-- 1 root root 2417848 2021-01-21 04:32 ./slackware64/kde/akonadi-20.12.1-x86_64-2.txz
@@ -2687,7 +2687,7 @@ drwxr-xr-x 2 root root 77824 2021-01-22 19:29 ./slackware64/kde
-rw-r--r-- 1 root root 296 2021-01-21 05:22 ./slackware64/kde/zeroconf-ioslave-20.12.1-x86_64-2.txt
-rw-r--r-- 1 root root 52464 2021-01-21 05:22 ./slackware64/kde/zeroconf-ioslave-20.12.1-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-01-21 05:22 ./slackware64/kde/zeroconf-ioslave-20.12.1-x86_64-2.txz.asc
-drwxr-xr-x 2 root root 73728 2021-01-28 21:10 ./slackware64/l
+drwxr-xr-x 2 root root 73728 2021-01-30 21:57 ./slackware64/l
-rw-r--r-- 1 root root 329 2021-01-20 18:36 ./slackware64/l/GConf-3.2.6-x86_64-6.txt
-rw-r--r-- 1 root root 928960 2021-01-20 18:36 ./slackware64/l/GConf-3.2.6-x86_64-6.txz
-rw-r--r-- 1 root root 163 2021-01-20 18:36 ./slackware64/l/GConf-3.2.6-x86_64-6.txz.asc
@@ -2901,9 +2901,9 @@ drwxr-xr-x 2 root root 73728 2021-01-28 21:10 ./slackware64/l
-rw-r--r-- 1 root root 343 2021-01-20 19:11 ./slackware64/l/gcr-3.38.1-x86_64-2.txt
-rw-r--r-- 1 root root 860800 2021-01-20 19:11 ./slackware64/l/gcr-3.38.1-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-01-20 19:11 ./slackware64/l/gcr-3.38.1-x86_64-2.txz.asc
--rw-r--r-- 1 root root 499 2021-01-20 19:11 ./slackware64/l/gd-2.3.0-x86_64-2.txt
--rw-r--r-- 1 root root 150680 2021-01-20 19:11 ./slackware64/l/gd-2.3.0-x86_64-2.txz
--rw-r--r-- 1 root root 163 2021-01-20 19:11 ./slackware64/l/gd-2.3.0-x86_64-2.txz.asc
+-rw-r--r-- 1 root root 499 2021-01-30 19:46 ./slackware64/l/gd-2.3.1-x86_64-1.txt
+-rw-r--r-- 1 root root 150780 2021-01-30 19:46 ./slackware64/l/gd-2.3.1-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2021-01-30 19:46 ./slackware64/l/gd-2.3.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 186 2021-01-20 19:11 ./slackware64/l/gdbm-1.19-x86_64-2.txt
-rw-r--r-- 1 root root 197316 2021-01-20 19:11 ./slackware64/l/gdbm-1.19-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-01-20 19:11 ./slackware64/l/gdbm-1.19-x86_64-2.txz.asc
@@ -3389,9 +3389,9 @@ drwxr-xr-x 2 root root 73728 2021-01-28 21:10 ./slackware64/l
-rw-r--r-- 1 root root 434 2021-01-20 20:00 ./slackware64/l/libvpx-1.9.0-x86_64-2.txt
-rw-r--r-- 1 root root 1465056 2021-01-20 20:00 ./slackware64/l/libvpx-1.9.0-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-01-20 20:00 ./slackware64/l/libvpx-1.9.0-x86_64-2.txz.asc
--rw-r--r-- 1 root root 498 2021-01-20 20:00 ./slackware64/l/libwebp-1.1.0-x86_64-4.txt
--rw-r--r-- 1 root root 355496 2021-01-20 20:00 ./slackware64/l/libwebp-1.1.0-x86_64-4.txz
--rw-r--r-- 1 root root 163 2021-01-20 20:00 ./slackware64/l/libwebp-1.1.0-x86_64-4.txz.asc
+-rw-r--r-- 1 root root 498 2021-01-30 19:47 ./slackware64/l/libwebp-1.2.0-x86_64-1.txt
+-rw-r--r-- 1 root root 358172 2021-01-30 19:47 ./slackware64/l/libwebp-1.2.0-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2021-01-30 19:47 ./slackware64/l/libwebp-1.2.0-x86_64-1.txz.asc
-rw-r--r-- 1 root root 340 2021-01-20 20:00 ./slackware64/l/libwmf-0.2.12-x86_64-2.txt
-rw-r--r-- 1 root root 190884 2021-01-20 20:00 ./slackware64/l/libwmf-0.2.12-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-01-20 20:00 ./slackware64/l/libwmf-0.2.12-x86_64-2.txz.asc
@@ -3595,9 +3595,9 @@ drwxr-xr-x 2 root root 73728 2021-01-28 21:10 ./slackware64/l
-rw-r--r-- 1 root root 502 2021-01-20 20:23 ./slackware64/l/python-notify2-0.3.1-x86_64-7.txt
-rw-r--r-- 1 root root 9164 2021-01-20 20:23 ./slackware64/l/python-notify2-0.3.1-x86_64-7.txz
-rw-r--r-- 1 root root 163 2021-01-20 20:23 ./slackware64/l/python-notify2-0.3.1-x86_64-7.txz.asc
--rw-r--r-- 1 root root 333 2021-01-20 20:23 ./slackware64/l/python-packaging-20.8-x86_64-2.txt
--rw-r--r-- 1 root root 51648 2021-01-20 20:23 ./slackware64/l/python-packaging-20.8-x86_64-2.txz
--rw-r--r-- 1 root root 163 2021-01-20 20:23 ./slackware64/l/python-packaging-20.8-x86_64-2.txz.asc
+-rw-r--r-- 1 root root 333 2021-01-30 19:49 ./slackware64/l/python-packaging-20.9-x86_64-1.txt
+-rw-r--r-- 1 root root 53024 2021-01-30 19:49 ./slackware64/l/python-packaging-20.9-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2021-01-30 19:49 ./slackware64/l/python-packaging-20.9-x86_64-1.txz.asc
-rw-r--r-- 1 root root 526 2021-01-20 20:24 ./slackware64/l/python-pillow-8.1.0-x86_64-2.txt
-rw-r--r-- 1 root root 656136 2021-01-20 20:24 ./slackware64/l/python-pillow-8.1.0-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-01-20 20:24 ./slackware64/l/python-pillow-8.1.0-x86_64-2.txz.asc
@@ -4253,7 +4253,7 @@ drwxr-xr-x 2 root root 4096 2021-01-22 19:28 ./slackware64/tcl
-rw-r--r-- 1 root root 227 2021-01-21 00:59 ./slackware64/tcl/tk-8.6.11.1-x86_64-2.txt
-rw-r--r-- 1 root root 1787420 2021-01-21 00:59 ./slackware64/tcl/tk-8.6.11.1-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-01-21 00:59 ./slackware64/tcl/tk-8.6.11.1-x86_64-2.txz.asc
-drwxr-xr-x 2 root root 65536 2021-01-29 20:28 ./slackware64/x
+drwxr-xr-x 2 root root 65536 2021-01-30 21:57 ./slackware64/x
-rw-r--r-- 1 root root 440 2021-01-21 00:59 ./slackware64/x/OpenCC-1.1.1-x86_64-2.txt
-rw-r--r-- 1 root root 679092 2021-01-21 00:59 ./slackware64/x/OpenCC-1.1.1-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-01-21 00:59 ./slackware64/x/OpenCC-1.1.1-x86_64-2.txz.asc
@@ -4302,9 +4302,9 @@ drwxr-xr-x 2 root root 65536 2021-01-29 20:28 ./slackware64/x
-rw-r--r-- 1 root root 304 2021-01-21 01:01 ./slackware64/x/fcitx-kkc-0.1.4-x86_64-2.txt
-rw-r--r-- 1 root root 62720 2021-01-21 01:01 ./slackware64/x/fcitx-kkc-0.1.4-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-01-21 01:01 ./slackware64/x/fcitx-kkc-0.1.4-x86_64-2.txz.asc
--rw-r--r-- 1 root root 304 2021-01-21 01:01 ./slackware64/x/fcitx-libpinyin-0.5.3-x86_64-2.txt
--rw-r--r-- 1 root root 9895144 2021-01-21 01:01 ./slackware64/x/fcitx-libpinyin-0.5.3-x86_64-2.txz
--rw-r--r-- 1 root root 163 2021-01-21 01:01 ./slackware64/x/fcitx-libpinyin-0.5.3-x86_64-2.txz.asc
+-rw-r--r-- 1 root root 304 2021-01-30 19:40 ./slackware64/x/fcitx-libpinyin-0.5.4-x86_64-1.txt
+-rw-r--r-- 1 root root 9913608 2021-01-30 19:40 ./slackware64/x/fcitx-libpinyin-0.5.4-x86_64-1.txz
+-rw-r--r-- 1 root root 163 2021-01-30 19:40 ./slackware64/x/fcitx-libpinyin-0.5.4-x86_64-1.txz.asc
-rw-r--r-- 1 root root 266 2021-01-21 01:02 ./slackware64/x/fcitx-m17n-0.2.4-x86_64-2.txt
-rw-r--r-- 1 root root 28152 2021-01-21 01:02 ./slackware64/x/fcitx-m17n-0.2.4-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-01-21 01:02 ./slackware64/x/fcitx-m17n-0.2.4-x86_64-2.txz.asc
@@ -5462,11 +5462,11 @@ drwxr-xr-x 2 root root 4096 2021-01-22 19:26 ./slackware64/y
-rw-r--r-- 1 root root 1486680 2021-01-21 01:52 ./slackware64/y/nethack-3.6.6-x86_64-2.txz
-rw-r--r-- 1 root root 163 2021-01-21 01:52 ./slackware64/y/nethack-3.6.6-x86_64-2.txz.asc
-rw-r--r-- 1 root root 26 2020-12-30 21:55 ./slackware64/y/tagfile
-drwxr-xr-x 18 root root 4096 2021-01-29 20:44 ./source
--rw-r--r-- 1 root root 561789 2021-01-29 20:44 ./source/CHECKSUMS.md5
--rw-r--r-- 1 root root 163 2021-01-29 20:44 ./source/CHECKSUMS.md5.asc
--rw-r--r-- 1 root root 782417 2021-01-29 20:44 ./source/FILE_LIST
--rw-r--r-- 1 root root 22242005 2021-01-29 20:44 ./source/MANIFEST.bz2
+drwxr-xr-x 18 root root 4096 2021-01-30 21:58 ./source
+-rw-r--r-- 1 root root 561682 2021-01-30 21:58 ./source/CHECKSUMS.md5
+-rw-r--r-- 1 root root 163 2021-01-30 21:58 ./source/CHECKSUMS.md5.asc
+-rw-r--r-- 1 root root 782294 2021-01-30 21:58 ./source/FILE_LIST
+-rw-r--r-- 1 root root 22251162 2021-01-30 21:58 ./source/MANIFEST.bz2
-rw-r--r-- 1 root root 1314 2006-10-02 04:40 ./source/README.TXT
drwxr-xr-x 122 root root 4096 2021-01-23 03:57 ./source/a
-rw-r--r-- 1 root root 1470 2021-01-17 20:11 ./source/a/FTBFSlog
@@ -5481,7 +5481,7 @@ drwxr-xr-x 2 root root 4096 2021-01-20 18:13 ./source/a/aaa_elflibs
-rwxr-xr-x 1 root root 4266 2021-01-20 18:13 ./source/a/aaa_elflibs/aaa_elflibs.SlackBuild
-rwxr-xr-x 1 root root 1630 2015-04-20 04:39 ./source/a/aaa_elflibs/display_orphans.sh
-rw-r--r-- 1 root root 930 2018-02-27 06:13 ./source/a/aaa_elflibs/slack-desc
--rw-r--r-- 1 root root 2084 2021-01-09 20:46 ./source/a/aaa_elflibs/symlinks-to-tracked-libs
+-rw-r--r-- 1 root root 2103 2021-01-29 23:22 ./source/a/aaa_elflibs/symlinks-to-tracked-libs
-rw-r--r-- 1 root root 462 2020-12-07 20:50 ./source/a/aaa_elflibs/symlinks-to-tracked-libs-tmp
-rw-r--r-- 1 root root 312 2020-01-11 21:13 ./source/a/aaa_elflibs/tracked-files
-rw-r--r-- 1 root root 213 2015-04-20 04:40 ./source/a/aaa_elflibs/tracked-files-tmp
@@ -5623,11 +5623,11 @@ drwxr-xr-x 2 root root 4096 2021-01-20 18:13 ./source/a/dosfstools
-rwxr-xr-x 1 root root 4345 2021-01-20 18:13 ./source/a/dosfstools/dosfstools.SlackBuild
-rw-r--r-- 1 root root 101 2017-06-21 06:19 ./source/a/dosfstools/dosfstools.url
-rw-r--r-- 1 root root 794 2018-02-27 06:13 ./source/a/dosfstools/slack-desc
-drwxr-xr-x 2 root root 4096 2021-01-29 18:26 ./source/a/e2fsprogs
+drwxr-xr-x 2 root root 4096 2021-01-30 19:42 ./source/a/e2fsprogs
-rw-r--r-- 1 root root 325 2009-05-30 01:25 ./source/a/e2fsprogs/doinst.sh.gz
--rw-r--r-- 1 root root 310 2021-01-29 06:26 ./source/a/e2fsprogs/e2fsprogs-1.45.7.tar.sign
--rw-r--r-- 1 root root 5570052 2021-01-29 06:26 ./source/a/e2fsprogs/e2fsprogs-1.45.7.tar.xz
--rwxr-xr-x 1 root root 7251 2021-01-29 18:26 ./source/a/e2fsprogs/e2fsprogs.SlackBuild
+-rw-r--r-- 1 root root 310 2021-01-29 22:13 ./source/a/e2fsprogs/e2fsprogs-1.46.0.tar.sign
+-rw-r--r-- 1 root root 7007144 2021-01-29 22:13 ./source/a/e2fsprogs/e2fsprogs-1.46.0.tar.xz
+-rwxr-xr-x 1 root root 7286 2021-01-30 19:44 ./source/a/e2fsprogs/e2fsprogs.SlackBuild
-rw-r--r-- 1 root root 262 2018-03-10 19:15 ./source/a/e2fsprogs/e2fsprogs.no.64bit.by.default.diff.gz
-rw-r--r-- 1 root root 861 2019-10-05 18:13 ./source/a/e2fsprogs/slack-desc
drwxr-xr-x 2 root root 4096 2021-01-20 18:13 ./source/a/ed
@@ -6333,7 +6333,7 @@ drwxr-xr-x 2 root root 4096 2021-01-20 18:13 ./source/a/sysfsutils
-rw-r--r-- 1 root root 1001 2018-02-27 06:13 ./source/a/sysfsutils/slack-desc
-rw-r--r-- 1 root root 288189 2006-12-12 01:33 ./source/a/sysfsutils/sysfsutils-2.1.0.tar.bz2
-rwxr-xr-x 1 root root 3861 2021-01-20 18:13 ./source/a/sysfsutils/sysfsutils.SlackBuild
-drwxr-xr-x 3 root root 4096 2021-01-20 18:13 ./source/a/sysklogd
+drwxr-xr-x 3 root root 4096 2021-01-30 19:50 ./source/a/sysklogd
drwxr-xr-x 2 root root 4096 2020-01-29 04:08 ./source/a/sysklogd/config
-rw-r--r-- 1 root root 669 2020-12-17 21:00 ./source/a/sysklogd/config/rc.syslog.new
-rw-r--r-- 1 root root 1920 2020-01-29 04:34 ./source/a/sysklogd/config/syslog.conf.new
@@ -6341,8 +6341,8 @@ drwxr-xr-x 2 root root 4096 2020-01-29 04:08 ./source/a/sysklogd/config
-rw-r--r-- 1 root root 164 2020-01-29 04:00 ./source/a/sysklogd/config/syslogd.new
-rw-r--r-- 1 root root 379 2020-06-26 06:22 ./source/a/sysklogd/doinst.sh.gz
-rw-r--r-- 1 root root 975 2020-01-29 03:58 ./source/a/sysklogd/slack-desc
--rw-r--r-- 1 root root 290334 2021-01-15 10:22 ./source/a/sysklogd/sysklogd-2.2.0.tar.lz
--rwxr-xr-x 1 root root 5002 2021-01-20 18:13 ./source/a/sysklogd/sysklogd.SlackBuild
+-rw-r--r-- 1 root root 290720 2021-01-30 13:26 ./source/a/sysklogd/sysklogd-2.2.1.tar.lz
+-rwxr-xr-x 1 root root 5002 2021-01-30 19:50 ./source/a/sysklogd/sysklogd.SlackBuild
-rw-r--r-- 1 root root 38 2020-01-27 17:58 ./source/a/sysklogd/sysklogd.url
drwxr-xr-x 2 root root 4096 2021-01-20 18:13 ./source/a/syslinux
-rw-r--r-- 1 root root 973 2018-02-27 06:13 ./source/a/syslinux/slack-desc
@@ -7129,12 +7129,11 @@ drwxr-xr-x 2 root root 4096 2021-01-20 18:13 ./source/d/automake
-rwxr-xr-x 1 root root 3476 2021-01-20 18:13 ./source/d/automake/automake.SlackBuild
-rw-r--r-- 1 root root 348 2001-05-30 01:49 ./source/d/automake/doinst.sh.gz
-rw-r--r-- 1 root root 1077 2018-02-27 06:13 ./source/d/automake/slack-desc
-drwxr-xr-x 3 root root 4096 2021-01-26 19:42 ./source/d/binutils
--rw-r--r-- 1 root root 22380069 2021-01-24 11:17 ./source/d/binutils/binutils-2.36.tar.lz
--rw-r--r-- 1 root root 833 2021-01-24 11:17 ./source/d/binutils/binutils-2.36.tar.lz.sig
--rwxr-xr-x 1 root root 8798 2021-01-26 19:43 ./source/d/binutils/binutils.SlackBuild
-drwxr-xr-x 2 root root 4096 2021-01-26 19:42 ./source/d/binutils/patches
--rw-r--r-- 1 root root 24168 2021-01-26 19:40 ./source/d/binutils/patches/0001-ELF-Don-t-generate-unused-section-symbols.patch.gz
+drwxr-xr-x 3 root root 4096 2021-01-30 19:55 ./source/d/binutils
+-rw-r--r-- 1 root root 21583883 2021-01-30 12:47 ./source/d/binutils/binutils-2.35.2.tar.lz
+-rw-r--r-- 1 root root 833 2021-01-30 12:47 ./source/d/binutils/binutils-2.35.2.tar.lz.sig
+-rwxr-xr-x 1 root root 8531 2021-01-30 19:56 ./source/d/binutils/binutils.SlackBuild
+drwxr-xr-x 2 root root 4096 2021-01-30 19:56 ./source/d/binutils/patches
-rw-r--r-- 1 root root 362 2016-02-29 16:21 ./source/d/binutils/patches/binutils-2.20.51.0.10-copy-osabi.patch.gz
-rw-r--r-- 1 root root 302 2016-02-29 16:21 ./source/d/binutils/patches/binutils-2.20.51.0.10-sec-merge-emit.patch.gz
-rw-r--r-- 1 root root 1087 2016-02-29 16:21 ./source/d/binutils/patches/binutils-2.20.51.0.2-libtool-lib64.patch.gz
@@ -7142,7 +7141,7 @@ drwxr-xr-x 2 root root 4096 2021-01-26 19:42 ./source/d/binutils/patches
-rw-r--r-- 1 root root 436 2016-02-29 16:21 ./source/d/binutils/patches/binutils-2.25-set-long-long.patch.gz
-rw-r--r-- 1 root root 626 2016-02-29 16:21 ./source/d/binutils/patches/binutils-2.25-version.patch.gz
-rw-r--r-- 1 root root 579 2019-02-02 20:11 ./source/d/binutils/patches/binutils.export.demangle.h.diff.gz
--rw-r--r-- 1 root root 307 2013-04-02 20:57 ./source/d/binutils/patches/binutils.no-config-h-check.diff.gz
+-rw-r--r-- 1 root root 279 2021-01-30 19:55 ./source/d/binutils/patches/binutils.no-config-h-check.diff.gz
-rw-r--r-- 1 root root 898 2018-02-27 06:13 ./source/d/binutils/slack-desc
drwxr-xr-x 2 root root 4096 2021-01-24 19:10 ./source/d/bison
-rw-r--r-- 1 root root 2498675 2021-01-24 07:54 ./source/d/bison/bison-3.7.5.tar.lz
@@ -7365,7 +7364,7 @@ drwxr-xr-x 2 root root 4096 2021-01-20 18:13 ./source/d/opencl-headers
-rw-r--r-- 1 root root 801 2018-02-27 06:13 ./source/d/opencl-headers/slack-desc
drwxr-xr-x 2 root root 4096 2021-01-20 18:13 ./source/d/oprofile
-rw-r--r-- 1 root root 896753 2020-07-20 15:35 ./source/d/oprofile/oprofile-1.4.0.tar.lz
--rwxr-xr-x 1 root root 4462 2021-01-24 19:11 ./source/d/oprofile/oprofile.SlackBuild
+-rwxr-xr-x 1 root root 4462 2021-01-30 21:36 ./source/d/oprofile/oprofile.SlackBuild
-rw-r--r-- 1 root root 1002 2018-02-27 06:13 ./source/d/oprofile/slack-desc
drwxr-xr-x 2 root root 4096 2021-01-20 18:13 ./source/d/p2c
-rw-r--r-- 1 root root 304657 2016-01-04 23:03 ./source/d/p2c/p2c-2.01.tar.lz
@@ -7576,21 +7575,21 @@ drwxr-xr-x 2 root root 4096 2021-01-14 19:53 ./source/installer/sources/na
-rw-r--r-- 1 root root 1427592 2021-01-14 10:21 ./source/installer/sources/nano/nano-5.5.tar.xz
-rw-r--r-- 1 root root 833 2021-01-14 10:21 ./source/installer/sources/nano/nano-5.5.tar.xz.sig
-rw-r--r-- 1 root root 16894 2012-09-03 20:53 ./source/installer/usbimg2disk.sh
-drwxr-xr-x 4 root root 4096 2021-01-27 18:24 ./source/k
+drwxr-xr-x 4 root root 4096 2021-01-30 18:16 ./source/k
-rwxr-xr-x 1 root root 7861 2019-12-27 22:39 ./source/k/build-all-kernels.sh
-drwxr-xr-x 2 root root 4096 2021-01-27 18:40 ./source/k/kernel-configs
--rw-r--r-- 1 root root 228235 2021-01-27 18:34 ./source/k/kernel-configs/config-generic-5.10.11
--rw-r--r-- 1 root root 230264 2021-01-27 18:39 ./source/k/kernel-configs/config-generic-5.10.11.x64
--rw-r--r-- 1 root root 229664 2021-01-27 18:34 ./source/k/kernel-configs/config-generic-smp-5.10.11-smp
--rw-r--r-- 1 root root 228235 2021-01-27 18:34 ./source/k/kernel-configs/config-huge-5.10.11
--rw-r--r-- 1 root root 230264 2021-01-27 18:39 ./source/k/kernel-configs/config-huge-5.10.11.x64
--rw-r--r-- 1 root root 229664 2021-01-27 18:34 ./source/k/kernel-configs/config-huge-smp-5.10.11-smp
+drwxr-xr-x 2 root root 4096 2021-01-30 18:22 ./source/k/kernel-configs
+-rw-r--r-- 1 root root 228235 2021-01-30 18:20 ./source/k/kernel-configs/config-generic-5.10.12
+-rw-r--r-- 1 root root 230264 2021-01-30 18:22 ./source/k/kernel-configs/config-generic-5.10.12.x64
+-rw-r--r-- 1 root root 229664 2021-01-30 18:20 ./source/k/kernel-configs/config-generic-smp-5.10.12-smp
+-rw-r--r-- 1 root root 228235 2021-01-30 18:20 ./source/k/kernel-configs/config-huge-5.10.12
+-rw-r--r-- 1 root root 230264 2021-01-30 18:22 ./source/k/kernel-configs/config-huge-5.10.12.x64
+-rw-r--r-- 1 root root 229664 2021-01-30 18:20 ./source/k/kernel-configs/config-huge-smp-5.10.12-smp
-rwxr-xr-x 1 root root 7441 2020-06-11 19:56 ./source/k/kernel-generic.SlackBuild
-rwxr-xr-x 1 root root 3779 2019-09-29 23:48 ./source/k/kernel-headers.SlackBuild
-rwxr-xr-x 1 root root 6004 2020-06-11 19:57 ./source/k/kernel-modules.SlackBuild
-rwxr-xr-x 1 root root 7977 2020-06-11 19:56 ./source/k/kernel-source.SlackBuild
--rw-r--r-- 1 root root 991 2021-01-27 11:02 ./source/k/linux-5.10.11.tar.sign
--rw-r--r-- 1 root root 116619904 2021-01-27 11:02 ./source/k/linux-5.10.11.tar.xz
+-rw-r--r-- 1 root root 991 2021-01-30 13:03 ./source/k/linux-5.10.12.tar.sign
+-rw-r--r-- 1 root root 116262828 2021-01-30 13:03 ./source/k/linux-5.10.12.tar.xz
drwxr-xr-x 2 root root 4096 2018-03-05 18:29 ./source/k/slack-desc
-rw-r--r-- 1 root root 1138 2018-02-27 06:16 ./source/k/slack-desc/slack-desc.kernel-generic-smp.i686
-rw-r--r-- 1 root root 1041 2018-02-27 06:16 ./source/k/slack-desc/slack-desc.kernel-generic.i586
@@ -8874,7 +8873,7 @@ drwxr-xr-x 2 root root 4096 2021-01-19 18:45 ./source/kde/kde/src/applicat
-rw-r--r-- 1 root root 204260 2021-01-05 01:35 ./source/kde/kde/src/applications/kfloppy-20.12.1.tar.xz
-rw-r--r-- 1 root root 488 2021-01-05 01:35 ./source/kde/kde/src/applications/kfloppy-20.12.1.tar.xz.sig
-rw-r--r-- 1 root root 643848 2021-01-05 01:35 ./source/kde/kde/src/applications/kfourinline-20.12.1.tar.xz
--rw-r--r-- 1 root root 488 2021-01-05 01:35 ./source/kde/kde/src/applications/kfourinline-20.12.1.tar.xz.sig
+-rw-r--r-- 1 root root 488 2021-01-05 01:35 ./source/kde/kde/src/applications/kfourinline-20.12.1.tar.xz.sig
-rw-r--r-- 1 root root 10764128 2021-01-05 01:35 ./source/kde/kde/src/applications/kgeography-20.12.1.tar.xz
-rw-r--r-- 1 root root 488 2021-01-05 01:35 ./source/kde/kde/src/applications/kgeography-20.12.1.tar.xz.sig
-rw-r--r-- 1 root root 5583860 2021-01-05 01:35 ./source/kde/kde/src/applications/kget-20.12.1.tar.xz
@@ -9814,10 +9813,10 @@ drwxr-xr-x 2 root root 4096 2021-01-20 18:16 ./source/l/gcr
-rwxr-xr-x 1 root root 4040 2021-01-20 18:16 ./source/l/gcr/gcr.SlackBuild
-rw-r--r-- 1 root root 241 2020-03-11 18:57 ./source/l/gcr/gcr.meson.disable.schemas-compile.update-mime.update-icon-cache.diff.gz
-rw-r--r-- 1 root root 826 2018-02-27 06:12 ./source/l/gcr/slack-desc
-drwxr-xr-x 2 root root 4096 2021-01-20 18:16 ./source/l/gd
--rwxr-xr-x 1 root root 3973 2021-01-20 18:16 ./source/l/gd/gd.SlackBuild
+drwxr-xr-x 2 root root 4096 2021-01-30 19:45 ./source/l/gd
+-rwxr-xr-x 1 root root 3973 2021-01-30 19:45 ./source/l/gd/gd.SlackBuild
-rw-r--r-- 1 root root 31 2020-03-23 19:11 ./source/l/gd/gd.url
--rw-r--r-- 1 root root 2539188 2020-03-22 14:00 ./source/l/gd/libgd-2.3.0.tar.xz
+-rw-r--r-- 1 root root 2632076 2021-01-30 09:48 ./source/l/gd/libgd-2.3.1.tar.xz
-rw-r--r-- 1 root root 949 2018-02-27 06:12 ./source/l/gd/slack-desc
drwxr-xr-x 2 root root 4096 2021-01-20 18:16 ./source/l/gdbm
-rw-r--r-- 1 root root 626140 2020-12-23 12:47 ./source/l/gdbm/gdbm-1.19.tar.lz
@@ -10653,9 +10652,9 @@ drwxr-xr-x 2 root root 4096 2021-01-20 18:16 ./source/l/libvpx
-rwxr--r-- 1 root root 3713 2021-01-20 18:16 ./source/l/libvpx/libvpx.SlackBuild
-rw-r--r-- 1 root root 38 2019-12-20 17:53 ./source/l/libvpx/libvpx.url
-rw-r--r-- 1 root root 920 2018-02-27 06:12 ./source/l/libvpx/slack-desc
-drwxr-xr-x 2 root root 4096 2021-01-20 18:16 ./source/l/libwebp
--rw-r--r-- 1 root root 2268657 2020-01-06 23:53 ./source/l/libwebp/libwebp-1.1.0.tar.lz
--rwxr-xr-x 1 root root 5214 2021-01-20 18:16 ./source/l/libwebp/libwebp.SlackBuild
+drwxr-xr-x 2 root root 4096 2021-01-30 19:47 ./source/l/libwebp
+-rw-r--r-- 1 root root 2305028 2021-01-30 03:07 ./source/l/libwebp/libwebp-1.2.0.tar.lz
+-rwxr-xr-x 1 root root 5214 2021-01-30 19:47 ./source/l/libwebp/libwebp.SlackBuild
-rw-r--r-- 1 root root 985 2018-02-27 06:12 ./source/l/libwebp/slack-desc
drwxr-xr-x 2 root root 4096 2021-01-20 18:16 ./source/l/libwmf
-rw-r--r-- 1 root root 2879 2020-11-27 20:00 ./source/l/libwmf/fontmap
@@ -11053,10 +11052,10 @@ drwxr-xr-x 2 root root 4096 2021-01-20 18:16 ./source/l/python-notify2
-rwxr-xr-x 1 root root 2573 2021-01-20 18:16 ./source/l/python-notify2/python-notify2.SlackBuild
-rw-r--r-- 1 root root 37 2018-02-23 21:12 ./source/l/python-notify2/python-notify2.url
-rw-r--r-- 1 root root 996 2018-02-27 06:12 ./source/l/python-notify2/slack-desc
-drwxr-xr-x 2 root root 4096 2021-01-20 18:16 ./source/l/python-packaging
--rw-r--r-- 1 root root 60489 2020-12-12 04:36 ./source/l/python-packaging/packaging-20.8.tar.lz
+drwxr-xr-x 2 root root 4096 2021-01-30 19:48 ./source/l/python-packaging
+-rw-r--r-- 1 root root 61947 2021-01-29 20:24 ./source/l/python-packaging/packaging-20.9.tar.lz
-rw-r--r-- 1 root root 36 2020-01-25 18:33 ./source/l/python-packaging/packaging.url
--rwxr-xr-x 1 root root 2904 2021-01-20 18:16 ./source/l/python-packaging/python-packaging.SlackBuild
+-rwxr-xr-x 1 root root 2904 2021-01-30 19:48 ./source/l/python-packaging/python-packaging.SlackBuild
-rw-r--r-- 1 root root 829 2018-08-27 18:22 ./source/l/python-packaging/slack-desc
drwxr-xr-x 2 root root 4096 2021-01-20 18:16 ./source/l/python-pillow
-rw-r--r-- 1 root root 624310 2021-01-02 11:39 ./source/l/python-pillow/Pillow-8.1.0.tar.lz
@@ -12062,8 +12061,8 @@ drwxr-xr-x 2 root root 4096 2021-01-20 18:16 ./source/n/nghttp2
-rwxr-xr-x 1 root root 4604 2021-01-20 18:16 ./source/n/nghttp2/nghttp2.SlackBuild
-rw-r--r-- 1 root root 784 2018-03-26 18:26 ./source/n/nghttp2/slack-desc
drwxr-xr-x 2 root root 4096 2021-01-20 18:16 ./source/n/nmap
--rw-r--r-- 1 root root 8652985 2020-10-10 19:11 ./source/n/nmap/nmap-7.91.tar.lz
--rwxr-xr-x 1 root root 5515 2021-01-20 18:16 ./source/n/nmap/nmap.SlackBuild
+-rw-r--r-- 1 root root 8652985 2020-10-10 19:11 ./source/n/nmap/nmap-7.91.tar.lz
+-rwxr-xr-x 1 root root 5515 2021-01-20 18:16 ./source/n/nmap/nmap.SlackBuild
-rw-r--r-- 1 root root 31 2019-08-10 18:19 ./source/n/nmap/nmap.url
-rw-r--r-- 1 root root 1101 2018-02-27 06:13 ./source/n/nmap/slack-desc
drwxr-xr-x 2 root root 4096 2021-01-20 18:16 ./source/n/nn
@@ -12513,7 +12512,7 @@ drwxr-xr-x 2 root root 4096 2021-01-20 18:17 ./source/tcl/tk
-rw-r--r-- 1 root root 48 2021-01-04 23:37 ./source/tcl/tk/tk.url
-rw-r--r-- 1 root root 4496008 2021-01-13 20:19 ./source/tcl/tk/tk8.6.11.1-src.tar.gz
drwxr-xr-x 77 root root 4096 2021-01-20 18:17 ./source/x
--rw-r--r-- 1 root root 1157 2021-01-16 20:03 ./source/x/FTBFSlog
+-rw-r--r-- 1 root root 1404 2021-01-30 02:47 ./source/x/FTBFSlog
drwxr-xr-x 2 root root 4096 2021-01-20 18:17 ./source/x/OpenCC
-rw-r--r-- 1 root root 1624617 2020-05-22 09:43 ./source/x/OpenCC/OpenCC-ver.1.1.1.tar.lz
-rwxr-xr-x 1 root root 3386 2021-01-20 18:17 ./source/x/OpenCC/OpenCC.SlackBuild
@@ -12555,11 +12554,11 @@ drwxr-xr-x 2 root root 4096 2021-01-20 18:17 ./source/x/fcitx-kkc
-rw-r--r-- 1 root root 37132 2017-11-08 18:42 ./source/x/fcitx-kkc/fcitx-kkc-0.1.4.tar.xz
-rwxr-xr-x 1 root root 3350 2021-01-20 18:17 ./source/x/fcitx-kkc/fcitx-kkc.SlackBuild
-rw-r--r-- 1 root root 794 2015-05-09 01:46 ./source/x/fcitx-kkc/slack-desc
-drwxr-xr-x 3 root root 4096 2021-01-20 18:17 ./source/x/fcitx-libpinyin
-drwxr-xr-x 2 root root 4096 2020-11-17 20:22 ./source/x/fcitx-libpinyin/dict
--rw-r--r-- 1 root root 15149856 2017-09-14 23:06 ./source/x/fcitx-libpinyin/dict/fcitx-libpinyin-0.5.3_dict.tar.xz
--rw-r--r-- 1 root root 47504 2017-09-14 22:51 ./source/x/fcitx-libpinyin/fcitx-libpinyin-0.5.3.tar.xz
--rwxr-xr-x 1 root root 3659 2021-01-20 18:17 ./source/x/fcitx-libpinyin/fcitx-libpinyin.SlackBuild
+drwxr-xr-x 3 root root 4096 2021-01-30 19:39 ./source/x/fcitx-libpinyin
+drwxr-xr-x 2 root root 4096 2021-01-30 19:38 ./source/x/fcitx-libpinyin/dict
+-rw-r--r-- 1 root root 15148952 2021-01-29 16:53 ./source/x/fcitx-libpinyin/dict/fcitx-libpinyin-0.5.4_dict.tar.xz
+-rw-r--r-- 1 root root 47376 2021-01-29 16:46 ./source/x/fcitx-libpinyin/fcitx-libpinyin-0.5.4.tar.xz
+-rwxr-xr-x 1 root root 3853 2021-01-30 19:40 ./source/x/fcitx-libpinyin/fcitx-libpinyin.SlackBuild
-rw-r--r-- 1 root root 800 2020-11-22 20:10 ./source/x/fcitx-libpinyin/slack-desc
drwxr-xr-x 2 root root 4096 2021-01-20 18:17 ./source/x/fcitx-m17n
-rw-r--r-- 1 root root 35076 2017-09-14 22:51 ./source/x/fcitx-m17n/fcitx-m17n-0.2.4.tar.xz
@@ -14674,9 +14673,9 @@ drwxr-xr-x 4 root root 4096 2020-12-07 22:00 ./testing
-rw-r--r-- 1 root root 224 2020-12-07 22:00 ./testing/PACKAGES.TXT
drwxr-xr-x 2 root root 4096 2020-12-07 19:59 ./testing/packages
drwxr-xr-x 2 root root 4096 2020-12-07 19:59 ./testing/source
-drwxr-xr-x 2 root root 4096 2021-01-27 20:43 ./usb-and-pxe-installers
+drwxr-xr-x 2 root root 4096 2021-01-30 21:54 ./usb-and-pxe-installers
-rw-r--r-- 1 root root 31203 2011-03-21 21:21 ./usb-and-pxe-installers/README_PXE.TXT
-rw-r--r-- 1 root root 9197 2013-09-25 04:33 ./usb-and-pxe-installers/README_USB.TXT
-rw-r--r-- 1 root root 574 2013-03-27 04:59 ./usb-and-pxe-installers/pxelinux.cfg_default
--rw-r--r-- 1 root root 59446272 2021-01-27 20:42 ./usb-and-pxe-installers/usbboot.img
+-rw-r--r-- 1 root root 59466752 2021-01-30 21:54 ./usb-and-pxe-installers/usbboot.img
-rw-r--r-- 1 root root 16042 2019-08-05 07:08 ./usb-and-pxe-installers/usbimg2disk.sh
diff --git a/README.initrd b/README.initrd
index bd47d37f..cc02097c 100644
--- a/README.initrd
+++ b/README.initrd
@@ -1,7 +1,7 @@
Slackware initrd mini HOWTO
by Patrick Volkerding, volkerdi@slackware.com
-Wed Jan 27 20:33:20 UTC 2021
+Sat Jan 30 21:45:49 UTC 2021
This document describes how to create and install an initrd, which may be
required to use the 4.x kernel. Also see "man mkinitrd".
@@ -33,15 +33,15 @@ flexible to ship a generic kernel and a set of kernel modules for it.
The easiest way to make the initrd is to use the mkinitrd script included
in Slackware's mkinitrd package. We'll walk through the process of
-upgrading to the generic 5.10.11 Linux kernel using the packages
+upgrading to the generic 5.10.12 Linux kernel using the packages
found in Slackware's slackware/a/ directory.
First, make sure the kernel, kernel modules, and mkinitrd package are
installed (the current version numbers might be a little different, so
this is just an example):
- installpkg kernel-generic-5.10.11-x86_64-1.txz
- installpkg kernel-modules-5.10.11-x86_64-1.txz
+ installpkg kernel-generic-5.10.12-x86_64-1.txz
+ installpkg kernel-modules-5.10.12-x86_64-1.txz
installpkg mkinitrd-1.4.11-x86_64-18.txz
Change into the /boot directory:
@@ -52,7 +52,7 @@ Now you'll want to run "mkinitrd". I'm using ext4 for my root filesystem,
and since the disk controller requires no special support the ext4 module
will be the only one I need to load:
- mkinitrd -c -k 5.10.11 -m ext4
+ mkinitrd -c -k 5.10.12 -m ext4
This should do two things. First, it will create a directory
/boot/initrd-tree containing the initrd's filesystem. Then it will
@@ -61,10 +61,10 @@ you could make some additional changes in /boot/initrd-tree/ and
then run mkinitrd again without options to rebuild the image. That's
optional, though, and only advanced users will need to think about that.
-Here's another example: Build an initrd image using Linux 5.10.11
+Here's another example: Build an initrd image using Linux 5.10.12
kernel modules for a system with an ext4 root partition on /dev/sdb3:
- mkinitrd -c -k 5.10.11 -m ext4 -f ext4 -r /dev/sdb3
+ mkinitrd -c -k 5.10.12 -m ext4 -f ext4 -r /dev/sdb3
4. Now that I've built an initrd, how do I use it?
diff --git a/isolinux/message.txt b/isolinux/message.txt
index d1292343..1bd8d8e0 100644
--- a/isolinux/message.txt
+++ b/isolinux/message.txt
@@ -1,5 +1,5 @@
-Welcome to 09Slackware6407 version 15.0 (Linux kernel 5.10.11)!
+Welcome to 09Slackware6407 version 15.0 (Linux kernel 5.10.12)!
If you need to pass extra parameters to the kernel, enter them at the prompt
below after the name of the kernel to boot (e.g., huge.s).
diff --git a/kernels/VERSIONS.TXT b/kernels/VERSIONS.TXT
index 80d53e1f..87cfc6e2 100644
--- a/kernels/VERSIONS.TXT
+++ b/kernels/VERSIONS.TXT
@@ -1,3 +1,3 @@
-These kernels are version 5.10.11.
+These kernels are version 5.10.12.
diff --git a/recompress.sh b/recompress.sh
index a671cae4..b1bcd781 100755
--- a/recompress.sh
+++ b/recompress.sh
@@ -61,7 +61,6 @@ gzip ./source/d/binutils/patches/binutils-2.20.51.0.2-libtool-lib64.patch
gzip ./source/d/binutils/patches/binutils.export.demangle.h.diff
gzip ./source/d/binutils/patches/binutils-2.25-set-long-long.patch
gzip ./source/d/binutils/patches/binutils.no-config-h-check.diff
-gzip ./source/d/binutils/patches/0001-ELF-Don-t-generate-unused-section-symbols.patch
gzip ./source/d/binutils/patches/binutils-2.20.51.0.10-copy-osabi.patch
gzip ./source/d/binutils/patches/binutils-2.25-version.patch
gzip ./source/d/icecream/doinst.sh
diff --git a/slackware64/a/maketag b/slackware64/a/maketag
index a8ac8283..4593b5d5 100644
--- a/slackware64/a/maketag
+++ b/slackware64/a/maketag
@@ -65,9 +65,9 @@ system. :^) Press ENTER when you are done." 21 76 10 \
"jfsutils" "Utilities for IBM's Journaled Filesystem" "on" \
"kbd" "Change keyboard and console mappings" "on" \
"kernel-firmware" "Linux kernel firmware -- REQUIRED" "on" \
-"kernel-generic" "Generic 5.10.11 kernel (needs an initrd)" "on" \
-"kernel-huge" "Loaded 5.10.11 Linux kernel" "on" \
-"kernel-modules" "Linux 5.10.11 kernel modules -- REQUIRED" "on" \
+"kernel-generic" "Generic 5.10.12 kernel (needs an initrd)" "on" \
+"kernel-huge" "Loaded 5.10.12 Linux kernel" "on" \
+"kernel-modules" "Linux 5.10.12 kernel modules -- REQUIRED" "on" \
"kmod" "Kernel module utilities -- REQUIRED" "on" \
"lbzip2" "Parallel bzip2 compressor" "on" \
"less" "A text pager utility - REQUIRED" "on" \
diff --git a/slackware64/a/maketag.ez b/slackware64/a/maketag.ez
index a8ac8283..4593b5d5 100644
--- a/slackware64/a/maketag.ez
+++ b/slackware64/a/maketag.ez
@@ -65,9 +65,9 @@ system. :^) Press ENTER when you are done." 21 76 10 \
"jfsutils" "Utilities for IBM's Journaled Filesystem" "on" \
"kbd" "Change keyboard and console mappings" "on" \
"kernel-firmware" "Linux kernel firmware -- REQUIRED" "on" \
-"kernel-generic" "Generic 5.10.11 kernel (needs an initrd)" "on" \
-"kernel-huge" "Loaded 5.10.11 Linux kernel" "on" \
-"kernel-modules" "Linux 5.10.11 kernel modules -- REQUIRED" "on" \
+"kernel-generic" "Generic 5.10.12 kernel (needs an initrd)" "on" \
+"kernel-huge" "Loaded 5.10.12 Linux kernel" "on" \
+"kernel-modules" "Linux 5.10.12 kernel modules -- REQUIRED" "on" \
"kmod" "Kernel module utilities -- REQUIRED" "on" \
"lbzip2" "Parallel bzip2 compressor" "on" \
"less" "A text pager utility - REQUIRED" "on" \
diff --git a/slackware64/k/maketag b/slackware64/k/maketag
index 12c8ee50..c2b5edfd 100644
--- a/slackware64/k/maketag
+++ b/slackware64/k/maketag
@@ -21,7 +21,7 @@ from series K. Use the UP/DOWN keys to scroll through the list, and \
the SPACE key to deselect any items you don't want to install. \
Press ENTER when you are \
done." 11 70 1 \
-"kernel-source" "Linux 5.10.11 kernel source" "on" \
+"kernel-source" "Linux 5.10.12 kernel source" "on" \
2> $TMP/SeTpkgs
if [ $? = 1 -o $? = 255 ]; then
rm -f $TMP/SeTpkgs
diff --git a/slackware64/k/maketag.ez b/slackware64/k/maketag.ez
index 12c8ee50..c2b5edfd 100644
--- a/slackware64/k/maketag.ez
+++ b/slackware64/k/maketag.ez
@@ -21,7 +21,7 @@ from series K. Use the UP/DOWN keys to scroll through the list, and \
the SPACE key to deselect any items you don't want to install. \
Press ENTER when you are \
done." 11 70 1 \
-"kernel-source" "Linux 5.10.11 kernel source" "on" \
+"kernel-source" "Linux 5.10.12 kernel source" "on" \
2> $TMP/SeTpkgs
if [ $? = 1 -o $? = 255 ]; then
rm -f $TMP/SeTpkgs
diff --git a/source/a/aaa_elflibs/symlinks-to-tracked-libs b/source/a/aaa_elflibs/symlinks-to-tracked-libs
index 414e3373..303f9297 100644
--- a/source/a/aaa_elflibs/symlinks-to-tracked-libs
+++ b/source/a/aaa_elflibs/symlinks-to-tracked-libs
@@ -30,6 +30,7 @@
/lib/libsysfs.so.2
/lib/libtermcap.so.2
/lib/libtinfo.so.6
+/lib/libtirpc.so.3
/lib/libudev.so.1
/lib/libz.so.1
/usr/lib/libasound.so.2
diff --git a/source/a/e2fsprogs/e2fsprogs.SlackBuild b/source/a/e2fsprogs/e2fsprogs.SlackBuild
index 1db5f48b..0e58d803 100755
--- a/source/a/e2fsprogs/e2fsprogs.SlackBuild
+++ b/source/a/e2fsprogs/e2fsprogs.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2015, 2016, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2015, 2016, 2018, 2020, 2021 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -101,6 +101,7 @@ CFLAGS="$SLKCFLAGS" \
--bindir=/usr/bin \
--includedir=/usr/include \
--datadir=/usr/share \
+ --datarootdir=/usr/share \
--mandir=/usr/man \
--infodir=/usr/info \
--docdir=/usr/doc/e2fsprogs-$VERSION \
diff --git a/source/a/sysklogd/sysklogd.SlackBuild b/source/a/sysklogd/sysklogd.SlackBuild
index 00448503..c797be8a 100755
--- a/source/a/sysklogd/sysklogd.SlackBuild
+++ b/source/a/sysklogd/sysklogd.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=sysklogd
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/d/binutils/binutils.SlackBuild b/source/d/binutils/binutils.SlackBuild
index 8ef3e83e..a8d06985 100755
--- a/source/d/binutils/binutils.SlackBuild
+++ b/source/d/binutils/binutils.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2005-2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2005-2021 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=binutils
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
MARCH=$( uname -m )
@@ -106,9 +106,6 @@ zcat $CWD/patches/binutils.export.demangle.h.diff.gz | patch -p1 --verbose || ex
# Don't check to see if "config.h" was included in the installed headers:
zcat $CWD/patches/binutils.no-config-h-check.diff.gz | patch -p1 --verbose || exit 1
-# Revert patch that breaks the kernel build. No || exit 1 because of ChangeLog patch rejections:
-zcat $CWD/patches/0001-ELF-Don-t-generate-unused-section-symbols.patch.gz | patch -p1 -R
-
# Set %version to something halfway meaningful:
sed -i -e 's/%''{release}/slack15/g' bfd/Makefile{.am,.in}
@@ -205,12 +202,12 @@ fi
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-# Remove some unneeded man pages, and then compress the rest
-rm -f $PKG/usr/man/man1/{dlltool,windres}.1
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \+
- for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+# Compress manual pages:
+find $PKG/usr/man -type f -exec gzip -9 {} \+
+for i in $( find $PKG/usr/man -type l ) ; do
+ ln -s $( readlink $i ).gz $i.gz
+ rm $i
+done
# Compress info pages
rm -f $PKG/usr/info/dir
diff --git a/source/d/binutils/patches/0001-ELF-Don-t-generate-unused-section-symbols.patch b/source/d/binutils/patches/0001-ELF-Don-t-generate-unused-section-symbols.patch
deleted file mode 100644
index cdae8959..00000000
--- a/source/d/binutils/patches/0001-ELF-Don-t-generate-unused-section-symbols.patch
+++ /dev/null
@@ -1,3939 +0,0 @@
-From d1bcae833b32f1408485ce69f844dcd7ded093a8 Mon Sep 17 00:00:00 2001
-From: "H.J. Lu" <hjl.tools@gmail.com>
-Date: Thu, 7 Jan 2021 06:42:00 -0800
-Subject: [PATCH] ELF: Don't generate unused section symbols
-
-For ELF targets, section symbols are required only for relocations.
-With -ffunction-sections -fdata-sections, there can be many unused
-section symbols. Sizes of libstdc++.a on Linux/x86-64 in GCC 11 are
-
-With unused section symbols : 39411698 bytes
-Without unused section symbols: 39227002 bytes
-
-The unused section symbols in libstdc++.a occupy more than 180 KB.
-
-Add BSF_SECTION_SYM_USED to indicate if a section symbol should be
-included in the symbol table. The BSF_SECTION_SYM_USED should be set
-if the section symbol is used for relocation or the section symbol is
-always included in the symbol table.
-
-Add keep_unused_section_symbols to bfd_target to indicate if unused
-section symbols should be kept. If TARGET_KEEP_UNUSED_SECTION_SYMBOLS
-is defined as FALSE, unused ection symbols will be removed.
-
-Tested on Linux/x86. Other ELF backends need to:
-
-1. Define TARGET_KEEP_UNUSED_SECTION_SYMBOLS to FALSE.
-2. Mark used section symbols in assembler backend.
-3. Remove unused section symbols from expected assembler and linker
-outputs.
-
-bfd/
-
- PR 27109
- * aix386-core.c (core_aix386_vec): Initialize
- keep_unused_section_symbol to TARGET_KEEP_UNUSED_SECTION_SYMBOLS.
- * aout-target.h (MY (vec)): Likewise.
- * binary.c (binary_vec): Likewise.
- * cisco-core.c (core_cisco_be_vec): Likewise.
- (core_cisco_le_vec): Likewise.
- * coff-alpha.c (alpha_ecoff_le_vec): Likewise.
- * coff-i386.c (TARGET_SYM): Likewise.
- (TARGET_SYM_BIG): Likewise.
- * coff-ia64.c (TARGET_SYM): Likewise.
- * coff-mips.c (mips_ecoff_le_vec): Likewise.
- (mips_ecoff_be_vec): Likewise.
- (mips_ecoff_bele_vec): Likewise.
- * coff-rs6000.c (rs6000_xcoff_vec): Likewise.
- (powerpc_xcoff_vec): Likewise.
- * coff-sh.c (sh_coff_small_vec): Likewise.
- (sh_coff_small_le_vec): Likewise.
- * coff-tic30.c (tic30_coff_vec): Likewise.
- * coff-tic54x.c (tic54x_coff0_vec): Likewise.
- (tic54x_coff0_beh_vec): Likewise.
- (tic54x_coff1_vec): Likewise.
- (tic54x_coff1_beh_vec): Likewise.
- (tic54x_coff2_vec): Likewise.
- (tic54x_coff2_beh_vec): Likewise.
- * coff-x86_64.c (TARGET_SYM): Likewise.
- (TARGET_SYM_BIG): Likewise.
- * coff64-rs6000.c (rs6000_xcoff64_vec): Likewise.
- (rs6000_xcoff64_aix_vec): Likewise.
- * coffcode.h (CREATE_BIG_COFF_TARGET_VEC): Likewise.
- (CREATE_BIGHDR_COFF_TARGET_VEC): Likewise.
- (CREATE_LITTLE_COFF_TARGET_VEC): Likewise.
- * elfxx-target.h (TARGET_BIG_SYM): Likewise.
- (TARGET_LITTLE_SYM): Likewise.
- * hppabsd-core.c (core_hppabsd_vec): Likewise.
- * hpux-core.c (core_hpux_vec): Likewise.
- * i386msdos.c (i386_msdos_vec): Likewise.
- * ihex.c (ihex_vec): Likewise.
- * irix-core.c (core_irix_vec): Likewise.
- * mach-o-target.c (TARGET_NAME): Likewise.
- * mmo.c (mmix_mmo_vec): Likewise.
- * netbsd-core.c (core_netbsd_vec): Likewise.
- * osf-core.c (core_osf_vec): Likewise.
- * pdp11.c (MY (vec)): Likewise.
- * pef.c (pef_vec): Likewise.
- (pef_xlib_vec): Likewise.
- * plugin.c (plugin_vec): Likewise.
- * ppcboot.c (powerpc_boot_vec): Likewise.
- * ptrace-core.c (core_ptrace_vec): Likewise.
- * sco5-core.c (core_sco5_vec): Likewise.
- * som.c (hppa_som_vec): Likewise.
- * srec.c (srec_vec): Likewise.
- (symbolsrec_vec): Likewise.
- * tekhex.c (tekhex_vec): Likewise.
- * trad-core.c (core_trad_vec): Likewise.
- * verilog.c (verilog_vec): Likewise.
- * vms-alpha.c (alpha_vms_vec): Likewise.
- * vms-lib.c (alpha_vms_lib_txt_vec): Likewise.
- * wasm-module.c (wasm_vec): Likewise.
- * xsym.c (sym_vec): Likewise.
- * elf.c (ignore_section_sym): Return TRUE if BSF_SECTION_SYM_USED
- isn't set.
- (elf_map_symbols): Don't include ignored section symbols.
- * elfcode.h (elf_slurp_symbol_table): Also set
- BSF_SECTION_SYM_USED on STT_SECTION symbols.
- * elflink.c (bfd_elf_final_link): Generated section symbols only
- when emitting relocations or reqired.
- * elfxx-x86.h (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New.
- * syms.c (BSF_SECTION_SYM_USED): New.
- * targets.c (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New.
- (bfd_target): Add keep_unused_section_symbols.
- (bfd_keep_unused_section_symbols): New.
- * bfd-in2.h: Regenerated.
-
-binutils/
-
- PR 27109
- * objcopy.c (copy_object): Handle section symbols for
- non-relocatable inputs.
- * testsuite/binutils-all/readelf.exp (readelf_test): Check
- is_elf_unused_section_symbols.
- * testsuite/binutils-all/readelf.s-64: Updated.
- * testsuite/binutils-all/readelf.ss: Likewise.
- * testsuite/binutils-all/readelf.ss-64: Likewise.
- * testsuite/binutils-all/readelf.s-64-unused: New file.
- * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
- * testsuite/binutils-all/readelf.ss-unused: Likewise.
- * testsuite/lib/binutils-common.exp
- (is_elf_unused_section_symbols): New proc.
-
-gas/ChangeLog:
-
- PR 27109
- * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
- section symbol.
- * subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
- * write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
- on the section symbol.
- (set_symtab): Don't generate unused section symbols.
- (maybe_generate_build_notes): Call symbol_mark_used_in_reloc
- on the section symbol.
- * config/obj-elf.c (elf_adjust_symtab): Call
- symbol_mark_used_in_reloc on the group signature symbol.
- * testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
- from expected output.
- * testsuite/gas/elf/elf.exp (run_elf_list_test): Check
- is_elf_unused_section_symbols.
- * testsuite/gas/elf/section2.e: Updated.
- * testsuite/gas/elf/section2.e-unused: New file.
- * testsuite/gas/elf/symver.d: Remove unused section symbols.
- * testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
- * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
- * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
- * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
- * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
- * testsuite/gas/i386/size-1.d: Likewise.
- * testsuite/gas/i386/size-3.d: Likewise.
- * testsuite/gas/i386/svr4.d: Likewise.
- * testsuite/gas/i386/x86-64-size-1.d: Likewise.
- * testsuite/gas/i386/x86-64-size-3.d: Likewise.
- * testsuite/gas/i386/x86-64-size-5.d: Likewise.
- * testsuite/gas/i386/x86-64-unwind.d: Likewise.
-
-ld/
-
- PR 27109
- * testsuite/ld-elf/export-class.sd: Adjust the expected output.
- * testsuite/ld-elf/loadaddr3b.d: Likewise.
- * testsuite/ld-i386/ibt-plt-1.d: Likewise.
- * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
- * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
- * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
- * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
- * testsuite/ld-i386/pr19636-1d.d: Likewise.
- * testsuite/ld-i386/pr19636-1l.d: Likewise.
- * testsuite/ld-i386/pr19636-2c.d: Likewise.
- * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
- * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
- * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
- * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
- * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
- * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
- * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
- * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
- * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
- * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
- * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
- * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
- * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
- * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
- * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
- * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
- * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
- * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
- * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
- * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
- * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
- * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
- * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
- * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
- * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
- * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
- * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
- * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
- * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
- * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
- * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
- * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
- * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
- * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
- * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
- * testsuite/ld-x86-64/pr21038b.d: Likewise.
- * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
- * testsuite/ld-x86-64/pr21038c.d: Likewise.
- * testsuite/ld-x86-64/pr23854.d: Likewise.
- * testsuite/ld-x86-64/pr25416-3.d: Likewise.
- * testsuite/ld-x86-64/pr25416-4.d: Likewise.
- * testsuite/ld-i386/plt-pic.pd: Likewise.
- * testsuite/ld-i386/plt-pic2.dd: Likewise.
- * testsuite/ld-i386/plt.pd: Likewise.
- * testsuite/ld-i386/plt2.dd: Likewise.
- * testsuite/ld-i386/tlsbin.rd: Likewise.
- * testsuite/ld-i386/tlsbin2.rd: Likewise.
- * testsuite/ld-i386/tlsbindesc.rd: Likewise.
- * testsuite/ld-i386/tlsdesc.rd: Likewise.
- * testsuite/ld-i386/tlsgdesc.rd: Likewise.
- * testsuite/ld-i386/tlsnopic.rd: Likewise.
- * testsuite/ld-i386/tlspic.rd: Likewise.
- * testsuite/ld-i386/tlspic2.rd: Likewise.
- * testsuite/ld-x86-64/mpx3.dd: Likewise.
- * testsuite/ld-x86-64/mpx3n.dd: Likewise.
- * testsuite/ld-x86-64/mpx4.dd: Likewise.
- * testsuite/ld-x86-64/mpx4n.dd: Likewise.
- * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
- * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
- * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
- * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
- * testsuite/ld-x86-64/plt.pd: Likewise.
- * testsuite/ld-x86-64/plt2.dd: Likewise.
- * testsuite/ld-x86-64/tlsbin.rd: Likewise.
- * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
- * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
- * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
- * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
- * testsuite/ld-x86-64/tlspic.rd: Likewise.
- * testsuite/ld-x86-64/tlspic2.rd: Likewise.
- * testsuite/ld-elf/sec64k.exp: Check
- is_elf_unused_section_symbols.
----
- bfd/ChangeLog | 76 ++++++++++++++++
- bfd/aix386-core.c | 1 +
- bfd/aout-target.h | 1 +
- bfd/bfd-in2.h | 17 ++++
- bfd/binary.c | 1 +
- bfd/cisco-core.c | 2 +
- bfd/coff-alpha.c | 1 +
- bfd/coff-i386.c | 4 +-
- bfd/coff-ia64.c | 1 +
- bfd/coff-mips.c | 3 +
- bfd/coff-rs6000.c | 2 +
- bfd/coff-sh.c | 2 +
- bfd/coff-tic30.c | 1 +
- bfd/coff-tic54x.c | 26 ++++++
- bfd/coff-x86_64.c | 2 +
- bfd/coff64-rs6000.c | 2 +
- bfd/coffcode.h | 3 +
- bfd/elf.c | 15 +++-
- bfd/elfcode.h | 8 +-
- bfd/elflink.c | 61 +++++++------
- bfd/elfxx-target.h | 6 ++
- bfd/elfxx-x86.h | 3 +
- bfd/hppabsd-core.c | 1 +
- bfd/hpux-core.c | 1 +
- bfd/i386msdos.c | 1 +
- bfd/ihex.c | 1 +
- bfd/irix-core.c | 1 +
- bfd/mach-o-target.c | 1 +
- bfd/mmo.c | 1 +
- bfd/netbsd-core.c | 1 +
- bfd/osf-core.c | 1 +
- bfd/pdp11.c | 1 +
- bfd/pef.c | 2 +
- bfd/plugin.c | 1 +
- bfd/ppcboot.c | 1 +
- bfd/ptrace-core.c | 1 +
- bfd/sco5-core.c | 1 +
- bfd/som.c | 1 +
- bfd/srec.c | 2 +
- bfd/syms.c | 3 +
- bfd/targets.c | 14 +++
- bfd/tekhex.c | 1 +
- bfd/trad-core.c | 1 +
- bfd/verilog.c | 1 +
- bfd/vms-alpha.c | 1 +
- bfd/vms-lib.c | 1 +
- bfd/wasm-module.c | 1 +
- bfd/xsym.c | 1 +
- binutils/ChangeLog | 16 ++++
- binutils/objcopy.c | 24 ++++++
- binutils/testsuite/binutils-all/readelf.exp | 6 +-
- binutils/testsuite/binutils-all/readelf.s-64 | 2 +-
- .../binutils-all/readelf.s-64-unused | 27 ++++++
- binutils/testsuite/binutils-all/readelf.ss | 5 +-
- binutils/testsuite/binutils-all/readelf.ss-64 | 5 +-
- .../binutils-all/readelf.ss-64-unused | 18 ++++
- .../testsuite/binutils-all/readelf.ss-unused | 20 +++++
- binutils/testsuite/lib/binutils-common.exp | 31 +++++++
- gas/ChangeLog | 33 +++++++
- gas/config/obj-elf.c | 3 +
- gas/read.c | 3 +
- gas/subsegs.c | 4 +
- gas/testsuite/gas/cfi/cfi-label.d | 4 +-
- gas/testsuite/gas/elf/elf.exp | 6 +-
- gas/testsuite/gas/elf/section2.e | 7 --
- gas/testsuite/gas/elf/section2.e-unused | 8 ++
- gas/testsuite/gas/elf/symver.d | 4 -
- gas/testsuite/gas/i386/ilp32/elf/symver.d | 4 -
- gas/testsuite/gas/i386/ilp32/x86-64-size-1.d | 24 +++---
- gas/testsuite/gas/i386/ilp32/x86-64-size-3.d | 16 ++--
- gas/testsuite/gas/i386/ilp32/x86-64-size-5.d | 12 +--
- gas/testsuite/gas/i386/ilp32/x86-64-unwind.d | 6 +-
- gas/testsuite/gas/i386/size-1.d | 24 +++---
- gas/testsuite/gas/i386/size-3.d | 16 ++--
- gas/testsuite/gas/i386/svr4.d | 3 -
- gas/testsuite/gas/i386/x86-64-size-1.d | 24 +++---
- gas/testsuite/gas/i386/x86-64-size-3.d | 16 ++--
- gas/testsuite/gas/i386/x86-64-size-5.d | 12 +--
- gas/testsuite/gas/i386/x86-64-unwind.d | 10 +--
- gas/write.c | 43 +++++++---
- ld/ChangeLog | 86 +++++++++++++++++++
- ld/testsuite/ld-elf/export-class.sd | 2 -
- ld/testsuite/ld-elf/loadaddr3b.d | 3 -
- ld/testsuite/ld-elf/sec64k.exp | 14 +--
- ld/testsuite/ld-i386/ibt-plt-1.d | 4 +-
- ld/testsuite/ld-i386/ibt-plt-2a.d | 4 +-
- ld/testsuite/ld-i386/ibt-plt-2c.d | 4 +-
- ld/testsuite/ld-i386/ibt-plt-3a.d | 4 +-
- ld/testsuite/ld-i386/ibt-plt-3c.d | 4 +-
- ld/testsuite/ld-i386/plt-pic.pd | 6 +-
- ld/testsuite/ld-i386/plt-pic2.dd | 6 +-
- ld/testsuite/ld-i386/plt.pd | 6 +-
- ld/testsuite/ld-i386/plt2.dd | 6 +-
- ld/testsuite/ld-i386/pr19636-1d.d | 2 +-
- ld/testsuite/ld-i386/pr19636-1l.d | 2 +-
- ld/testsuite/ld-i386/pr19636-2c.d | 2 +-
- ld/testsuite/ld-i386/tlsbin.rd | 13 ---
- ld/testsuite/ld-i386/tlsbin2.rd | 11 ---
- ld/testsuite/ld-i386/tlsbindesc.rd | 11 ---
- ld/testsuite/ld-i386/tlsdesc.rd | 11 ---
- ld/testsuite/ld-i386/tlsgdesc.rd | 10 ---
- ld/testsuite/ld-i386/tlsnopic.rd | 9 --
- ld/testsuite/ld-i386/tlspic.rd | 12 ---
- ld/testsuite/ld-i386/tlspic2.rd | 10 ---
- ld/testsuite/ld-ifunc/ifunc-2-i386-now.d | 4 +-
- .../ld-ifunc/ifunc-2-local-i386-now.d | 4 +-
- .../ld-ifunc/ifunc-2-local-x86-64-now.d | 4 +-
- ld/testsuite/ld-ifunc/ifunc-2-x86-64-now.d | 4 +-
- ld/testsuite/ld-ifunc/ifunc-21-x86-64.d | 10 +--
- ld/testsuite/ld-ifunc/ifunc-22-x86-64.d | 10 +--
- ld/testsuite/ld-ifunc/pr17154-i386-now.d | 10 +--
- ld/testsuite/ld-ifunc/pr17154-i386.d | 8 +-
- ld/testsuite/ld-ifunc/pr17154-x86-64-now.d | 10 +--
- ld/testsuite/ld-ifunc/pr17154-x86-64.d | 8 +-
- ld/testsuite/ld-x86-64/bnd-branch-1-now.d | 10 +--
- ld/testsuite/ld-x86-64/bnd-ifunc-1-now.d | 2 +-
- ld/testsuite/ld-x86-64/bnd-ifunc-2-now.d | 8 +-
- ld/testsuite/ld-x86-64/bnd-ifunc-2.d | 8 +-
- ld/testsuite/ld-x86-64/bnd-plt-1-now.d | 8 +-
- ld/testsuite/ld-x86-64/bnd-plt-1.d | 8 +-
- ld/testsuite/ld-x86-64/ibt-plt-1-x32.d | 4 +-
- ld/testsuite/ld-x86-64/ibt-plt-1.d | 4 +-
- ld/testsuite/ld-x86-64/ibt-plt-2a-x32.d | 4 +-
- ld/testsuite/ld-x86-64/ibt-plt-2a.d | 4 +-
- ld/testsuite/ld-x86-64/ibt-plt-2c-x32.d | 4 +-
- ld/testsuite/ld-x86-64/ibt-plt-2c.d | 4 +-
- ld/testsuite/ld-x86-64/ibt-plt-3a-x32.d | 4 +-
- ld/testsuite/ld-x86-64/ibt-plt-3a.d | 4 +-
- ld/testsuite/ld-x86-64/ibt-plt-3c-x32.d | 4 +-
- ld/testsuite/ld-x86-64/ibt-plt-3c.d | 4 +-
- ld/testsuite/ld-x86-64/mpx3.dd | 2 +-
- ld/testsuite/ld-x86-64/mpx3n.dd | 2 +-
- ld/testsuite/ld-x86-64/mpx4.dd | 2 +-
- ld/testsuite/ld-x86-64/mpx4n.dd | 2 +-
- ld/testsuite/ld-x86-64/pe-x86-64-1.od | 5 --
- ld/testsuite/ld-x86-64/pe-x86-64-2.od | 5 --
- ld/testsuite/ld-x86-64/pe-x86-64-3.od | 5 --
- ld/testsuite/ld-x86-64/pe-x86-64-4.od | 6 --
- ld/testsuite/ld-x86-64/plt.pd | 6 +-
- ld/testsuite/ld-x86-64/plt2.dd | 6 +-
- ld/testsuite/ld-x86-64/pr19609-4e.d | 4 +-
- ld/testsuite/ld-x86-64/pr19609-6a.d | 2 +-
- ld/testsuite/ld-x86-64/pr19609-6b.d | 2 +-
- ld/testsuite/ld-x86-64/pr19609-7b.d | 2 +-
- ld/testsuite/ld-x86-64/pr19609-7d.d | 2 +-
- ld/testsuite/ld-x86-64/pr19636-2l.d | 6 +-
- ld/testsuite/ld-x86-64/pr20253-1d.d | 12 +--
- ld/testsuite/ld-x86-64/pr20253-1h.d | 12 +--
- ld/testsuite/ld-x86-64/pr21038b-now.d | 2 +-
- ld/testsuite/ld-x86-64/pr21038b.d | 2 +-
- ld/testsuite/ld-x86-64/pr21038c-now.d | 2 +-
- ld/testsuite/ld-x86-64/pr21038c.d | 2 +-
- ld/testsuite/ld-x86-64/pr23854.d | 36 ++++----
- ld/testsuite/ld-x86-64/pr25416-3.d | 4 +-
- ld/testsuite/ld-x86-64/pr25416-4.d | 4 +-
- ld/testsuite/ld-x86-64/tlsbin.rd | 13 ---
- ld/testsuite/ld-x86-64/tlsbin2.rd | 11 ---
- ld/testsuite/ld-x86-64/tlsbindesc.rd | 11 ---
- ld/testsuite/ld-x86-64/tlsdesc.rd | 12 ---
- ld/testsuite/ld-x86-64/tlsgdesc.rd | 10 ---
- ld/testsuite/ld-x86-64/tlspic.rd | 12 ---
- ld/testsuite/ld-x86-64/tlspic2.rd | 12 ---
- 162 files changed, 809 insertions(+), 522 deletions(-)
- create mode 100644 binutils/testsuite/binutils-all/readelf.s-64-unused
- create mode 100644 binutils/testsuite/binutils-all/readelf.ss-64-unused
- create mode 100644 binutils/testsuite/binutils-all/readelf.ss-unused
- create mode 100644 gas/testsuite/gas/elf/section2.e-unused
-
-diff --git a/bfd/ChangeLog b/bfd/ChangeLog
-index ec3ab0a1f7..69313e1cd2 100644
---- a/bfd/ChangeLog
-+++ b/bfd/ChangeLog
-@@ -1,3 +1,79 @@
-+2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
-+
-+ PR 27109
-+ * aix386-core.c (core_aix386_vec): Initialize
-+ keep_unused_section_symbol to TARGET_KEEP_UNUSED_SECTION_SYMBOLS.
-+ * aout-target.h (MY (vec)): Likewise.
-+ * binary.c (binary_vec): Likewise.
-+ * cisco-core.c (core_cisco_be_vec): Likewise.
-+ (core_cisco_le_vec): Likewise.
-+ * coff-alpha.c (alpha_ecoff_le_vec): Likewise.
-+ * coff-i386.c (TARGET_SYM): Likewise.
-+ (TARGET_SYM_BIG): Likewise.
-+ * coff-ia64.c (TARGET_SYM): Likewise.
-+ * coff-mips.c (mips_ecoff_le_vec): Likewise.
-+ (mips_ecoff_be_vec): Likewise.
-+ (mips_ecoff_bele_vec): Likewise.
-+ * coff-rs6000.c (rs6000_xcoff_vec): Likewise.
-+ (powerpc_xcoff_vec): Likewise.
-+ * coff-sh.c (sh_coff_small_vec): Likewise.
-+ (sh_coff_small_le_vec): Likewise.
-+ * coff-tic30.c (tic30_coff_vec): Likewise.
-+ * coff-tic54x.c (tic54x_coff0_vec): Likewise.
-+ (tic54x_coff0_beh_vec): Likewise.
-+ (tic54x_coff1_vec): Likewise.
-+ (tic54x_coff1_beh_vec): Likewise.
-+ (tic54x_coff2_vec): Likewise.
-+ (tic54x_coff2_beh_vec): Likewise.
-+ * coff-x86_64.c (TARGET_SYM): Likewise.
-+ (TARGET_SYM_BIG): Likewise.
-+ * coff64-rs6000.c (rs6000_xcoff64_vec): Likewise.
-+ (rs6000_xcoff64_aix_vec): Likewise.
-+ * coffcode.h (CREATE_BIG_COFF_TARGET_VEC): Likewise.
-+ (CREATE_BIGHDR_COFF_TARGET_VEC): Likewise.
-+ (CREATE_LITTLE_COFF_TARGET_VEC): Likewise.
-+ * elfxx-target.h (TARGET_BIG_SYM): Likewise.
-+ (TARGET_LITTLE_SYM): Likewise.
-+ * hppabsd-core.c (core_hppabsd_vec): Likewise.
-+ * hpux-core.c (core_hpux_vec): Likewise.
-+ * i386msdos.c (i386_msdos_vec): Likewise.
-+ * ihex.c (ihex_vec): Likewise.
-+ * irix-core.c (core_irix_vec): Likewise.
-+ * mach-o-target.c (TARGET_NAME): Likewise.
-+ * mmo.c (mmix_mmo_vec): Likewise.
-+ * netbsd-core.c (core_netbsd_vec): Likewise.
-+ * osf-core.c (core_osf_vec): Likewise.
-+ * pdp11.c (MY (vec)): Likewise.
-+ * pef.c (pef_vec): Likewise.
-+ (pef_xlib_vec): Likewise.
-+ * plugin.c (plugin_vec): Likewise.
-+ * ppcboot.c (powerpc_boot_vec): Likewise.
-+ * ptrace-core.c (core_ptrace_vec): Likewise.
-+ * sco5-core.c (core_sco5_vec): Likewise.
-+ * som.c (hppa_som_vec): Likewise.
-+ * srec.c (srec_vec): Likewise.
-+ (symbolsrec_vec): Likewise.
-+ * tekhex.c (tekhex_vec): Likewise.
-+ * trad-core.c (core_trad_vec): Likewise.
-+ * verilog.c (verilog_vec): Likewise.
-+ * vms-alpha.c (alpha_vms_vec): Likewise.
-+ * vms-lib.c (alpha_vms_lib_txt_vec): Likewise.
-+ * wasm-module.c (wasm_vec): Likewise.
-+ * xsym.c (sym_vec): Likewise.
-+ * elf.c (ignore_section_sym): Return TRUE if BSF_SECTION_SYM_USED
-+ isn't set.
-+ (elf_map_symbols): Don't include ignored section symbols.
-+ * elfcode.h (elf_slurp_symbol_table): Also set
-+ BSF_SECTION_SYM_USED on STT_SECTION symbols.
-+ * elflink.c (bfd_elf_final_link): Generated section symbols only
-+ when emitting relocations or reqired.
-+ * elfxx-x86.h (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New.
-+ * syms.c (BSF_SECTION_SYM_USED): New.
-+ * targets.c (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New.
-+ (bfd_target): Add keep_unused_section_symbols.
-+ (bfd_keep_unused_section_symbols): New.
-+ * bfd-in2.h: Regenerated.
-+
- 2021-01-07 Nick Clifton <nickc@redhat.com>
-
- PR 25713
-diff --git a/bfd/aix386-core.c b/bfd/aix386-core.c
-index d641b81031..68cd642952 100644
---- a/bfd/aix386-core.c
-+++ b/bfd/aix386-core.c
-@@ -239,6 +239,7 @@ const bfd_target core_aix386_vec =
- ' ', /* ar_pad_char */
- 16, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- NO_GET64, NO_GETS64, NO_PUT64,
- NO_GET, NO_GETS, NO_PUT,
- NO_GET, NO_GETS, NO_PUT, /* data */
-diff --git a/bfd/aout-target.h b/bfd/aout-target.h
-index 8c27bb1007..92fc3ed4dd 100644
---- a/bfd/aout-target.h
-+++ b/bfd/aout-target.h
-@@ -660,6 +660,7 @@ const bfd_target MY (vec) =
- AR_PAD_CHAR, /* AR_pad_char. */
- 15, /* AR_max_namelen. */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- #ifdef TARGET_IS_BIG_ENDIAN_P
- bfd_getb64, bfd_getb_signed_64, bfd_putb64,
- bfd_getb32, bfd_getb_signed_32, bfd_putb32,
-diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
-index 43ead185c1..7eff85b7ea 100644
---- a/bfd/bfd-in2.h
-+++ b/bfd/bfd-in2.h
-@@ -6416,6 +6416,9 @@ typedef struct bfd_symbol
- with this name and type in use. BSF_OBJECT must also be set. */
- #define BSF_GNU_UNIQUE (1 << 23)
-
-+ /* This section symbol should be included in the symbol table. */
-+#define BSF_SECTION_SYM_USED (1 << 24)
-+
- flagword flags;
-
- /* A pointer to the section to which this symbol is
-@@ -7291,6 +7294,11 @@ bfd_boolean generic_core_file_matches_executable_p
- (bfd_assert (__FILE__,__LINE__), NULL))
- #endif
-
-+/* Defined to TRUE if unused section symbol should be kept. */
-+#ifndef TARGET_KEEP_UNUSED_SECTION_SYMBOLS
-+#define TARGET_KEEP_UNUSED_SECTION_SYMBOLS TRUE
-+#endif
-+
- enum bfd_flavour
- {
- /* N.B. Update bfd_flavour_name if you change this. */
-@@ -7364,6 +7372,9 @@ typedef struct bfd_target
- possible targets when more than one target matches. */
- unsigned char match_priority;
-
-+ /* TRUE if unused section symbols should be kept. */
-+ bfd_boolean keep_unused_section_symbols;
-+
- /* Entries for byte swapping for data. These are different from the
- other entry points, since they don't take a BFD as the first argument.
- Certain other handlers could do the same. */
-@@ -7794,6 +7805,12 @@ bfd_asymbol_flavour (const asymbol *sy)
- return sy->the_bfd->xvec->flavour;
- }
-
-+static inline bfd_boolean
-+bfd_keep_unused_section_symbols (const bfd *abfd)
-+{
-+ return abfd->xvec->keep_unused_section_symbols;
-+}
-+
- bfd_boolean bfd_set_default_target (const char *name);
-
- const bfd_target *bfd_find_target (const char *target_name, bfd *abfd);
-diff --git a/bfd/binary.c b/bfd/binary.c
-index db1bec02b6..942c66bbd6 100644
---- a/bfd/binary.c
-+++ b/bfd/binary.c
-@@ -335,6 +335,7 @@ const bfd_target binary_vec =
- ' ', /* ar_pad_char */
- 16, /* ar_max_namelen */
- 255, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getb64, bfd_getb_signed_64, bfd_putb64,
- bfd_getb32, bfd_getb_signed_32, bfd_putb32,
- bfd_getb16, bfd_getb_signed_16, bfd_putb16, /* data */
-diff --git a/bfd/cisco-core.c b/bfd/cisco-core.c
-index 1b77829c15..c0e68ade48 100644
---- a/bfd/cisco-core.c
-+++ b/bfd/cisco-core.c
-@@ -329,6 +329,7 @@ const bfd_target core_cisco_be_vec =
- ' ', /* ar_pad_char */
- 16, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getb64, bfd_getb_signed_64, bfd_putb64,
- bfd_getb32, bfd_getb_signed_32, bfd_putb32,
- bfd_getb16, bfd_getb_signed_16, bfd_putb16, /* data */
-@@ -384,6 +385,7 @@ const bfd_target core_cisco_le_vec =
- ' ', /* ar_pad_char */
- 16, /* ar_max_namelen */
- 0, /* match_priority */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- bfd_getl32, bfd_getl_signed_32, bfd_putl32,
- bfd_getl16, bfd_getl_signed_16, bfd_putl16, /* data */
-diff --git a/bfd/coff-alpha.c b/bfd/coff-alpha.c
-index 50b2f973a5..db26587fea 100644
---- a/bfd/coff-alpha.c
-+++ b/bfd/coff-alpha.c
-@@ -2427,6 +2427,7 @@ const bfd_target alpha_ecoff_le_vec =
- ' ', /* ar_pad_char */
- 15, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- bfd_getl32, bfd_getl_signed_32, bfd_putl32,
- bfd_getl16, bfd_getl_signed_16, bfd_putl16, /* data */
-diff --git a/bfd/coff-i386.c b/bfd/coff-i386.c
-index 5048df9daf..e02519564d 100644
---- a/bfd/coff-i386.c
-+++ b/bfd/coff-i386.c
-@@ -651,6 +651,7 @@ const bfd_target
- '/', /* ar_pad_char */
- 15, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
-
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- bfd_getl32, bfd_getl_signed_32, bfd_putl32,
-@@ -729,6 +730,7 @@ const bfd_target
- '/', /* ar_pad_char */
- 15, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
-
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- bfd_getl32, bfd_getl_signed_32, bfd_putl32,
-@@ -772,4 +774,4 @@ const bfd_target
-
- &bigobj_swap_table
- };
--#endif
-\ No newline at end of file
-+#endif
-diff --git a/bfd/coff-ia64.c b/bfd/coff-ia64.c
-index 24a4a7c133..887c7aae77 100644
---- a/bfd/coff-ia64.c
-+++ b/bfd/coff-ia64.c
-@@ -170,6 +170,7 @@ const bfd_target
- '/', /* ar_pad_char */
- 15, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
-
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- bfd_getl32, bfd_getl_signed_32, bfd_putl32,
-diff --git a/bfd/coff-mips.c b/bfd/coff-mips.c
-index 38376b23d7..d20f4b4659 100644
---- a/bfd/coff-mips.c
-+++ b/bfd/coff-mips.c
-@@ -1446,6 +1446,7 @@ const bfd_target mips_ecoff_le_vec =
- ' ', /* ar_pad_char */
- 15, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- bfd_getl32, bfd_getl_signed_32, bfd_putl32,
- bfd_getl16, bfd_getl_signed_16, bfd_putl16, /* data */
-@@ -1504,6 +1505,7 @@ const bfd_target mips_ecoff_be_vec =
- ' ', /* ar_pad_char */
- 15, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getb64, bfd_getb_signed_64, bfd_putb64,
- bfd_getb32, bfd_getb_signed_32, bfd_putb32,
- bfd_getb16, bfd_getb_signed_16, bfd_putb16,
-@@ -1562,6 +1564,7 @@ const bfd_target mips_ecoff_bele_vec =
- ' ', /* ar_pad_char */
- 15, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- bfd_getl32, bfd_getl_signed_32, bfd_putl32,
- bfd_getl16, bfd_getl_signed_16, bfd_putl16, /* data */
-diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c
-index a71791e3f9..fbc1aed311 100644
---- a/bfd/coff-rs6000.c
-+++ b/bfd/coff-rs6000.c
-@@ -4201,6 +4201,7 @@ const bfd_target rs6000_xcoff_vec =
- '/', /* ar_pad_char */
- 15, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
-
- /* data */
- bfd_getb64,
-@@ -4382,6 +4383,7 @@ const bfd_target powerpc_xcoff_vec =
- '/', /* ar_pad_char */
- 15, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
-
- /* data */
- bfd_getb64,
-diff --git a/bfd/coff-sh.c b/bfd/coff-sh.c
-index 99541a76e0..04ef99b777 100644
---- a/bfd/coff-sh.c
-+++ b/bfd/coff-sh.c
-@@ -3134,6 +3134,7 @@ const bfd_target sh_coff_small_vec =
- '/', /* ar_pad_char */
- 15, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getb64, bfd_getb_signed_64, bfd_putb64,
- bfd_getb32, bfd_getb_signed_32, bfd_putb32,
- bfd_getb16, bfd_getb_signed_16, bfd_putb16, /* data */
-@@ -3191,6 +3192,7 @@ const bfd_target sh_coff_small_le_vec =
- '/', /* ar_pad_char */
- 15, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- bfd_getl32, bfd_getl_signed_32, bfd_putl32,
- bfd_getl16, bfd_getl_signed_16, bfd_putl16, /* data */
-diff --git a/bfd/coff-tic30.c b/bfd/coff-tic30.c
-index f3e7df0a3d..f4d3a13ef4 100644
---- a/bfd/coff-tic30.c
-+++ b/bfd/coff-tic30.c
-@@ -192,6 +192,7 @@ const bfd_target tic30_coff_vec =
- '/', /* ar_pad_char */
- 15, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getb64, bfd_getb_signed_64, bfd_putb64,
- bfd_getb32, bfd_getb_signed_32, bfd_putb32,
- bfd_getb16, bfd_getb_signed_16, bfd_putb16, /* data */
-diff --git a/bfd/coff-tic54x.c b/bfd/coff-tic54x.c
-index 914bb2a390..3c18221d24 100644
---- a/bfd/coff-tic54x.c
-+++ b/bfd/coff-tic54x.c
-@@ -415,6 +415,7 @@ const bfd_target tic54x_coff0_vec =
- '/', /* ar_pad_char */
- 15, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- tic54x_getl32, tic54x_getl_signed_32, tic54x_putl32,
- bfd_getl16, bfd_getl_signed_16, bfd_putl16, /* data */
-@@ -472,6 +473,11 @@ const bfd_target tic54x_coff0_beh_vec =
- '/', /* ar_pad_char */
- 15, /* ar_max_namelen */
- 0, /* match priority. */
-+#ifdef TARGET_KEEP_UNUSED_SECTION_SYMBOLS
-+ TRUE, /* keep unused section symbols. */
-+#else
-+ FALSE, /* keep unused section symbols. */
-+#endif
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- tic54x_getl32, tic54x_getl_signed_32, tic54x_putl32,
- bfd_getl16, bfd_getl_signed_16, bfd_putl16, /* data */
-@@ -530,6 +536,11 @@ const bfd_target tic54x_coff1_vec =
- '/', /* ar_pad_char */
- 15, /* ar_max_namelen */
- 0, /* match priority. */
-+#ifdef TARGET_KEEP_UNUSED_SECTION_SYMBOLS
-+ TRUE, /* keep unused section symbols. */
-+#else
-+ FALSE, /* keep unused section symbols. */
-+#endif
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- tic54x_getl32, tic54x_getl_signed_32, tic54x_putl32,
- bfd_getl16, bfd_getl_signed_16, bfd_putl16, /* data */
-@@ -588,6 +599,11 @@ const bfd_target tic54x_coff1_beh_vec =
- '/', /* ar_pad_char */
- 15, /* ar_max_namelen */
- 0, /* match priority. */
-+#ifdef TARGET_KEEP_UNUSED_SECTION_SYMBOLS
-+ TRUE, /* keep unused section symbols. */
-+#else
-+ FALSE, /* keep unused section symbols. */
-+#endif
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- tic54x_getl32, tic54x_getl_signed_32, tic54x_putl32,
- bfd_getl16, bfd_getl_signed_16, bfd_putl16, /* data */
-@@ -646,6 +662,11 @@ const bfd_target tic54x_coff2_vec =
- '/', /* ar_pad_char */
- 15, /* ar_max_namelen */
- 0, /* match priority. */
-+#ifdef TARGET_KEEP_UNUSED_SECTION_SYMBOLS
-+ TRUE, /* keep unused section symbols. */
-+#else
-+ FALSE, /* keep unused section symbols. */
-+#endif
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- tic54x_getl32, tic54x_getl_signed_32, tic54x_putl32,
- bfd_getl16, bfd_getl_signed_16, bfd_putl16, /* data */
-@@ -704,6 +725,11 @@ const bfd_target tic54x_coff2_beh_vec =
- '/', /* ar_pad_char */
- 15, /* ar_max_namelen */
- 0, /* match priority. */
-+#ifdef TARGET_KEEP_UNUSED_SECTION_SYMBOLS
-+ TRUE, /* keep unused section symbols. */
-+#else
-+ FALSE, /* keep unused section symbols. */
-+#endif
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- tic54x_getl32, tic54x_getl_signed_32, tic54x_putl32,
- bfd_getl16, bfd_getl_signed_16, bfd_putl16, /* data */
-diff --git a/bfd/coff-x86_64.c b/bfd/coff-x86_64.c
-index 0279ce23c8..adab60cd11 100644
---- a/bfd/coff-x86_64.c
-+++ b/bfd/coff-x86_64.c
-@@ -782,6 +782,7 @@ const bfd_target
- '/', /* Ar_pad_char. */
- 15, /* Ar_max_namelen. */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
-
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- bfd_getl32, bfd_getl_signed_32, bfd_putl32,
-@@ -854,6 +855,7 @@ const bfd_target
- '/', /* Ar_pad_char. */
- 15, /* Ar_max_namelen. */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
-
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- bfd_getl32, bfd_getl_signed_32, bfd_putl32,
-diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c
-index a3b17020c1..9aa0304ec9 100644
---- a/bfd/coff64-rs6000.c
-+++ b/bfd/coff64-rs6000.c
-@@ -2665,6 +2665,7 @@ const bfd_target rs6000_xcoff64_vec =
- '/', /* ar_pad_char */
- 15, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
-
- /* data */
- bfd_getb64,
-@@ -2928,6 +2929,7 @@ const bfd_target rs6000_xcoff64_aix_vec =
- '/', /* ar_pad_char */
- 15, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
-
- /* data */
- bfd_getb64,
-diff --git a/bfd/coffcode.h b/bfd/coffcode.h
-index 21820da453..2fd699ff1b 100644
---- a/bfd/coffcode.h
-+++ b/bfd/coffcode.h
-@@ -5820,6 +5820,7 @@ const bfd_target VAR = \
- '/', /* AR_pad_char. */ \
- 15, /* AR_max_namelen. */ \
- 0, /* match priority. */ \
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */ \
- \
- /* Data conversion functions. */ \
- bfd_getb64, bfd_getb_signed_64, bfd_putb64, \
-@@ -5881,6 +5882,7 @@ const bfd_target VAR = \
- '/', /* AR_pad_char. */ \
- 15, /* AR_max_namelen. */ \
- 0, /* match priority. */ \
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */ \
- \
- /* Data conversion functions. */ \
- bfd_getb64, bfd_getb_signed_64, bfd_putb64, \
-@@ -5942,6 +5944,7 @@ const bfd_target VAR = \
- '/', /* AR_pad_char. */ \
- 15, /* AR_max_namelen. */ \
- 0, /* match priority. */ \
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */ \
- \
- /* Data conversion functions. */ \
- bfd_getl64, bfd_getl_signed_64, bfd_putl64, \
-diff --git a/bfd/elf.c b/bfd/elf.c
-index 3f4ccd2055..ab19bdb453 100644
---- a/bfd/elf.c
-+++ b/bfd/elf.c
-@@ -4061,6 +4061,10 @@ ignore_section_sym (bfd *abfd, asymbol *sym)
- if ((sym->flags & BSF_SECTION_SYM) == 0)
- return FALSE;
-
-+ /* Ignore the section symbol if it isn't used. */
-+ if ((sym->flags & BSF_SECTION_SYM_USED) == 0)
-+ return TRUE;
-+
- if (sym->section == NULL)
- return TRUE;
-
-@@ -4148,7 +4152,10 @@ elf_map_symbols (bfd *abfd, unsigned int *pnum_locals)
- at least in that case. */
- for (asect = abfd->sections; asect; asect = asect->next)
- {
-- if (sect_syms[asect->index] == NULL)
-+ asymbol *sym = asect->symbol;
-+ /* Don't include ignored section symbols. */
-+ if (!ignore_section_sym (abfd, sym)
-+ && sect_syms[asect->index] == NULL)
- {
- if (!sym_is_global (abfd, asect->symbol))
- num_locals++;
-@@ -4170,6 +4177,7 @@ elf_map_symbols (bfd *abfd, unsigned int *pnum_locals)
-
- if (sym_is_global (abfd, sym))
- i = num_locals + num_globals2++;
-+ /* Don't include ignored section symbols. */
- else if (!ignore_section_sym (abfd, sym))
- i = num_locals2++;
- else
-@@ -4179,9 +4187,10 @@ elf_map_symbols (bfd *abfd, unsigned int *pnum_locals)
- }
- for (asect = abfd->sections; asect; asect = asect->next)
- {
-- if (sect_syms[asect->index] == NULL)
-+ asymbol *sym = asect->symbol;
-+ if (!ignore_section_sym (abfd, sym)
-+ && sect_syms[asect->index] == NULL)
- {
-- asymbol *sym = asect->symbol;
- unsigned int i;
-
- sect_syms[asect->index] = sym;
-diff --git a/bfd/elfcode.h b/bfd/elfcode.h
-index b40fb4a1f5..4e99fcc6b9 100644
---- a/bfd/elfcode.h
-+++ b/bfd/elfcode.h
-@@ -1347,7 +1347,13 @@ elf_slurp_symbol_table (bfd *abfd, asymbol **symptrs, bfd_boolean dynamic)
- switch (ELF_ST_TYPE (isym->st_info))
- {
- case STT_SECTION:
-- sym->symbol.flags |= BSF_SECTION_SYM | BSF_DEBUGGING;
-+ /* Mark the input section symbol as used since it may be
-+ used for relocation and section group.
-+ NB: BSF_SECTION_SYM_USED is ignored by linker and may
-+ be cleared by objcopy for non-relocatable inputs. */
-+ sym->symbol.flags |= (BSF_SECTION_SYM
-+ | BSF_DEBUGGING
-+ | BSF_SECTION_SYM_USED);
- break;
- case STT_FILE:
- sym->symbol.flags |= BSF_FILE | BSF_DEBUGGING;
-diff --git a/bfd/elflink.c b/bfd/elflink.c
-index 4c54b1a159..a7c952b6fc 100644
---- a/bfd/elflink.c
-+++ b/bfd/elflink.c
-@@ -12527,9 +12527,6 @@ bfd_elf_final_link (bfd *abfd, struct bfd_link_info *info)
-
- if (info->strip != strip_all || emit_relocs)
- {
-- bfd_boolean name_local_sections;
-- const char *name;
--
- file_ptr off = elf_next_file_pos (abfd);
-
- _bfd_elf_assign_file_position_for_section (symtab_hdr, off, TRUE);
-@@ -12550,36 +12547,38 @@ bfd_elf_final_link (bfd *abfd, struct bfd_link_info *info)
- bfd_und_section_ptr, NULL) != 1)
- goto error_return;
-
-- /* Output a symbol for each section. We output these even if we are
-- discarding local symbols, since they are used for relocs. These
-- symbols usually have no names. We store the index of each one in
-- the index field of the section, so that we can find it again when
-- outputting relocs. */
-+ /* Output a symbol for each section if asked or they are used for
-+ relocs. These symbols usually have no names. We store the
-+ index of each one in the index field of the section, so that
-+ we can find it again when outputting relocs. */
-
-- name_local_sections
-- = (bed->elf_backend_name_local_section_symbols
-- && bed->elf_backend_name_local_section_symbols (abfd));
-+ if (bfd_keep_unused_section_symbols (abfd) || emit_relocs)
-+ {
-+ bfd_boolean name_local_sections
-+ = (bed->elf_backend_name_local_section_symbols
-+ && bed->elf_backend_name_local_section_symbols (abfd));
-+ const char *name = NULL;
-
-- name = NULL;
-- elfsym.st_size = 0;
-- elfsym.st_info = ELF_ST_INFO (STB_LOCAL, STT_SECTION);
-- elfsym.st_other = 0;
-- elfsym.st_value = 0;
-- elfsym.st_target_internal = 0;
-- for (i = 1; i < elf_numsections (abfd); i++)
-- {
-- o = bfd_section_from_elf_index (abfd, i);
-- if (o != NULL)
-- {
-- o->target_index = bfd_get_symcount (abfd);
-- elfsym.st_shndx = i;
-- if (!bfd_link_relocatable (info))
-- elfsym.st_value = o->vma;
-- if (name_local_sections)
-- name = o->name;
-- if (elf_link_output_symstrtab (&flinfo, name, &elfsym, o,
-- NULL) != 1)
-- goto error_return;
-+ elfsym.st_size = 0;
-+ elfsym.st_info = ELF_ST_INFO (STB_LOCAL, STT_SECTION);
-+ elfsym.st_other = 0;
-+ elfsym.st_value = 0;
-+ elfsym.st_target_internal = 0;
-+ for (i = 1; i < elf_numsections (abfd); i++)
-+ {
-+ o = bfd_section_from_elf_index (abfd, i);
-+ if (o != NULL)
-+ {
-+ o->target_index = bfd_get_symcount (abfd);
-+ elfsym.st_shndx = i;
-+ if (!bfd_link_relocatable (info))
-+ elfsym.st_value = o->vma;
-+ if (name_local_sections)
-+ name = o->name;
-+ if (elf_link_output_symstrtab (&flinfo, name, &elfsym, o,
-+ NULL) != 1)
-+ goto error_return;
-+ }
- }
- }
- }
-diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h
-index cae1fbf0bb..c930b767bf 100644
---- a/bfd/elfxx-target.h
-+++ b/bfd/elfxx-target.h
-@@ -1007,6 +1007,9 @@ const bfd_target TARGET_BIG_SYM =
-
- elf_match_priority,
-
-+ /* TRUE if unused section symbols should be kept. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS,
-+
- /* Routines to byte-swap various sized integers from the data sections */
- bfd_getb64, bfd_getb_signed_64, bfd_putb64,
- bfd_getb32, bfd_getb_signed_32, bfd_putb32,
-@@ -1108,6 +1111,9 @@ const bfd_target TARGET_LITTLE_SYM =
-
- elf_match_priority,
-
-+ /* TRUE if unused section symbols should be kept. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS,
-+
- /* Routines to byte-swap various sized integers from the data sections */
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- bfd_getl32, bfd_getl_signed_32, bfd_putl32,
-diff --git a/bfd/elfxx-x86.h b/bfd/elfxx-x86.h
-index cc8149d06b..e11e06bdad 100644
---- a/bfd/elfxx-x86.h
-+++ b/bfd/elfxx-x86.h
-@@ -18,6 +18,9 @@
- Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
- MA 02110-1301, USA. */
-
-+/* Don't generate unused section symbols. */
-+#define TARGET_KEEP_UNUSED_SECTION_SYMBOLS FALSE
-+
- #include "sysdep.h"
- #include "bfd.h"
- #include "bfdlink.h"
-diff --git a/bfd/hppabsd-core.c b/bfd/hppabsd-core.c
-index d2c8a94b94..c36e467ae1 100644
---- a/bfd/hppabsd-core.c
-+++ b/bfd/hppabsd-core.c
-@@ -230,6 +230,7 @@ const bfd_target core_hppabsd_vec =
- 0, /* symbol prefix */
- ' ', /* ar_pad_char */
- 16, /* ar_max_namelen */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- NO_GET64, NO_GETS64, NO_PUT64, /* 64 bit data */
- NO_GET, NO_GETS, NO_PUT, /* 32 bit data */
- NO_GET, NO_GETS, NO_PUT, /* 16 bit data */
-diff --git a/bfd/hpux-core.c b/bfd/hpux-core.c
-index 42f84247d8..03d0de3382 100644
---- a/bfd/hpux-core.c
-+++ b/bfd/hpux-core.c
-@@ -392,6 +392,7 @@ const bfd_target core_hpux_vec =
- ' ', /* ar_pad_char */
- 16, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- NO_GET64, NO_GETS64, NO_PUT64, /* 64 bit data */
- NO_GET, NO_GETS, NO_PUT, /* 32 bit data */
- NO_GET, NO_GETS, NO_PUT, /* 16 bit data */
-diff --git a/bfd/i386msdos.c b/bfd/i386msdos.c
-index 526561e3ae..6254b2aa2e 100644
---- a/bfd/i386msdos.c
-+++ b/bfd/i386msdos.c
-@@ -279,6 +279,7 @@ const bfd_target i386_msdos_vec =
- ' ', /* ar_pad_char */
- 16, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- bfd_getl32, bfd_getl_signed_32, bfd_putl32,
- bfd_getl16, bfd_getl_signed_16, bfd_putl16, /* data */
-diff --git a/bfd/ihex.c b/bfd/ihex.c
-index 65431025ea..13dd106817 100644
---- a/bfd/ihex.c
-+++ b/bfd/ihex.c
-@@ -981,6 +981,7 @@ const bfd_target ihex_vec =
- ' ', /* AR_pad_char. */
- 16, /* AR_max_namelen. */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getb64, bfd_getb_signed_64, bfd_putb64,
- bfd_getb32, bfd_getb_signed_32, bfd_putb32,
- bfd_getb16, bfd_getb_signed_16, bfd_putb16, /* Data. */
-diff --git a/bfd/irix-core.c b/bfd/irix-core.c
-index d00f4917c1..e4fb622d69 100644
---- a/bfd/irix-core.c
-+++ b/bfd/irix-core.c
-@@ -293,6 +293,7 @@ const bfd_target core_irix_vec =
- ' ', /* ar_pad_char */
- 16, /* ar_max_namelen */
- 0, /* match_priority */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- NO_GET64, NO_GETS64, NO_PUT64, /* 64 bit data */
- NO_GET, NO_GETS, NO_PUT, /* 32 bit data */
- NO_GET, NO_GETS, NO_PUT, /* 16 bit data */
-diff --git a/bfd/mach-o-target.c b/bfd/mach-o-target.c
-index 993c9747b5..3b45433653 100644
---- a/bfd/mach-o-target.c
-+++ b/bfd/mach-o-target.c
-@@ -136,6 +136,7 @@ const bfd_target TARGET_NAME =
- ' ', /* ar_pad_char. */
- 16, /* ar_max_namelen. */
- TARGET_PRIORITY, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
-
- #if TARGET_BIG_ENDIAN
- bfd_getb64, bfd_getb_signed_64, bfd_putb64,
-diff --git a/bfd/mmo.c b/bfd/mmo.c
-index a31ddef81e..4ba62d0bc6 100644
---- a/bfd/mmo.c
-+++ b/bfd/mmo.c
-@@ -3344,6 +3344,7 @@ const bfd_target mmix_mmo_vec =
- ' ', /* ar_pad_char */
- 16, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getb64, bfd_getb_signed_64, bfd_putb64,
- bfd_getb32, bfd_getb_signed_32, bfd_putb32,
- bfd_getb16, bfd_getb_signed_16, bfd_putb16, /* data */
-diff --git a/bfd/netbsd-core.c b/bfd/netbsd-core.c
-index a1f88207b1..60fa69d142 100644
---- a/bfd/netbsd-core.c
-+++ b/bfd/netbsd-core.c
-@@ -276,6 +276,7 @@ const bfd_target core_netbsd_vec =
- ' ', /* ar_pad_char. */
- 16, /* ar_max_namelen. */
- 0, /* Match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- NO_GET64, NO_GETS64, NO_PUT64, /* 64 bit data. */
- NO_GET, NO_GETS, NO_PUT, /* 32 bit data. */
- NO_GET, NO_GETS, NO_PUT, /* 16 bit data. */
-diff --git a/bfd/osf-core.c b/bfd/osf-core.c
-index f91b2aac14..17cc532396 100644
---- a/bfd/osf-core.c
-+++ b/bfd/osf-core.c
-@@ -187,6 +187,7 @@ const bfd_target core_osf_vec =
- ' ', /* ar_pad_char */
- 16, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- NO_GET64, NO_GETS64, NO_PUT64, /* 64 bit data */
- NO_GET, NO_GETS, NO_PUT, /* 32 bit data */
- NO_GET, NO_GETS, NO_PUT, /* 16 bit data */
-diff --git a/bfd/pdp11.c b/bfd/pdp11.c
-index 914dcaa5de..8992f4e543 100644
---- a/bfd/pdp11.c
-+++ b/bfd/pdp11.c
-@@ -4689,6 +4689,7 @@ const bfd_target MY (vec) =
- AR_PAD_CHAR, /* AR_pad_char. */
- 15, /* AR_max_namelen. */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- bfd_getp32, bfd_getp_signed_32, bfd_putp32,
- bfd_getl16, bfd_getl_signed_16, bfd_putl16, /* Data. */
-diff --git a/bfd/pef.c b/bfd/pef.c
-index 85030e5463..93bc933eec 100644
---- a/bfd/pef.c
-+++ b/bfd/pef.c
-@@ -1015,6 +1015,7 @@ const bfd_target pef_vec =
- ' ', /* AR_pad_char. */
- 16, /* AR_max_namelen. */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getb64, bfd_getb_signed_64, bfd_putb64,
- bfd_getb32, bfd_getb_signed_32, bfd_putb32,
- bfd_getb16, bfd_getb_signed_16, bfd_putb16, /* Data. */
-@@ -1159,6 +1160,7 @@ const bfd_target pef_xlib_vec =
- ' ', /* AR_pad_char. */
- 16, /* AR_max_namelen. */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getb64, bfd_getb_signed_64, bfd_putb64,
- bfd_getb32, bfd_getb_signed_32, bfd_putb32,
- bfd_getb16, bfd_getb_signed_16, bfd_putb16, /* Data. */
-diff --git a/bfd/plugin.c b/bfd/plugin.c
-index d733f6afdf..d1767b0134 100644
---- a/bfd/plugin.c
-+++ b/bfd/plugin.c
-@@ -719,6 +719,7 @@ const bfd_target plugin_vec =
- '/', /* ar_pad_char. */
- 15, /* ar_max_namelen. */
- 255, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
-
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- bfd_getl32, bfd_getl_signed_32, bfd_putl32,
-diff --git a/bfd/ppcboot.c b/bfd/ppcboot.c
-index e3ade1cdf0..5cdd7adbbd 100644
---- a/bfd/ppcboot.c
-+++ b/bfd/ppcboot.c
-@@ -495,6 +495,7 @@ const bfd_target powerpc_boot_vec =
- ' ', /* ar_pad_char */
- 16, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getb64, bfd_getb_signed_64, bfd_putb64,
- bfd_getb32, bfd_getb_signed_32, bfd_putb32,
- bfd_getb16, bfd_getb_signed_16, bfd_putb16, /* data */
-diff --git a/bfd/ptrace-core.c b/bfd/ptrace-core.c
-index 7cf47af10b..d21a61ce3f 100644
---- a/bfd/ptrace-core.c
-+++ b/bfd/ptrace-core.c
-@@ -177,6 +177,7 @@ const bfd_target core_ptrace_vec =
- 0, /* symbol prefix */
- ' ', /* ar_pad_char */
- 16, /* ar_max_namelen */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- NO_GET64, NO_GETS64, NO_PUT64, /* 64 bit data */
- NO_GET, NO_GETS, NO_PUT, /* 32 bit data */
- NO_GET, NO_GETS, NO_PUT, /* 16 bit data */
-diff --git a/bfd/sco5-core.c b/bfd/sco5-core.c
-index c543c38be1..167dba9f32 100644
---- a/bfd/sco5-core.c
-+++ b/bfd/sco5-core.c
-@@ -358,6 +358,7 @@ const bfd_target core_sco5_vec =
- ' ', /* ar_pad_char */
- 16, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- NO_GET64, NO_GETS64, NO_PUT64, /* 64 bit data */
- NO_GET, NO_GETS, NO_PUT, /* 32 bit data */
- NO_GET, NO_GETS, NO_PUT, /* 16 bit data */
-diff --git a/bfd/som.c b/bfd/som.c
-index 5897ae6c5b..872e93341d 100644
---- a/bfd/som.c
-+++ b/bfd/som.c
-@@ -6859,6 +6859,7 @@ const bfd_target hppa_som_vec =
- '/', /* AR_pad_char. */
- 14, /* AR_max_namelen. */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getb64, bfd_getb_signed_64, bfd_putb64,
- bfd_getb32, bfd_getb_signed_32, bfd_putb32,
- bfd_getb16, bfd_getb_signed_16, bfd_putb16, /* Data. */
-diff --git a/bfd/srec.c b/bfd/srec.c
-index e21d7f8b80..92faf3dc82 100644
---- a/bfd/srec.c
-+++ b/bfd/srec.c
-@@ -1295,6 +1295,7 @@ const bfd_target srec_vec =
- ' ', /* AR_pad_char. */
- 16, /* AR_max_namelen. */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getb64, bfd_getb_signed_64, bfd_putb64,
- bfd_getb32, bfd_getb_signed_32, bfd_putb32,
- bfd_getb16, bfd_getb_signed_16, bfd_putb16, /* Data. */
-@@ -1351,6 +1352,7 @@ const bfd_target symbolsrec_vec =
- ' ', /* AR_pad_char. */
- 16, /* AR_max_namelen. */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getb64, bfd_getb_signed_64, bfd_putb64,
- bfd_getb32, bfd_getb_signed_32, bfd_putb32,
- bfd_getb16, bfd_getb_signed_16, bfd_putb16, /* Data. */
-diff --git a/bfd/syms.c b/bfd/syms.c
-index 9559ab4580..10ea8bd7b8 100644
---- a/bfd/syms.c
-+++ b/bfd/syms.c
-@@ -307,6 +307,9 @@ CODE_FRAGMENT
- . with this name and type in use. BSF_OBJECT must also be set. *}
- .#define BSF_GNU_UNIQUE (1 << 23)
- .
-+. {* This section symbol should be included in the symbol table. *}
-+.#define BSF_SECTION_SYM_USED (1 << 24)
-+.
- . flagword flags;
- .
- . {* A pointer to the section to which this symbol is
-diff --git a/bfd/targets.c b/bfd/targets.c
-index 8086f03e46..076441b3a2 100644
---- a/bfd/targets.c
-+++ b/bfd/targets.c
-@@ -132,6 +132,11 @@ DESCRIPTION
- . (((bfd)->xvec->message[(int) ((bfd)->format)]) arglist) : \
- . (bfd_assert (__FILE__,__LINE__), NULL))
- .#endif
-+.
-+.{* Defined to TRUE if unused section symbol should be kept. *}
-+.#ifndef TARGET_KEEP_UNUSED_SECTION_SYMBOLS
-+.#define TARGET_KEEP_UNUSED_SECTION_SYMBOLS TRUE
-+.#endif
- .
- This is the structure which defines the type of BFD this is. The
- <<xvec>> member of the struct <<bfd>> itself points here. Each
-@@ -215,6 +220,9 @@ DESCRIPTION
- . possible targets when more than one target matches. *}
- . unsigned char match_priority;
- .
-+. {* TRUE if unused section symbols should be kept. *}
-+. bfd_boolean keep_unused_section_symbols;
-+.
- . {* Entries for byte swapping for data. These are different from the
- . other entry points, since they don't take a BFD as the first argument.
- . Certain other handlers could do the same. *}
-@@ -655,6 +663,12 @@ to find an alternative output format that is suitable.
- . return sy->the_bfd->xvec->flavour;
- .}
- .
-+.static inline bfd_boolean
-+.bfd_keep_unused_section_symbols (const bfd *abfd)
-+.{
-+. return abfd->xvec->keep_unused_section_symbols;
-+.}
-+.
- */
-
- /* All known xvecs (even those that don't compile on all systems).
-diff --git a/bfd/tekhex.c b/bfd/tekhex.c
-index 99d54dbdb8..6599a4f3f4 100644
---- a/bfd/tekhex.c
-+++ b/bfd/tekhex.c
-@@ -1008,6 +1008,7 @@ const bfd_target tekhex_vec =
- ' ', /* AR_pad_char. */
- 16, /* AR_max_namelen. */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getb64, bfd_getb_signed_64, bfd_putb64,
- bfd_getb32, bfd_getb_signed_32, bfd_putb32,
- bfd_getb16, bfd_getb_signed_16, bfd_putb16, /* Data. */
-diff --git a/bfd/trad-core.c b/bfd/trad-core.c
-index 1a4dbe6bf8..14627cb72e 100644
---- a/bfd/trad-core.c
-+++ b/bfd/trad-core.c
-@@ -279,6 +279,7 @@ const bfd_target core_trad_vec =
- ' ', /* ar_pad_char */
- 16, /* ar_max_namelen */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- NO_GET64, NO_GETS64, NO_PUT64, /* 64 bit data */
- NO_GET, NO_GETS, NO_PUT, /* 32 bit data */
- NO_GET, NO_GETS, NO_PUT, /* 16 bit data */
-diff --git a/bfd/verilog.c b/bfd/verilog.c
-index a54f6b04eb..94a9cc8045 100644
---- a/bfd/verilog.c
-+++ b/bfd/verilog.c
-@@ -405,6 +405,7 @@ const bfd_target verilog_vec =
- ' ', /* AR_pad_char. */
- 16, /* AR_max_namelen. */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getb64, bfd_getb_signed_64, bfd_putb64,
- bfd_getb32, bfd_getb_signed_32, bfd_putb32,
- bfd_getb16, bfd_getb_signed_16, bfd_putb16, /* Data. */
-diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c
-index 72d89e518f..94001cc3bf 100644
---- a/bfd/vms-alpha.c
-+++ b/bfd/vms-alpha.c
-@@ -9792,6 +9792,7 @@ const bfd_target alpha_vms_vec =
- ' ', /* ar_pad_char. */
- 15, /* ar_max_namelen. */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- bfd_getl32, bfd_getl_signed_32, bfd_putl32,
- bfd_getl16, bfd_getl_signed_16, bfd_putl16,
-diff --git a/bfd/vms-lib.c b/bfd/vms-lib.c
-index 3752b91139..eaac8af2a2 100644
---- a/bfd/vms-lib.c
-+++ b/bfd/vms-lib.c
-@@ -2403,6 +2403,7 @@ const bfd_target alpha_vms_lib_txt_vec =
- ' ', /* ar_pad_char. */
- 15, /* ar_max_namelen. */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- bfd_getl32, bfd_getl_signed_32, bfd_putl32,
- bfd_getl16, bfd_getl_signed_16, bfd_putl16,
-diff --git a/bfd/wasm-module.c b/bfd/wasm-module.c
-index 1fde4a57ab..dc135645f4 100644
---- a/bfd/wasm-module.c
-+++ b/bfd/wasm-module.c
-@@ -794,6 +794,7 @@ const bfd_target wasm_vec =
- ' ', /* AR_pad_char. */
- 255, /* AR_max_namelen. */
- 0, /* Match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- /* Routines to byte-swap various sized integers from the data sections. */
- bfd_getl64, bfd_getl_signed_64, bfd_putl64,
- bfd_getl32, bfd_getl_signed_32, bfd_putl32,
-diff --git a/bfd/xsym.c b/bfd/xsym.c
-index ea26603141..e9283f63ad 100644
---- a/bfd/xsym.c
-+++ b/bfd/xsym.c
-@@ -2298,6 +2298,7 @@ const bfd_target sym_vec =
- ' ', /* AR_pad_char. */
- 16, /* AR_max_namelen. */
- 0, /* match priority. */
-+ TARGET_KEEP_UNUSED_SECTION_SYMBOLS, /* keep unused section symbols. */
- bfd_getb64, bfd_getb_signed_64, bfd_putb64,
- bfd_getb32, bfd_getb_signed_32, bfd_putb32,
- bfd_getb16, bfd_getb_signed_16, bfd_putb16, /* Data. */
-diff --git a/binutils/ChangeLog b/binutils/ChangeLog
-index c3b21c6a7a..c308759c98 100644
---- a/binutils/ChangeLog
-+++ b/binutils/ChangeLog
-@@ -1,3 +1,19 @@
-+2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
-+
-+ PR 27109
-+ * objcopy.c (copy_object): Handle section symbols for
-+ non-relocatable inputs.
-+ * testsuite/binutils-all/readelf.exp (readelf_test): Check
-+ is_elf_unused_section_symbols.
-+ * testsuite/binutils-all/readelf.s-64: Updated.
-+ * testsuite/binutils-all/readelf.ss: Likewise.
-+ * testsuite/binutils-all/readelf.ss-64: Likewise.
-+ * testsuite/binutils-all/readelf.s-64-unused: New file.
-+ * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
-+ * testsuite/binutils-all/readelf.ss-unused: Likewise.
-+ * testsuite/lib/binutils-common.exp
-+ (is_elf_unused_section_symbols): New proc.
-+
- 2021-01-06 Reuben Thomas <rrt@sc3d.org>
-
- * binutils/readelf.c: Correct grammar in comment.
-diff --git a/binutils/objcopy.c b/binutils/objcopy.c
-index 560e7c648d..62ee22202f 100644
---- a/binutils/objcopy.c
-+++ b/binutils/objcopy.c
-@@ -3204,6 +3204,30 @@ copy_object (bfd *ibfd, bfd *obfd, const bfd_arch_info_type *input_arch)
- if (convert_debugging)
- dhandle = read_debugging_info (ibfd, isympp, symcount, FALSE);
-
-+ if ((obfd->flags & (EXEC_P | DYNAMIC)) != 0
-+ && (obfd->flags & HAS_RELOC) == 0)
-+ {
-+ if (bfd_keep_unused_section_symbols (obfd))
-+ {
-+ /* Non-relocatable inputs may not have the unused section
-+ symbols. Mark all section symbols as used to generate
-+ section symbols. */
-+ asection *asect;
-+ for (asect = obfd->sections; asect != NULL; asect = asect->next)
-+ if (asect->symbol)
-+ asect->symbol->flags |= BSF_SECTION_SYM_USED;
-+ }
-+ else
-+ {
-+ /* Non-relocatable inputs may have the unused section symbols.
-+ Mark all section symbols as unused to excluded them. */
-+ long s;
-+ for (s = 0; s < symcount; s++)
-+ if ((isympp[s]->flags & BSF_SECTION_SYM_USED))
-+ isympp[s]->flags &= ~BSF_SECTION_SYM_USED;
-+ }
-+ }
-+
- if (strip_symbols == STRIP_DEBUG
- || strip_symbols == STRIP_ALL
- || strip_symbols == STRIP_UNNEEDED
-diff --git a/binutils/testsuite/binutils-all/readelf.exp b/binutils/testsuite/binutils-all/readelf.exp
-index 4834233ad3..51d26b762b 100644
---- a/binutils/testsuite/binutils-all/readelf.exp
-+++ b/binutils/testsuite/binutils-all/readelf.exp
-@@ -100,7 +100,11 @@ proc readelf_test { options binary_file regexp_file xfails } {
- return
- }
-
-- set target_machine ""
-+ if { [is_elf_unused_section_symbols ] } {
-+ set target_machine unused
-+ } else {
-+ set target_machine ""
-+ }
- if [istarget "mips*-*-*"] then {
- if [is_bad_symtab] then {
- set target_machine mips
-diff --git a/binutils/testsuite/binutils-all/readelf.s-64 b/binutils/testsuite/binutils-all/readelf.s-64
-index a1e6cd1bbd..5582d77c37 100644
---- a/binutils/testsuite/binutils-all/readelf.s-64
-+++ b/binutils/testsuite/binutils-all/readelf.s-64
-@@ -18,7 +18,7 @@ Section Headers:
- +\[ .\] .symtab +SYMTAB +0000000000000000 +0+.*
- # aarch64-elf targets have one more data symbol.
- # x86 targets may have .note.gnu.property.
-- +0+.* +0000000000000018 +(6|7) +(6|7) +8
-+ +0+.* +0000000000000018 +(6|7) +(3|4) +8
- +\[ .\] .strtab +STRTAB +0000000000000000 +0+.*
- +0+.* +0000000000000000 .* +0 +0 +1
- +\[ .\] .shstrtab +STRTAB +0000000000000000 +[0-9a-f]+
-diff --git a/binutils/testsuite/binutils-all/readelf.s-64-unused b/binutils/testsuite/binutils-all/readelf.s-64-unused
-new file mode 100644
-index 0000000000..a1e6cd1bbd
---- /dev/null
-+++ b/binutils/testsuite/binutils-all/readelf.s-64-unused
-@@ -0,0 +1,27 @@
-+There are .* section headers, starting at offset .*:
-+
-+Section Headers:
-+ +\[Nr\] Name +Type +Address +Offset
-+ +Size +EntSize +Flags +Link +Info +Align
-+ +\[ 0\] +NULL +0000000000000000 +00000000
-+ +0000000000000000 +0000000000000000 +0 +0 +0
-+ +\[ 1\] .text +PROGBITS +0000000000000000 +00000040
-+ +00000000000000.. +0000000000000000 +AX +0 +0 +.*
-+ +\[ 2\] .rel.+text +REL. +0+ +0+.*
-+ +000000000000001. +000000000000001. +I +. +1 +8
-+ +\[ 3\] .data +PROGBITS +0000000000000000 +000000(48|50)
-+ +000000000000000[48] +0000000000000000 +WA +0 +0 +.*
-+ +\[ 4\] .bss +NOBITS +0000000000000000 +000000(4c|50|54|58)
-+ +0000000000000000 +0000000000000000 +WA +0 +0 +.*
-+# x86 targets may put .note.gnu.property here.
-+#...
-+ +\[ .\] .symtab +SYMTAB +0000000000000000 +0+.*
-+# aarch64-elf targets have one more data symbol.
-+# x86 targets may have .note.gnu.property.
-+ +0+.* +0000000000000018 +(6|7) +(6|7) +8
-+ +\[ .\] .strtab +STRTAB +0000000000000000 +0+.*
-+ +0+.* +0000000000000000 .* +0 +0 +1
-+ +\[ .\] .shstrtab +STRTAB +0000000000000000 +[0-9a-f]+
-+ +00000000000000.. +0000000000000000 .* +0 +0 +.*
-+Key to Flags:
-+#...
-diff --git a/binutils/testsuite/binutils-all/readelf.ss b/binutils/testsuite/binutils-all/readelf.ss
-index acc6d9390c..5fbb5d002e 100644
---- a/binutils/testsuite/binutils-all/readelf.ss
-+++ b/binutils/testsuite/binutils-all/readelf.ss
-@@ -2,10 +2,7 @@
- Symbol table '.symtab' contains .* entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
- +0: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND
-- +1: 00000000 +0 +SECTION +LOCAL +DEFAULT +1
-- +2: 00000000 +0 +SECTION +LOCAL +DEFAULT +[34]
-- +3: 00000000 +0 +SECTION +LOCAL +DEFAULT +[45]
-- +4: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +1 static_text_symbol
-+ +1: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +1 static_text_symbol
- # ARM targets add the $d mapping symbol here...
- # NDS32 targets add the $d2 mapping symbol here...
- #...
-diff --git a/binutils/testsuite/binutils-all/readelf.ss-64 b/binutils/testsuite/binutils-all/readelf.ss-64
-index bd10cabef3..99a732f71f 100644
---- a/binutils/testsuite/binutils-all/readelf.ss-64
-+++ b/binutils/testsuite/binutils-all/readelf.ss-64
-@@ -2,10 +2,7 @@
- Symbol table '.symtab' contains .* entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
- +0: 0000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +UND
-- +1: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +1
-- +2: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +3
-- +3: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +4
-- +4: 0000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +1 static_text_symbol
-+ +1: 0000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +1 static_text_symbol
- # aarch64-elf targets add the $d mapping symbol here...
- #...
- +.: 0000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +3 static_data_symbol
-diff --git a/binutils/testsuite/binutils-all/readelf.ss-64-unused b/binutils/testsuite/binutils-all/readelf.ss-64-unused
-new file mode 100644
-index 0000000000..bd10cabef3
---- /dev/null
-+++ b/binutils/testsuite/binutils-all/readelf.ss-64-unused
-@@ -0,0 +1,18 @@
-+
-+Symbol table '.symtab' contains .* entries:
-+ +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
-+ +0: 0000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +UND
-+ +1: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +1
-+ +2: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +3
-+ +3: 0000000000000000 +0 +SECTION +LOCAL +DEFAULT +4
-+ +4: 0000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +1 static_text_symbol
-+# aarch64-elf targets add the $d mapping symbol here...
-+#...
-+ +.: 0000000000000000 +0 +NOTYPE +LOCAL +DEFAULT +3 static_data_symbol
-+# ... or here ...
-+#...
-+.* +.: 0000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +1 text_symbol
-+ +.: 0000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND external_symbol
-+ +.: 0000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +3 data_symbol
-+ +[0-9]+: 0000000000000004 +4 +(COMMON|OBJECT) +GLOBAL +DEFAULT +COM common_symbol
-+#pass
-diff --git a/binutils/testsuite/binutils-all/readelf.ss-unused b/binutils/testsuite/binutils-all/readelf.ss-unused
-new file mode 100644
-index 0000000000..acc6d9390c
---- /dev/null
-+++ b/binutils/testsuite/binutils-all/readelf.ss-unused
-@@ -0,0 +1,20 @@
-+
-+Symbol table '.symtab' contains .* entries:
-+ +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
-+ +0: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND
-+ +1: 00000000 +0 +SECTION +LOCAL +DEFAULT +1
-+ +2: 00000000 +0 +SECTION +LOCAL +DEFAULT +[34]
-+ +3: 00000000 +0 +SECTION +LOCAL +DEFAULT +[45]
-+ +4: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +1 static_text_symbol
-+# ARM targets add the $d mapping symbol here...
-+# NDS32 targets add the $d2 mapping symbol here...
-+#...
-+ +.: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +[34] static_data_symbol
-+# v850 targets include extra SECTION symbols here for the .call_table_data
-+# and .call_table_text sections.
-+#...
-+ +[0-9]+: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +1 text_symbol
-+ +[0-9]+: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND external_symbol
-+ +[0-9]+: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +[34] data_symbol
-+ +[0-9]+: 00000004 +4 +(COMMON|OBJECT) +GLOBAL +DEFAULT +(COM|ANSI_COM) common_symbol
-+#...
-diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp
-index 6552d30264..616a6cad3d 100644
---- a/binutils/testsuite/lib/binutils-common.exp
-+++ b/binutils/testsuite/lib/binutils-common.exp
-@@ -248,6 +248,37 @@ proc is_generic { } {
- return 0
- }
-
-+# True if the object format is ELF with unused section symbols.
-+proc is_elf_unused_section_symbols {} {
-+ global AS ASFLAGS READELF
-+
-+ if {![info exists elf_unused_section_symbols_saved]} {
-+ set elf_unused_section_symbols_saved 1
-+ if { [is_elf_format] } {
-+ set base "empty[pid]"
-+ set src "$base.s"
-+ set obj "$base.obj"
-+ set f [open $src "w"]
-+ close $f
-+ set cmd "$AS $ASFLAGS -o $obj $src"
-+ send_log "$cmd\n"
-+ set cmdret [remote_exec host $cmd]
-+ set cmdret [lindex $cmdret 0]
-+ if { $cmdret == 0 } {
-+ set cmd "$READELF -sW $obj"
-+ send_log "$cmd\n"
-+ set got [remote_exec host $cmd]
-+ if { ![string match "*SECTION*" $got] } {
-+ set elf_unused_section_symbols_saved 0
-+ }
-+ }
-+ file delete $obj
-+ file delete $src
-+ }
-+ }
-+ return $elf_unused_section_symbols_saved
-+}
-+
- # True if the ELF target supports STB_GNU_UNIQUE.
- #
- # This require ELFOSABI_GNU, and `bfd_elf_final_link'.
-diff --git a/gas/ChangeLog b/gas/ChangeLog
-index 48c21f7129..1d345441c8 100644
---- a/gas/ChangeLog
-+++ b/gas/ChangeLog
-@@ -1,3 +1,36 @@
-+2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
-+
-+ PR 27109
-+ * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
-+ section symbol.
-+ * subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
-+ * write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
-+ on the section symbol.
-+ (set_symtab): Don't generate unused section symbols.
-+ (maybe_generate_build_notes): Call symbol_mark_used_in_reloc
-+ on the section symbol.
-+ * config/obj-elf.c (elf_adjust_symtab): Call
-+ symbol_mark_used_in_reloc on the group signature symbol.
-+ * testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
-+ from expected output.
-+ * testsuite/gas/elf/elf.exp (run_elf_list_test): Check
-+ is_elf_unused_section_symbols.
-+ * testsuite/gas/elf/section2.e: Updated.
-+ * testsuite/gas/elf/section2.e-unused: New file.
-+ * testsuite/gas/elf/symver.d: Remove unused section symbols.
-+ * testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
-+ * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
-+ * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
-+ * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
-+ * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
-+ * testsuite/gas/i386/size-1.d: Likewise.
-+ * testsuite/gas/i386/size-3.d: Likewise.
-+ * testsuite/gas/i386/svr4.d: Likewise.
-+ * testsuite/gas/i386/x86-64-size-1.d: Likewise.
-+ * testsuite/gas/i386/x86-64-size-3.d: Likewise.
-+ * testsuite/gas/i386/x86-64-size-5.d: Likewise.
-+ * testsuite/gas/i386/x86-64-unwind.d: Likewise.
-+
- 2021-01-07 Philipp Tomsich <prt@gnu.org>
-
- * config/tc-riscv.c (riscv_multi_subset_supports): Added
-diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c
-index 94fa8051a0..6c0a6ae9ee 100644
---- a/gas/config/obj-elf.c
-+++ b/gas/config/obj-elf.c
-@@ -2841,6 +2841,9 @@ elf_adjust_symtab (void)
- symbol_table_insert (sy);
- }
- elf_group_id (s) = symbol_get_bfdsym (sy);
-+ /* Mark the group signature symbol as used so that it will be
-+ included in the symbol table. */
-+ symbol_mark_used_in_reloc (sy);
- }
- }
-
-diff --git a/gas/read.c b/gas/read.c
-index 9d0ba27ea8..be6e3e03d4 100644
---- a/gas/read.c
-+++ b/gas/read.c
-@@ -4207,6 +4207,9 @@ s_reloc (int ignore ATTRIBUTE_UNUSED)
- goto err_out;
- case O_constant:
- exp.X_add_symbol = section_symbol (now_seg);
-+ /* Mark the section symbol used in relocation so that it will be
-+ included in the symbol table. */
-+ symbol_mark_used_in_reloc (exp.X_add_symbol);
- exp.X_op = O_symbol;
- /* Fallthru */
- case O_symbol:
-diff --git a/gas/subsegs.c b/gas/subsegs.c
-index 8e4b310afe..191879eb08 100644
---- a/gas/subsegs.c
-+++ b/gas/subsegs.c
-@@ -89,6 +89,10 @@ subseg_set_rest (segT seg, subsegT subseg)
-
- seginfo = seg_info (seg);
-
-+ /* Should the section symbol be kept? */
-+ if (bfd_keep_unused_section_symbols (stdoutput))
-+ seg->symbol->flags |= BSF_SECTION_SYM_USED;
-+
- /* Attempt to find or make a frchain for that subsection.
- We keep the list sorted by subsection number. */
- for (frcP = *(lastPP = &seginfo->frchainP);
-diff --git a/gas/testsuite/gas/cfi/cfi-label.d b/gas/testsuite/gas/cfi/cfi-label.d
-index 0350b57f13..c6507138b4 100644
---- a/gas/testsuite/gas/cfi/cfi-label.d
-+++ b/gas/testsuite/gas/cfi/cfi-label.d
-@@ -6,11 +6,9 @@
-
- SYMBOL TABLE:
- 0*00 l d \.text 0*00 \.text
--0*00 l d \.data 0*00 \.data
--0*00 l d \.bss 0*00 \.bss
-+#...
- 0*00 l F \.text 0*04 cfilabel
- 0*2f l \.eh_frame 0*00 cfi2
--0*00 l d \.eh_frame 0*00 \.eh_frame
- 0*2b g \.eh_frame 0*00 cfi1
-
-
-diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp
-index 5cfb7a6237..a0f98eddd6 100644
---- a/gas/testsuite/gas/elf/elf.exp
-+++ b/gas/testsuite/gas/elf/elf.exp
-@@ -54,7 +54,11 @@ proc run_elf_list_test { name suffix opts readelf_opts readelf_pipe } {
-
- # We're testing bits in obj-elf -- don't run on anything else.
- if { [is_elf_format] } then {
-- set target_machine ""
-+ if { [is_elf_unused_section_symbols ] } {
-+ set target_machine -unused
-+ } else {
-+ set target_machine ""
-+ }
- set dump_opts ""
- if {[istarget "arc*-*-*"]} {
- set target_machine -arc
-diff --git a/gas/testsuite/gas/elf/section2.e b/gas/testsuite/gas/elf/section2.e
-index 9b50798bcf..8b13789179 100644
---- a/gas/testsuite/gas/elf/section2.e
-+++ b/gas/testsuite/gas/elf/section2.e
-@@ -1,8 +1 @@
-
--Symbol table '.symtab' contains 5 entries:
-- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
-- +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND
-- +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1
-- +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2
-- +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3
-- +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4
-diff --git a/gas/testsuite/gas/elf/section2.e-unused b/gas/testsuite/gas/elf/section2.e-unused
-new file mode 100644
-index 0000000000..9b50798bcf
---- /dev/null
-+++ b/gas/testsuite/gas/elf/section2.e-unused
-@@ -0,0 +1,8 @@
-+
-+Symbol table '.symtab' contains 5 entries:
-+ +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
-+ +0: 0+0 +0 +NOTYPE +LOCAL +DEFAULT +UND
-+ +1: 0+0 +0 +SECTION +LOCAL +DEFAULT +1
-+ +2: 0+0 +0 +SECTION +LOCAL +DEFAULT +2
-+ +3: 0+0 +0 +SECTION +LOCAL +DEFAULT +3
-+ +4: 0+0 +0 +SECTION +LOCAL +DEFAULT +4
-diff --git a/gas/testsuite/gas/elf/symver.d b/gas/testsuite/gas/elf/symver.d
-index 7fcc62a5ca..2292e3267d 100644
---- a/gas/testsuite/gas/elf/symver.d
-+++ b/gas/testsuite/gas/elf/symver.d
-@@ -8,10 +8,6 @@
- .*: file format .*
-
- SYMBOL TABLE:
--
--0+000 l.*d.*\.text.*0+000.*
--0+000 l.*d.*\.data.*0+000.*
--0+000 l.*d.*\.bss.*0+000.*
- #...
- 0+000 l.*O.*\.data.*0+004 x
- #...
-diff --git a/gas/testsuite/gas/i386/ilp32/elf/symver.d b/gas/testsuite/gas/i386/ilp32/elf/symver.d
-index 7f69d660b3..3acf1487b3 100644
---- a/gas/testsuite/gas/i386/ilp32/elf/symver.d
-+++ b/gas/testsuite/gas/i386/ilp32/elf/symver.d
-@@ -9,10 +9,6 @@
- .*: file format .*
-
- SYMBOL TABLE:
--
--0+000 l.*d.*\.text.*0+000.*
--0+000 l.*d.*\.data.*0+000.*
--0+000 l.*d.*\.bss.*0+000.*
- #...
- 0+000 l.*O.*\.data.*0+004 x
- #...
-diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-size-1.d b/gas/testsuite/gas/i386/ilp32/x86-64-size-1.d
-index e5b74fa5c9..64b052dc93 100644
---- a/gas/testsuite/gas/i386/ilp32/x86-64-size-1.d
-+++ b/gas/testsuite/gas/i386/ilp32/x86-64-size-1.d
-@@ -6,19 +6,19 @@
-
- Relocation section '.rela.text' at offset .* contains 9 entries:
- Offset Info Type Sym.Value Sym. Name \+ Addend
--0+1 00000420 R_X86_64_SIZE32 00000000 xxx \+ 0
--0+6 00000420 R_X86_64_SIZE32 00000000 xxx - 8
--0+b 00000420 R_X86_64_SIZE32 00000000 xxx \+ 8
--0+10 00000520 R_X86_64_SIZE32 00000000 yyy \+ 0
--0+15 00000520 R_X86_64_SIZE32 00000000 yyy - 10
--0+1a 00000520 R_X86_64_SIZE32 00000000 yyy \+ 10
--0+1f 00000620 R_X86_64_SIZE32 00000020 zzz \+ 0
--0+24 00000620 R_X86_64_SIZE32 00000020 zzz - 20
--0+29 00000620 R_X86_64_SIZE32 00000020 zzz \+ 20
-+0+1 00000120 R_X86_64_SIZE32 00000000 xxx \+ 0
-+0+6 00000120 R_X86_64_SIZE32 00000000 xxx - 8
-+0+b 00000120 R_X86_64_SIZE32 00000000 xxx \+ 8
-+0+10 00000220 R_X86_64_SIZE32 00000000 yyy \+ 0
-+0+15 00000220 R_X86_64_SIZE32 00000000 yyy - 10
-+0+1a 00000220 R_X86_64_SIZE32 00000000 yyy \+ 10
-+0+1f 00000320 R_X86_64_SIZE32 00000020 zzz \+ 0
-+0+24 00000320 R_X86_64_SIZE32 00000020 zzz - 20
-+0+29 00000320 R_X86_64_SIZE32 00000020 zzz \+ 20
-
- Relocation section '.rela.data' at offset .* contains 3 entries:
- Offset Info Type Sym.Value Sym. Name \+ Addend
--0+50 00000420 R_X86_64_SIZE32 00000000 xxx - 1
--0+54 00000520 R_X86_64_SIZE32 00000000 yyy \+ 2
--0+58 00000620 R_X86_64_SIZE32 00000020 zzz \+ 0
-+0+50 00000120 R_X86_64_SIZE32 00000000 xxx - 1
-+0+54 00000220 R_X86_64_SIZE32 00000000 yyy \+ 2
-+0+58 00000320 R_X86_64_SIZE32 00000020 zzz \+ 0
- #pass
-diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-size-3.d b/gas/testsuite/gas/i386/ilp32/x86-64-size-3.d
-index 6f96134f13..65f6890dae 100644
---- a/gas/testsuite/gas/i386/ilp32/x86-64-size-3.d
-+++ b/gas/testsuite/gas/i386/ilp32/x86-64-size-3.d
-@@ -6,15 +6,15 @@
-
- Relocation section '.rela.text' at offset .* contains 6 entries:
- Offset Info Type Sym.Value Sym. Name \+ Addend
--0+1 00000620 R_X86_64_SIZE32 00000000 xxx \+ 0
--0+6 00000620 R_X86_64_SIZE32 00000000 xxx - 8
--0+b 00000620 R_X86_64_SIZE32 00000000 xxx \+ 8
--0+10 00000720 R_X86_64_SIZE32 00000000 yyy \+ 0
--0+15 00000720 R_X86_64_SIZE32 00000000 yyy - 10
--0+1a 00000720 R_X86_64_SIZE32 00000000 yyy \+ 10
-+0+1 00000120 R_X86_64_SIZE32 00000000 xxx \+ 0
-+0+6 00000120 R_X86_64_SIZE32 00000000 xxx - 8
-+0+b 00000120 R_X86_64_SIZE32 00000000 xxx \+ 8
-+0+10 00000220 R_X86_64_SIZE32 00000000 yyy \+ 0
-+0+15 00000220 R_X86_64_SIZE32 00000000 yyy - 10
-+0+1a 00000220 R_X86_64_SIZE32 00000000 yyy \+ 10
-
- Relocation section '.rela.tdata' at offset .* contains 2 entries:
- Offset Info Type Sym.Value Sym. Name \+ Addend
--0+50 00000620 R_X86_64_SIZE32 00000000 xxx - 1
--0+54 00000720 R_X86_64_SIZE32 00000000 yyy \+ 2
-+0+50 00000120 R_X86_64_SIZE32 00000000 xxx - 1
-+0+54 00000220 R_X86_64_SIZE32 00000000 yyy \+ 2
- #pass
-diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-size-5.d b/gas/testsuite/gas/i386/ilp32/x86-64-size-5.d
-index 8ce06b0f84..4571a484ea 100644
---- a/gas/testsuite/gas/i386/ilp32/x86-64-size-5.d
-+++ b/gas/testsuite/gas/i386/ilp32/x86-64-size-5.d
-@@ -6,13 +6,13 @@
-
- Relocation section '.rela.text' at offset .* contains 3 entries:
- Offset Info Type Sym.Value Sym. Name \+ Addend
--0+2 00000421 R_X86_64_SIZE64 00000000 xxx \+ 0
--0+c 00000421 R_X86_64_SIZE64 00000000 xxx - 8
--0+16 00000421 R_X86_64_SIZE64 00000000 xxx \+ 8
-+0+2 00000121 R_X86_64_SIZE64 00000000 xxx \+ 0
-+0+c 00000121 R_X86_64_SIZE64 00000000 xxx - 8
-+0+16 00000121 R_X86_64_SIZE64 00000000 xxx \+ 8
-
- Relocation section '.rela.data' at offset .* contains 3 entries:
- Offset Info Type Sym.Value Sym. Name \+ Addend
--0+50 00000421 R_X86_64_SIZE64 00000000 xxx - 1
--0+58 00000621 R_X86_64_SIZE64 00000000 yyy \+ c8
--0+60 00000521 R_X86_64_SIZE64 00000020 zzz \+ 0
-+0+50 00000121 R_X86_64_SIZE64 00000000 xxx - 1
-+0+58 00000321 R_X86_64_SIZE64 00000000 yyy \+ c8
-+0+60 00000221 R_X86_64_SIZE64 00000020 zzz \+ 0
- #pass
-diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-unwind.d b/gas/testsuite/gas/i386/ilp32/x86-64-unwind.d
-index bd532b73e8..274ddb0627 100644
---- a/gas/testsuite/gas/i386/ilp32/x86-64-unwind.d
-+++ b/gas/testsuite/gas/i386/ilp32/x86-64-unwind.d
-@@ -3,7 +3,7 @@
- #readelf: -S
- #name: x86-64 (ILP32) unwind
-
--There are 8 section headers, starting at offset 0x[0-9a-f]+:
-+There are 6 section headers, starting at offset 0x[0-9a-f]+:
-
- Section Headers:
- \[Nr\] Name Type Addr Off Size ES Flg Lk Inf Al
-@@ -12,8 +12,6 @@ Section Headers:
- \[ 2\] .data PROGBITS 00000000 000034 000000 00 WA 0 0 1
- \[ 3\] .bss NOBITS 00000000 000034 000000 00 WA 0 0 1
- \[ 4\] .eh_frame X86_64_UNWIND 00000000 000034 000008 00 A 0 0 1
-- \[ 5\] .symtab SYMTAB 00000000 [0-9a-f]+ 000050 10 6 5 4
-- \[ 6\] .strtab STRTAB 00000000 [0-9a-f]+ 000001 00 . 0 0 1
-- \[ 7\] .shstrtab STRTAB 00000000 [0-9a-f]+ 000036 00 . 0 0 1
-+ \[ 5\] .shstrtab STRTAB 00000000 [0-9a-f]+ 000026 00 . 0 0 1
- Key to Flags:
- #pass
-diff --git a/gas/testsuite/gas/i386/size-1.d b/gas/testsuite/gas/i386/size-1.d
-index d582bbecc9..b187e5d4a3 100644
---- a/gas/testsuite/gas/i386/size-1.d
-+++ b/gas/testsuite/gas/i386/size-1.d
-@@ -5,19 +5,19 @@
-
- Relocation section '.rel.text' at offset .* contains 9 entries:
- Offset Info Type Sym.Value Sym. Name
--0+1 00000426 R_386_SIZE32 00000000 xxx
--0+6 00000426 R_386_SIZE32 00000000 xxx
--0+b 00000426 R_386_SIZE32 00000000 xxx
--0+10 00000526 R_386_SIZE32 00000000 yyy
--0+15 00000526 R_386_SIZE32 00000000 yyy
--0+1a 00000526 R_386_SIZE32 00000000 yyy
--0+1f 00000626 R_386_SIZE32 00000020 zzz
--0+24 00000626 R_386_SIZE32 00000020 zzz
--0+29 00000626 R_386_SIZE32 00000020 zzz
-+0+1 00000126 R_386_SIZE32 00000000 xxx
-+0+6 00000126 R_386_SIZE32 00000000 xxx
-+0+b 00000126 R_386_SIZE32 00000000 xxx
-+0+10 00000226 R_386_SIZE32 00000000 yyy
-+0+15 00000226 R_386_SIZE32 00000000 yyy
-+0+1a 00000226 R_386_SIZE32 00000000 yyy
-+0+1f 00000326 R_386_SIZE32 00000020 zzz
-+0+24 00000326 R_386_SIZE32 00000020 zzz
-+0+29 00000326 R_386_SIZE32 00000020 zzz
-
- Relocation section '.rel.data' at offset .* contains 3 entries:
- Offset Info Type Sym.Value Sym. Name
--0+50 00000426 R_386_SIZE32 00000000 xxx
--0+54 00000526 R_386_SIZE32 00000000 yyy
--0+58 00000626 R_386_SIZE32 00000020 zzz
-+0+50 00000126 R_386_SIZE32 00000000 xxx
-+0+54 00000226 R_386_SIZE32 00000000 yyy
-+0+58 00000326 R_386_SIZE32 00000020 zzz
- #pass
-diff --git a/gas/testsuite/gas/i386/size-3.d b/gas/testsuite/gas/i386/size-3.d
-index 2b08707f43..b45811c5d8 100644
---- a/gas/testsuite/gas/i386/size-3.d
-+++ b/gas/testsuite/gas/i386/size-3.d
-@@ -5,15 +5,15 @@
-
- Relocation section '.rel.text' at offset .* contains 6 entries:
- Offset Info Type Sym.Value Sym. Name
--0+1 00000626 R_386_SIZE32 00000000 xxx
--0+6 00000626 R_386_SIZE32 00000000 xxx
--0+b 00000626 R_386_SIZE32 00000000 xxx
--0+10 00000726 R_386_SIZE32 00000000 yyy
--0+15 00000726 R_386_SIZE32 00000000 yyy
--0+1a 00000726 R_386_SIZE32 00000000 yyy
-+0+1 00000126 R_386_SIZE32 00000000 xxx
-+0+6 00000126 R_386_SIZE32 00000000 xxx
-+0+b 00000126 R_386_SIZE32 00000000 xxx
-+0+10 00000226 R_386_SIZE32 00000000 yyy
-+0+15 00000226 R_386_SIZE32 00000000 yyy
-+0+1a 00000226 R_386_SIZE32 00000000 yyy
-
- Relocation section '.rel.tdata' at offset .* contains 2 entries:
- Offset Info Type Sym.Value Sym. Name
--0+50 00000626 R_386_SIZE32 00000000 xxx
--0+54 00000726 R_386_SIZE32 00000000 yyy
-+0+50 00000126 R_386_SIZE32 00000000 xxx
-+0+54 00000226 R_386_SIZE32 00000000 yyy
- #pass
-diff --git a/gas/testsuite/gas/i386/svr4.d b/gas/testsuite/gas/i386/svr4.d
-index 3a46354192..2820506668 100644
---- a/gas/testsuite/gas/i386/svr4.d
-+++ b/gas/testsuite/gas/i386/svr4.d
-@@ -4,9 +4,6 @@
- .*: +file format .*
-
- SYMBOL TABLE:
--0+00 .* \.text[ ]+0+ \.text
--0+00 .* \.data[ ]+0+ \.data
--0+00 .* \.bss[ ]+0+ \.bss
- 0+00 .* \.text[ ]+0+ svr4
- 0+04 .* \*ABS\*[ ]+0+ a
- 0+03 .* \*ABS\*[ ]+0+ b
-diff --git a/gas/testsuite/gas/i386/x86-64-size-1.d b/gas/testsuite/gas/i386/x86-64-size-1.d
-index 657408cf73..57db899437 100644
---- a/gas/testsuite/gas/i386/x86-64-size-1.d
-+++ b/gas/testsuite/gas/i386/x86-64-size-1.d
-@@ -6,19 +6,19 @@
-
- Relocation section '.rela.text' at offset .* contains 9 entries:
- Offset Info Type Sym. Value Sym. Name \+ Addend
--0+1 000400000020 R_X86_64_SIZE32 0000000000000000 xxx \+ 0
--0+6 000400000020 R_X86_64_SIZE32 0000000000000000 xxx - 8
--0+b 000400000020 R_X86_64_SIZE32 0000000000000000 xxx \+ 8
--0+10 000500000020 R_X86_64_SIZE32 0000000000000000 yyy \+ 0
--0+15 000500000020 R_X86_64_SIZE32 0000000000000000 yyy - 10
--0+1a 000500000020 R_X86_64_SIZE32 0000000000000000 yyy \+ 10
--0+1f 000600000020 R_X86_64_SIZE32 0000000000000020 zzz \+ 0
--0+24 000600000020 R_X86_64_SIZE32 0000000000000020 zzz - 20
--0+29 000600000020 R_X86_64_SIZE32 0000000000000020 zzz \+ 20
-+0+1 000100000020 R_X86_64_SIZE32 0000000000000000 xxx \+ 0
-+0+6 000100000020 R_X86_64_SIZE32 0000000000000000 xxx - 8
-+0+b 000100000020 R_X86_64_SIZE32 0000000000000000 xxx \+ 8
-+0+10 000200000020 R_X86_64_SIZE32 0000000000000000 yyy \+ 0
-+0+15 000200000020 R_X86_64_SIZE32 0000000000000000 yyy - 10
-+0+1a 000200000020 R_X86_64_SIZE32 0000000000000000 yyy \+ 10
-+0+1f 000300000020 R_X86_64_SIZE32 0000000000000020 zzz \+ 0
-+0+24 000300000020 R_X86_64_SIZE32 0000000000000020 zzz - 20
-+0+29 000300000020 R_X86_64_SIZE32 0000000000000020 zzz \+ 20
-
- Relocation section '.rela.data' at offset .* contains 3 entries:
- Offset Info Type Sym. Value Sym. Name \+ Addend
--0+50 000400000020 R_X86_64_SIZE32 0000000000000000 xxx - 1
--0+54 000500000020 R_X86_64_SIZE32 0000000000000000 yyy \+ 2
--0+58 000600000020 R_X86_64_SIZE32 0000000000000020 zzz \+ 0
-+0+50 000100000020 R_X86_64_SIZE32 0000000000000000 xxx - 1
-+0+54 000200000020 R_X86_64_SIZE32 0000000000000000 yyy \+ 2
-+0+58 000300000020 R_X86_64_SIZE32 0000000000000020 zzz \+ 0
- #pass
-diff --git a/gas/testsuite/gas/i386/x86-64-size-3.d b/gas/testsuite/gas/i386/x86-64-size-3.d
-index 943a64e9ac..4688dc938b 100644
---- a/gas/testsuite/gas/i386/x86-64-size-3.d
-+++ b/gas/testsuite/gas/i386/x86-64-size-3.d
-@@ -6,15 +6,15 @@
-
- Relocation section '.rela.text' at offset .* contains 6 entries:
- Offset Info Type Sym. Value Sym. Name \+ Addend
--0+1 000600000020 R_X86_64_SIZE32 0000000000000000 xxx \+ 0
--0+6 000600000020 R_X86_64_SIZE32 0000000000000000 xxx - 8
--0+b 000600000020 R_X86_64_SIZE32 0000000000000000 xxx \+ 8
--0+10 000700000020 R_X86_64_SIZE32 0000000000000000 yyy \+ 0
--0+15 000700000020 R_X86_64_SIZE32 0000000000000000 yyy - 10
--0+1a 000700000020 R_X86_64_SIZE32 0000000000000000 yyy \+ 10
-+0+1 000100000020 R_X86_64_SIZE32 0000000000000000 xxx \+ 0
-+0+6 000100000020 R_X86_64_SIZE32 0000000000000000 xxx - 8
-+0+b 000100000020 R_X86_64_SIZE32 0000000000000000 xxx \+ 8
-+0+10 000200000020 R_X86_64_SIZE32 0000000000000000 yyy \+ 0
-+0+15 000200000020 R_X86_64_SIZE32 0000000000000000 yyy - 10
-+0+1a 000200000020 R_X86_64_SIZE32 0000000000000000 yyy \+ 10
-
- Relocation section '.rela.tdata' at offset .* contains 2 entries:
- Offset Info Type Sym. Value Sym. Name \+ Addend
--0+50 000600000020 R_X86_64_SIZE32 0000000000000000 xxx - 1
--0+54 000700000020 R_X86_64_SIZE32 0000000000000000 yyy \+ 2
-+0+50 000100000020 R_X86_64_SIZE32 0000000000000000 xxx - 1
-+0+54 000200000020 R_X86_64_SIZE32 0000000000000000 yyy \+ 2
- #pass
-diff --git a/gas/testsuite/gas/i386/x86-64-size-5.d b/gas/testsuite/gas/i386/x86-64-size-5.d
-index c34d0eedaa..d18ffcd3a4 100644
---- a/gas/testsuite/gas/i386/x86-64-size-5.d
-+++ b/gas/testsuite/gas/i386/x86-64-size-5.d
-@@ -5,13 +5,13 @@
-
- Relocation section '.rela.text' at offset .* contains 3 entries:
- Offset Info Type Sym. Value Sym. Name \+ Addend
--0+2 000400000021 R_X86_64_SIZE64 0000000000000000 xxx \+ 0
--0+c 000400000021 R_X86_64_SIZE64 0000000000000000 xxx - 8
--0+16 000400000021 R_X86_64_SIZE64 0000000000000000 xxx \+ 8
-+0+2 000100000021 R_X86_64_SIZE64 0000000000000000 xxx \+ 0
-+0+c 000100000021 R_X86_64_SIZE64 0000000000000000 xxx - 8
-+0+16 000100000021 R_X86_64_SIZE64 0000000000000000 xxx \+ 8
-
- Relocation section '.rela.data' at offset .* contains 3 entries:
- Offset Info Type Sym. Value Sym. Name \+ Addend
--0+50 000400000021 R_X86_64_SIZE64 0000000000000000 xxx - 1
--0+58 000600000021 R_X86_64_SIZE64 0000000000000000 yyy \+ c8
--0+60 000500000021 R_X86_64_SIZE64 0000000000000020 zzz \+ 0
-+0+50 000100000021 R_X86_64_SIZE64 0000000000000000 xxx - 1
-+0+58 000300000021 R_X86_64_SIZE64 0000000000000000 yyy \+ c8
-+0+60 000200000021 R_X86_64_SIZE64 0000000000000020 zzz \+ 0
- #pass
-diff --git a/gas/testsuite/gas/i386/x86-64-unwind.d b/gas/testsuite/gas/i386/x86-64-unwind.d
-index 7f8d94fe86..ca3047277e 100644
---- a/gas/testsuite/gas/i386/x86-64-unwind.d
-+++ b/gas/testsuite/gas/i386/x86-64-unwind.d
-@@ -2,7 +2,7 @@
- #readelf: -S
- #name: x86-64 unwind
-
--There are 8 section headers, starting at offset 0x[0-9a-f]+:
-+There are 6 section headers, starting at offset 0x[0-9a-f]+:
-
- Section Headers:
- \[Nr\] Name Type Address Offset
-@@ -17,11 +17,7 @@ Section Headers:
- 0000000000000000 0000000000000000 WA 0 0 1
- \[ 4\] \.eh_frame X86_64_UNWIND 0000000000000000 00000040
- 0000000000000008 0000000000000000 A 0 0 1
-- \[ 5\] \.symtab SYMTAB 0000000000000000 [0-9a-f]+
-- 0000000000000078 0000000000000018 6 5 8
-- \[ 6\] \.strtab STRTAB 0000000000000000 [0-9a-f]+
-- 0000000000000001 0000000000000000 . 0 0 1
-- \[ 7\] \.shstrtab STRTAB 0000000000000000 [0-9a-f]+
-- 0000000000000036 0000000000000000 . 0 0 1
-+ \[ 5\] \.shstrtab STRTAB 0000000000000000 [0-9a-f]+
-+ 0000000000000026 0000000000000000 . 0 0 1
- Key to Flags:
- #...
-diff --git a/gas/write.c b/gas/write.c
-index ca14b3734b..75ba971eb4 100644
---- a/gas/write.c
-+++ b/gas/write.c
-@@ -848,7 +848,12 @@ adjust_reloc_syms (bfd *abfd ATTRIBUTE_UNUSED,
- /* Since we're reducing to section symbols, don't attempt to reduce
- anything that's already using one. */
- if (symbol_section_p (sym))
-- continue;
-+ {
-+ /* Mark the section symbol used in relocation so that it will
-+ be included in the symbol table. */
-+ symbol_mark_used_in_reloc (sym);
-+ continue;
-+ }
-
- symsec = S_GET_SEGMENT (sym);
- if (symsec == NULL)
-@@ -1747,10 +1752,13 @@ set_symtab (void)
-
- /* Count symbols. We can't rely on a count made by the loop in
- write_object_file, because *_frob_file may add a new symbol or
-- two. */
-+ two. Generate unused section symbols only if needed. */
- nsyms = 0;
- for (symp = symbol_rootP; symp; symp = symbol_next (symp))
-- nsyms++;
-+ if (bfd_keep_unused_section_symbols (stdoutput)
-+ || !symbol_section_p (symp)
-+ || symbol_used_in_reloc_p (symp))
-+ nsyms++;
-
- if (nsyms)
- {
-@@ -1759,15 +1767,22 @@ set_symtab (void)
-
- asympp = (asymbol **) bfd_alloc (stdoutput, amt);
- symp = symbol_rootP;
-- for (i = 0; i < nsyms; i++, symp = symbol_next (symp))
-- {
-- asympp[i] = symbol_get_bfdsym (symp);
-- if (asympp[i]->flags != BSF_SECTION_SYM
-- || !(bfd_is_const_section (asympp[i]->section)
-- && asympp[i]->section->symbol == asympp[i]))
-- asympp[i]->flags |= BSF_KEEP;
-- symbol_mark_written (symp);
-- }
-+ for (i = 0; i < nsyms; symp = symbol_next (symp))
-+ if (bfd_keep_unused_section_symbols (stdoutput)
-+ || !symbol_section_p (symp)
-+ || symbol_used_in_reloc_p (symp))
-+ {
-+ asympp[i] = symbol_get_bfdsym (symp);
-+ if (asympp[i]->flags != BSF_SECTION_SYM
-+ || !(bfd_is_const_section (asympp[i]->section)
-+ && asympp[i]->section->symbol == asympp[i]))
-+ asympp[i]->flags |= BSF_KEEP;
-+ symbol_mark_written (symp);
-+ /* Include this section symbol in the symbol table. */
-+ if (symbol_section_p (symp))
-+ asympp[i]->flags |= BSF_SECTION_SYM_USED;
-+ i++;
-+ }
- }
- else
- asympp = 0;
-@@ -2058,6 +2073,10 @@ maybe_generate_build_notes (void)
- bfd_section_size (bsym->section),
- note);
-
-+ /* Mark the section symbol used in relocation so that it will be
-+ included in the symbol table. */
-+ symbol_mark_used_in_reloc (sym);
-+
- total_size += note_size;
- /* FIXME: Maybe add a note recording the assembler command line and version ? */
- }
-diff --git a/ld/ChangeLog b/ld/ChangeLog
-index d7618d77c5..41824f4d23 100644
---- a/ld/ChangeLog
-+++ b/ld/ChangeLog
-@@ -1,3 +1,89 @@
-+2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
-+
-+ PR 27109
-+ * testsuite/ld-elf/export-class.sd: Adjust the expected output.
-+ * testsuite/ld-elf/loadaddr3b.d: Likewise.
-+ * testsuite/ld-i386/ibt-plt-1.d: Likewise.
-+ * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
-+ * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
-+ * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
-+ * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
-+ * testsuite/ld-i386/pr19636-1d.d: Likewise.
-+ * testsuite/ld-i386/pr19636-1l.d: Likewise.
-+ * testsuite/ld-i386/pr19636-2c.d: Likewise.
-+ * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
-+ * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
-+ * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
-+ * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
-+ * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
-+ * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
-+ * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
-+ * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
-+ * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
-+ * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
-+ * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
-+ * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
-+ * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
-+ * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
-+ * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
-+ * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
-+ * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
-+ * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
-+ * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
-+ * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
-+ * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
-+ * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
-+ * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
-+ * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
-+ * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
-+ * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
-+ * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
-+ * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
-+ * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
-+ * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
-+ * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
-+ * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
-+ * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
-+ * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
-+ * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
-+ * testsuite/ld-x86-64/pr21038b.d: Likewise.
-+ * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
-+ * testsuite/ld-x86-64/pr21038c.d: Likewise.
-+ * testsuite/ld-x86-64/pr23854.d: Likewise.
-+ * testsuite/ld-x86-64/pr25416-3.d: Likewise.
-+ * testsuite/ld-x86-64/pr25416-4.d: Likewise.
-+ * testsuite/ld-i386/plt-pic.pd: Likewise.
-+ * testsuite/ld-i386/plt-pic2.dd: Likewise.
-+ * testsuite/ld-i386/plt.pd: Likewise.
-+ * testsuite/ld-i386/plt2.dd: Likewise.
-+ * testsuite/ld-i386/tlsbin.rd: Likewise.
-+ * testsuite/ld-i386/tlsbin2.rd: Likewise.
-+ * testsuite/ld-i386/tlsbindesc.rd: Likewise.
-+ * testsuite/ld-i386/tlsdesc.rd: Likewise.
-+ * testsuite/ld-i386/tlsgdesc.rd: Likewise.
-+ * testsuite/ld-i386/tlsnopic.rd: Likewise.
-+ * testsuite/ld-i386/tlspic.rd: Likewise.
-+ * testsuite/ld-i386/tlspic2.rd: Likewise.
-+ * testsuite/ld-x86-64/mpx3.dd: Likewise.
-+ * testsuite/ld-x86-64/mpx3n.dd: Likewise.
-+ * testsuite/ld-x86-64/mpx4.dd: Likewise.
-+ * testsuite/ld-x86-64/mpx4n.dd: Likewise.
-+ * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
-+ * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
-+ * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
-+ * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
-+ * testsuite/ld-x86-64/plt.pd: Likewise.
-+ * testsuite/ld-x86-64/plt2.dd: Likewise.
-+ * testsuite/ld-x86-64/tlsbin.rd: Likewise.
-+ * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
-+ * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
-+ * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
-+ * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
-+ * testsuite/ld-x86-64/tlspic.rd: Likewise.
-+ * testsuite/ld-x86-64/tlspic2.rd: Likewise.
-+ * testsuite/ld-elf/sec64k.exp: Check
-+ is_elf_unused_section_symbols.
-+
- 2021-01-07 Alan Modra <amodra@gmail.com>
-
- * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
-diff --git a/ld/testsuite/ld-elf/export-class.sd b/ld/testsuite/ld-elf/export-class.sd
-index bd5c5491d9..e71248268c 100644
---- a/ld/testsuite/ld-elf/export-class.sd
-+++ b/ld/testsuite/ld-elf/export-class.sd
-@@ -9,8 +9,6 @@ Symbol table '\.dynsym' contains [0-9]+ entries:
- #...
- Symbol table '\.symtab' contains [0-9]+ entries:
- * Num: * Value * Size * Type * Bind * Vis * Ndx * Name
--#...
-- * [0-9a-f]+: * 0*12340000 * 0 * SECTION * LOCAL * DEFAULT * [0-9]+ *
- #...
- * [0-9a-f]+: * 0*123400a0 * 0 * NOTYPE * LOCAL * DEFAULT * [0-9]+ * hidden_foo
- #...
-diff --git a/ld/testsuite/ld-elf/loadaddr3b.d b/ld/testsuite/ld-elf/loadaddr3b.d
-index ac4b5178d8..aa5e951524 100644
---- a/ld/testsuite/ld-elf/loadaddr3b.d
-+++ b/ld/testsuite/ld-elf/loadaddr3b.d
-@@ -3,9 +3,6 @@
- #objdump: -t
- #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
-
--#...
--0+0000100 l d .text 0+0000000 .text
--0+0000200 l d .data 0+0000000 .data
- #...
- 0+0000110 g \*ABS\* 0+0000000 data_load
- #...
-diff --git a/ld/testsuite/ld-elf/sec64k.exp b/ld/testsuite/ld-elf/sec64k.exp
-index a1856b5bca..d148c26d8f 100644
---- a/ld/testsuite/ld-elf/sec64k.exp
-+++ b/ld/testsuite/ld-elf/sec64k.exp
-@@ -198,11 +198,15 @@ if { ![istarget "d10v-*-*"]
- puts $ofd " \\\[65279\\\] \\.foo\\.\[0-9\]+ .*"
- puts $ofd " \\\[65280\\\] \\.foo\\.\[0-9\]+ .*"
- puts $ofd "#..."
-- puts $ofd " 660..: \[0-9a-f\]+\[ \]+0\[ \]+SECTION\[ \]+LOCAL\[ \]+DEFAULT\[ \]+660.. "
-- puts $ofd "#..."
-- puts $ofd " 660..: \[0-9a-f\]+\[ \]+0\[ \]+NOTYPE\[ \]+LOCAL\[ \]+DEFAULT\[ \]+\[0-9\] bar_1$"
-- puts $ofd "#..."
-- puts $ofd ".* bar_66000$"
-+ if { [is_elf_unused_section_symbols ] } {
-+ puts $ofd " 660..: \[0-9a-f\]+\[ \]+0\[ \]+SECTION\[ \]+LOCAL\[ \]+DEFAULT\[ \]+660.. "
-+ puts $ofd "#..."
-+ puts $ofd " 660..: \[0-9a-f\]+\[ \]+0\[ \]+NOTYPE\[ \]+LOCAL\[ \]+DEFAULT\[ \]+\[0-9\] bar_1$"
-+ puts $ofd "#..."
-+ puts $ofd ".* bar_66000$"
-+ } else {
-+ puts $ofd " 66...: \[0-9a-f\]+\[ \]+0\[ \]+NOTYPE\[ \]+LOCAL\[ \]+DEFAULT\[ \]+660.. bar_66000$"
-+ }
- puts $ofd "#..."
- # Global symbols are not in "alphanumeric" order, so we just check
- # that the first and the last are present in any order (assuming no
-diff --git a/ld/testsuite/ld-i386/ibt-plt-1.d b/ld/testsuite/ld-i386/ibt-plt-1.d
-index a7eaa1f77d..b0648ae9e0 100644
---- a/ld/testsuite/ld-i386/ibt-plt-1.d
-+++ b/ld/testsuite/ld-i386/ibt-plt-1.d
-@@ -13,11 +13,11 @@ Disassembly of section .plt:
- +[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%eax\)
- +[a-f0-9]+: f3 0f 1e fb endbr32
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 e2 ff ff ff jmp [a-f0-9]+ <.plt>
-+ +[a-f0-9]+: e9 e2 ff ff ff jmp [a-f0-9]+ <bar1@plt-0x30>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
- +[a-f0-9]+: f3 0f 1e fb endbr32
- +[a-f0-9]+: 68 08 00 00 00 push \$0x8
-- +[a-f0-9]+: e9 d2 ff ff ff jmp [a-f0-9]+ <.plt>
-+ +[a-f0-9]+: e9 d2 ff ff ff jmp [a-f0-9]+ <bar1@plt-0x30>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-i386/ibt-plt-2a.d b/ld/testsuite/ld-i386/ibt-plt-2a.d
-index 9c8f5996a7..42aa2ce741 100644
---- a/ld/testsuite/ld-i386/ibt-plt-2a.d
-+++ b/ld/testsuite/ld-i386/ibt-plt-2a.d
-@@ -14,11 +14,11 @@ Disassembly of section .plt:
- +[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%eax\)
- +[a-f0-9]+: f3 0f 1e fb endbr32
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 e2 ff ff ff jmp 140 <.plt>
-+ +[a-f0-9]+: e9 e2 ff ff ff jmp 140 <bar1@plt-0x30>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
- +[a-f0-9]+: f3 0f 1e fb endbr32
- +[a-f0-9]+: 68 08 00 00 00 push \$0x8
-- +[a-f0-9]+: e9 d2 ff ff ff jmp 140 <.plt>
-+ +[a-f0-9]+: e9 d2 ff ff ff jmp 140 <bar1@plt-0x30>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-i386/ibt-plt-2c.d b/ld/testsuite/ld-i386/ibt-plt-2c.d
-index a9c8642ced..445e08fa8b 100644
---- a/ld/testsuite/ld-i386/ibt-plt-2c.d
-+++ b/ld/testsuite/ld-i386/ibt-plt-2c.d
-@@ -14,11 +14,11 @@ Disassembly of section .plt:
- +[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%eax\)
- +[a-f0-9]+: f3 0f 1e fb endbr32
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 e2 ff ff ff jmp [a-f0-9]+ <.plt>
-+ +[a-f0-9]+: e9 e2 ff ff ff jmp [a-f0-9]+ <bar1@plt-0x30>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
- +[a-f0-9]+: f3 0f 1e fb endbr32
- +[a-f0-9]+: 68 08 00 00 00 push \$0x8
-- +[a-f0-9]+: e9 d2 ff ff ff jmp [a-f0-9]+ <.plt>
-+ +[a-f0-9]+: e9 d2 ff ff ff jmp [a-f0-9]+ <bar1@plt-0x30>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-i386/ibt-plt-3a.d b/ld/testsuite/ld-i386/ibt-plt-3a.d
-index b4366c9315..b357a74a33 100644
---- a/ld/testsuite/ld-i386/ibt-plt-3a.d
-+++ b/ld/testsuite/ld-i386/ibt-plt-3a.d
-@@ -14,11 +14,11 @@ Disassembly of section .plt:
- +[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%eax\)
- +[a-f0-9]+: f3 0f 1e fb endbr32
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 e2 ff ff ff jmp 140 <.plt>
-+ +[a-f0-9]+: e9 e2 ff ff ff jmp 140 <bar1@plt-0x30>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
- +[a-f0-9]+: f3 0f 1e fb endbr32
- +[a-f0-9]+: 68 08 00 00 00 push \$0x8
-- +[a-f0-9]+: e9 d2 ff ff ff jmp 140 <.plt>
-+ +[a-f0-9]+: e9 d2 ff ff ff jmp 140 <bar1@plt-0x30>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-i386/ibt-plt-3c.d b/ld/testsuite/ld-i386/ibt-plt-3c.d
-index b4366c9315..b357a74a33 100644
---- a/ld/testsuite/ld-i386/ibt-plt-3c.d
-+++ b/ld/testsuite/ld-i386/ibt-plt-3c.d
-@@ -14,11 +14,11 @@ Disassembly of section .plt:
- +[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%eax\)
- +[a-f0-9]+: f3 0f 1e fb endbr32
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 e2 ff ff ff jmp 140 <.plt>
-+ +[a-f0-9]+: e9 e2 ff ff ff jmp 140 <bar1@plt-0x30>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
- +[a-f0-9]+: f3 0f 1e fb endbr32
- +[a-f0-9]+: 68 08 00 00 00 push \$0x8
-- +[a-f0-9]+: e9 d2 ff ff ff jmp 140 <.plt>
-+ +[a-f0-9]+: e9 d2 ff ff ff jmp 140 <bar1@plt-0x30>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-i386/plt-pic.pd b/ld/testsuite/ld-i386/plt-pic.pd
-index 5c047d4deb..fe0f3efb1b 100644
---- a/ld/testsuite/ld-i386/plt-pic.pd
-+++ b/ld/testsuite/ld-i386/plt-pic.pd
-@@ -8,7 +8,7 @@
-
- Disassembly of section .plt:
-
--[0-9a-f]+ <.plt>:
-+[0-9a-f]+ <fn1@plt-0x10>:
- +[0-9a-f]+: ff b3 04 00 00 00 push 0x4\(%ebx\)
- +[0-9a-f]+: ff a3 08 00 00 00 jmp \*0x8\(%ebx\)
- #...
-@@ -16,9 +16,9 @@ Disassembly of section .plt:
- [0-9a-f]+ <fn1@plt>:
- +[0-9a-f]+: ff a3 ([0-9a-f]{2} ){4} * jmp \*0x[0-9a-f]+\(%ebx\)
- +[0-9a-f]+: 68 00 00 00 00 push \$0x0
-- +[0-9a-f]+: e9 ([0-9a-f]{2} ){4} * jmp [0-9a-f]+ <.plt>
-+ +[0-9a-f]+: e9 ([0-9a-f]{2} ){4} * jmp [0-9a-f]+ <fn1@plt-0x10>
-
- [0-9a-f]+ <fn2@plt>:
- +[0-9a-f]+: ff a3 ([0-9a-f]{2} ){4} * jmp \*0x[0-9a-f]+\(%ebx\)
- +[0-9a-f]+: 68 08 00 00 00 push \$0x8
-- +[0-9a-f]+: e9 ([0-9a-f]{2} ){4} * jmp [0-9a-f]+ <.plt>
-+ +[0-9a-f]+: e9 ([0-9a-f]{2} ){4} * jmp [0-9a-f]+ <fn1@plt-0x10>
-diff --git a/ld/testsuite/ld-i386/plt-pic2.dd b/ld/testsuite/ld-i386/plt-pic2.dd
-index 8162234aab..c9af97203a 100644
---- a/ld/testsuite/ld-i386/plt-pic2.dd
-+++ b/ld/testsuite/ld-i386/plt-pic2.dd
-@@ -9,7 +9,7 @@
-
- Disassembly of section .plt:
-
--.* <.plt>:
-+.* <fn1@plt-0x10>:
- +[a-f0-9]+: ff b3 04 00 00 00 push 0x4\(%ebx\)
- +[a-f0-9]+: ff a3 08 00 00 00 jmp \*0x8\(%ebx\)
- +[a-f0-9]+: 00 00 add %al,\(%eax\)
-@@ -18,12 +18,12 @@ Disassembly of section .plt:
- .* <fn1@plt>:
- +[a-f0-9]+: ff a3 0c 00 00 00 jmp \*0xc\(%ebx\)
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 e0 ff ff ff jmp .* <.plt>
-+ +[a-f0-9]+: e9 e0 ff ff ff jmp .* <fn1@plt-0x10>
-
- .* <fn2@plt>:
- +[a-f0-9]+: ff a3 10 00 00 00 jmp \*0x10\(%ebx\)
- +[a-f0-9]+: 68 08 00 00 00 push \$0x8
-- +[a-f0-9]+: e9 d0 ff ff ff jmp .* <.plt>
-+ +[a-f0-9]+: e9 d0 ff ff ff jmp .* <fn1@plt-0x10>
-
- Disassembly of section .text:
-
-diff --git a/ld/testsuite/ld-i386/plt.pd b/ld/testsuite/ld-i386/plt.pd
-index efcd8a1b1d..9c395c3b8d 100644
---- a/ld/testsuite/ld-i386/plt.pd
-+++ b/ld/testsuite/ld-i386/plt.pd
-@@ -8,7 +8,7 @@
-
- Disassembly of section .plt:
-
--[0-9a-f]+ <.plt>:
-+[0-9a-f]+ <fn1@plt-0x10>:
- +[0-9a-f]+: ff 35 ([0-9a-f]{2} ){4} * push 0x[0-9a-f]+
- +[0-9a-f]+: ff 25 ([0-9a-f]{2} ){4} * jmp \*0x[0-9a-f]+
- #...
-@@ -16,9 +16,9 @@ Disassembly of section .plt:
- [0-9a-f]+ <fn1@plt>:
- +[0-9a-f]+: ff 25 ([0-9a-f]{2} ){4} * jmp \*0x[0-9a-f]+
- +[0-9a-f]+: 68 00 00 00 00 push \$0x0
-- +[0-9a-f]+: e9 ([0-9a-f]{2} ){4} * jmp [0-9a-f]+ <.plt>
-+ +[0-9a-f]+: e9 ([0-9a-f]{2} ){4} * jmp [0-9a-f]+ <fn1@plt-0x10>
-
- [0-9a-f]+ <fn2@plt>:
- +[0-9a-f]+: ff 25 ([0-9a-f]{2} ){4} * jmp \*0x[0-9a-f]+
- +[0-9a-f]+: 68 08 00 00 00 push \$0x8
-- +[0-9a-f]+: e9 ([0-9a-f]{2} ){4} * jmp [0-9a-f]+ <.plt>
-+ +[0-9a-f]+: e9 ([0-9a-f]{2} ){4} * jmp [0-9a-f]+ <fn1@plt-0x10>
-diff --git a/ld/testsuite/ld-i386/plt2.dd b/ld/testsuite/ld-i386/plt2.dd
-index c9d673f65a..5623fe9685 100644
---- a/ld/testsuite/ld-i386/plt2.dd
-+++ b/ld/testsuite/ld-i386/plt2.dd
-@@ -9,7 +9,7 @@
-
- Disassembly of section .plt:
-
--0+8048160 <.plt>:
-+0+8048160 <fn1@plt-0x10>:
- +[a-f0-9]+: ff 35 40 92 04 08 push 0x8049240
- +[a-f0-9]+: ff 25 44 92 04 08 jmp \*0x8049244
- +[a-f0-9]+: 00 00 add %al,\(%eax\)
-@@ -18,12 +18,12 @@ Disassembly of section .plt:
- 0+8048170 <fn1@plt>:
- +[a-f0-9]+: ff 25 48 92 04 08 jmp \*0x8049248
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 e0 ff ff ff jmp 8048160 <.plt>
-+ +[a-f0-9]+: e9 e0 ff ff ff jmp 8048160 <fn1@plt-0x10>
-
- 0+8048180 <fn2@plt>:
- +[a-f0-9]+: ff 25 4c 92 04 08 jmp \*0x804924c
- +[a-f0-9]+: 68 08 00 00 00 push \$0x8
-- +[a-f0-9]+: e9 d0 ff ff ff jmp 8048160 <.plt>
-+ +[a-f0-9]+: e9 d0 ff ff ff jmp 8048160 <fn1@plt-0x10>
-
- Disassembly of section .text:
-
-diff --git a/ld/testsuite/ld-i386/pr19636-1d.d b/ld/testsuite/ld-i386/pr19636-1d.d
-index b7e6aba92c..f294c9c707 100644
---- a/ld/testsuite/ld-i386/pr19636-1d.d
-+++ b/ld/testsuite/ld-i386/pr19636-1d.d
-@@ -22,4 +22,4 @@ Disassembly of section .text:
- .* <_start>:
- [ ]*[a-f0-9]+: 3b 80 f8 ff ff ff cmp -0x8\(%eax\),%eax
- [ ]*[a-f0-9]+: ff a0 fc ff ff ff jmp \*-0x4\(%eax\)
--[ ]*[a-f0-9]+: e8 df ff ff ff call .* <\.plt\+0x10>
-+[ ]*[a-f0-9]+: e8 df ff ff ff call .* <_start-0x10>
-diff --git a/ld/testsuite/ld-i386/pr19636-1l.d b/ld/testsuite/ld-i386/pr19636-1l.d
-index 8f2a8e5127..a7568aa74a 100644
---- a/ld/testsuite/ld-i386/pr19636-1l.d
-+++ b/ld/testsuite/ld-i386/pr19636-1l.d
-@@ -23,4 +23,4 @@ Disassembly of section .text:
- .* <_start>:
- [ ]*[a-f0-9]+: 3b 80 f8 ff ff ff cmp -0x8\(%eax\),%eax
- [ ]*[a-f0-9]+: ff a0 fc ff ff ff jmp \*-0x4\(%eax\)
--[ ]*[a-f0-9]+: e8 df ff ff ff call .* <\.plt\+0x10>
-+[ ]*[a-f0-9]+: e8 df ff ff ff call .* <_start-0x10>
-diff --git a/ld/testsuite/ld-i386/pr19636-2c.d b/ld/testsuite/ld-i386/pr19636-2c.d
-index 4b49c81755..92b241073c 100644
---- a/ld/testsuite/ld-i386/pr19636-2c.d
-+++ b/ld/testsuite/ld-i386/pr19636-2c.d
-@@ -22,6 +22,6 @@ Disassembly of section .text:
- .* <_start>:
- [ ]*[a-f0-9]+: 3b 80 fc ff ff ff cmp -0x4\(%eax\),%eax
- [ ]*[a-f0-9]+: ff a0 fc ff ff ff jmp \*-0x4\(%eax\)
--[ ]*[a-f0-9]+: e8 df ff ff ff call .* <\.plt\+0x10>
-+[ ]*[a-f0-9]+: e8 df ff ff ff call .* <_start-0x10>
- [ ]*[a-f0-9]+: 3d 00 00 00 00 cmp \$0x0,%eax
- [ ]*[a-f0-9]+: e8 fc ff ff ff call .* <_start\+0x17>
-diff --git a/ld/testsuite/ld-i386/tlsbin.rd b/ld/testsuite/ld-i386/tlsbin.rd
-index 20e4c5ed36..39afcd0b5b 100644
---- a/ld/testsuite/ld-i386/tlsbin.rd
-+++ b/ld/testsuite/ld-i386/tlsbin.rd
-@@ -84,19 +84,6 @@ Symbol table '\.dynsym' contains [0-9]+ entries:
- Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
- +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +13 *
- .* FILE +LOCAL +DEFAULT +ABS .*tlsbinpic.o
- +[0-9]+: 00000020 +0 +TLS +LOCAL +DEFAULT +9 sl1
- +[0-9]+: 00000024 +0 +TLS +LOCAL +DEFAULT +9 sl2
-diff --git a/ld/testsuite/ld-i386/tlsbin2.rd b/ld/testsuite/ld-i386/tlsbin2.rd
-index 5177f4d30d..fcbecc3196 100644
---- a/ld/testsuite/ld-i386/tlsbin2.rd
-+++ b/ld/testsuite/ld-i386/tlsbin2.rd
-@@ -79,17 +79,6 @@ Symbol table '\.dynsym' contains [0-9]+ entries:
- Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
- +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 *
- .* FILE +LOCAL +DEFAULT +ABS .*tlsbinpic2.o
- +[0-9]+: 00000020 +0 +TLS +LOCAL +DEFAULT +7 sl1
- +[0-9]+: 00000024 +0 +TLS +LOCAL +DEFAULT +7 sl2
-diff --git a/ld/testsuite/ld-i386/tlsbindesc.rd b/ld/testsuite/ld-i386/tlsbindesc.rd
-index 1c9c4f2cb2..b831f89133 100644
---- a/ld/testsuite/ld-i386/tlsbindesc.rd
-+++ b/ld/testsuite/ld-i386/tlsbindesc.rd
-@@ -77,17 +77,6 @@ Symbol table '\.dynsym' contains [0-9]+ entries:
- Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
- +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 *
- .* FILE +LOCAL +DEFAULT +ABS .*tlsbindesc.o
- +[0-9]+: 00000020 +0 +TLS +LOCAL +DEFAULT +7 sl1
- +[0-9]+: 00000024 +0 +TLS +LOCAL +DEFAULT +7 sl2
-diff --git a/ld/testsuite/ld-i386/tlsdesc.rd b/ld/testsuite/ld-i386/tlsdesc.rd
-index a5b4fb83c0..ec418d1a1f 100644
---- a/ld/testsuite/ld-i386/tlsdesc.rd
-+++ b/ld/testsuite/ld-i386/tlsdesc.rd
-@@ -92,17 +92,6 @@ Symbol table '\.dynsym' contains [0-9]+ entries:
- Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
- +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 *
- .* FILE +LOCAL +DEFAULT +ABS .*tlsdesc.o
- +[0-9]+: 0+20 +0 +TLS +LOCAL +DEFAULT +7 sl1
- +[0-9]+: 0+24 +0 +TLS +LOCAL +DEFAULT +7 sl2
-diff --git a/ld/testsuite/ld-i386/tlsgdesc.rd b/ld/testsuite/ld-i386/tlsgdesc.rd
-index ef131ef857..0744aeb78b 100644
---- a/ld/testsuite/ld-i386/tlsgdesc.rd
-+++ b/ld/testsuite/ld-i386/tlsgdesc.rd
-@@ -73,16 +73,6 @@ Symbol table '\.dynsym' contains [0-9]+ entries:
- Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
- +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 *
- +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +8 _DYNAMIC
- +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +10 _GLOBAL_OFFSET_TABLE_
- +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3
-diff --git a/ld/testsuite/ld-i386/tlsnopic.rd b/ld/testsuite/ld-i386/tlsnopic.rd
-index 661f1c46c6..229ce23a9a 100644
---- a/ld/testsuite/ld-i386/tlsnopic.rd
-+++ b/ld/testsuite/ld-i386/tlsnopic.rd
-@@ -80,15 +80,6 @@ Symbol table '\.dynsym' contains [0-9]+ entries:
- Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
- +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 *
- .* FILE +LOCAL +DEFAULT +ABS .*tlsnopic1.o
- +[0-9]+: 0+00 +0 +TLS +LOCAL +DEFAULT +6 bl1
- +[0-9]+: 0+04 +0 +TLS +LOCAL +DEFAULT +6 bl2
-diff --git a/ld/testsuite/ld-i386/tlspic.rd b/ld/testsuite/ld-i386/tlspic.rd
-index 3425c951bd..135d74907d 100644
---- a/ld/testsuite/ld-i386/tlspic.rd
-+++ b/ld/testsuite/ld-i386/tlspic.rd
-@@ -96,18 +96,6 @@ Symbol table '\.dynsym' contains [0-9]+ entries:
- Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
- +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 *
- .* FILE +LOCAL +DEFAULT +ABS .*tlspic1.o
- +[0-9]+: 0+20 +0 +TLS +LOCAL +DEFAULT +8 sl1
- +[0-9]+: 0+24 +0 +TLS +LOCAL +DEFAULT +8 sl2
-diff --git a/ld/testsuite/ld-i386/tlspic2.rd b/ld/testsuite/ld-i386/tlspic2.rd
-index 274445db84..ce85a55be4 100644
---- a/ld/testsuite/ld-i386/tlspic2.rd
-+++ b/ld/testsuite/ld-i386/tlspic2.rd
-@@ -91,16 +91,6 @@ Symbol table '\.dynsym' contains [0-9]+ entries:
- Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
- +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 *
- .* FILE +LOCAL +DEFAULT +ABS .*tlspic3.o
- +[0-9]+: 0+20 +0 +TLS +LOCAL +DEFAULT +6 sl1
- +[0-9]+: 0+24 +0 +TLS +LOCAL +DEFAULT +6 sl2
-diff --git a/ld/testsuite/ld-ifunc/ifunc-2-i386-now.d b/ld/testsuite/ld-ifunc/ifunc-2-i386-now.d
-index 2c917fa293..0d3f7b80d0 100644
---- a/ld/testsuite/ld-ifunc/ifunc-2-i386-now.d
-+++ b/ld/testsuite/ld-ifunc/ifunc-2-i386-now.d
-@@ -10,7 +10,7 @@
-
- Disassembly of section .plt:
-
--0+f0 <.plt>:
-+0+f0 <\*ABS\*@plt-0x10>:
- +[a-f0-9]+: ff b3 04 00 00 00 push 0x4\(%ebx\)
- +[a-f0-9]+: ff a3 08 00 00 00 jmp \*0x8\(%ebx\)
- +[a-f0-9]+: 00 00 add %al,\(%eax\)
-@@ -19,7 +19,7 @@ Disassembly of section .plt:
- 0+100 <\*ABS\*@plt>:
- +[a-f0-9]+: ff a3 0c 00 00 00 jmp \*0xc\(%ebx\)
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 e0 ff ff ff jmp f0 <.plt>
-+ +[a-f0-9]+: e9 e0 ff ff ff jmp f0 <\*ABS\*@plt-0x10>
-
- Disassembly of section .text:
-
-diff --git a/ld/testsuite/ld-ifunc/ifunc-2-local-i386-now.d b/ld/testsuite/ld-ifunc/ifunc-2-local-i386-now.d
-index 01f6a78146..48d2084d38 100644
---- a/ld/testsuite/ld-ifunc/ifunc-2-local-i386-now.d
-+++ b/ld/testsuite/ld-ifunc/ifunc-2-local-i386-now.d
-@@ -10,7 +10,7 @@
-
- Disassembly of section .plt:
-
--0+e0 <.plt>:
-+0+e0 <\*ABS\*@plt-0x10>:
- +[a-f0-9]+: ff b3 04 00 00 00 push 0x4\(%ebx\)
- +[a-f0-9]+: ff a3 08 00 00 00 jmp \*0x8\(%ebx\)
- +[a-f0-9]+: 00 00 add %al,\(%eax\)
-@@ -19,7 +19,7 @@ Disassembly of section .plt:
- 0+f0 <\*ABS\*@plt>:
- +[a-f0-9]+: ff a3 0c 00 00 00 jmp \*0xc\(%ebx\)
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 e0 ff ff ff jmp e0 <.plt>
-+ +[a-f0-9]+: e9 e0 ff ff ff jmp e0 <\*ABS\*@plt-0x10>
-
- Disassembly of section .text:
-
-diff --git a/ld/testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d b/ld/testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d
-index 375cecd6f2..14866a8f6c 100644
---- a/ld/testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d
-+++ b/ld/testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d
-@@ -9,7 +9,7 @@
-
- Disassembly of section .plt:
-
--0+170 <.plt>:
-+0+170 <\*ABS\*\+0x190@plt-0x10>:
- +[a-f0-9]+: ff 35 42 01 20 00 push 0x200142\(%rip\) # 2002b8 <_GLOBAL_OFFSET_TABLE_\+0x8>
- +[a-f0-9]+: ff 25 44 01 20 00 jmp \*0x200144\(%rip\) # 2002c0 <_GLOBAL_OFFSET_TABLE_\+0x10>
- +[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\)
-@@ -17,7 +17,7 @@ Disassembly of section .plt:
- 0+180 <\*ABS\*\+0x190@plt>:
- +[a-f0-9]+: ff 25 42 01 20 00 jmp \*0x200142\(%rip\) # 2002c8 <_GLOBAL_OFFSET_TABLE_\+0x18>
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 e0 ff ff ff jmp 170 <.plt>
-+ +[a-f0-9]+: e9 e0 ff ff ff jmp 170 <\*ABS\*\+0x190@plt-0x10>
-
- Disassembly of section .text:
-
-diff --git a/ld/testsuite/ld-ifunc/ifunc-2-x86-64-now.d b/ld/testsuite/ld-ifunc/ifunc-2-x86-64-now.d
-index 9cd35181b8..1cd60941ac 100644
---- a/ld/testsuite/ld-ifunc/ifunc-2-x86-64-now.d
-+++ b/ld/testsuite/ld-ifunc/ifunc-2-x86-64-now.d
-@@ -9,7 +9,7 @@
-
- Disassembly of section .plt:
-
--0+170 <.plt>:
-+0+170 <\*ABS\*\+0x190@plt-0x10>:
- +[a-f0-9]+: ff 35 42 01 20 00 push 0x200142\(%rip\) # 2002b8 <_GLOBAL_OFFSET_TABLE_\+0x8>
- +[a-f0-9]+: ff 25 44 01 20 00 jmp \*0x200144\(%rip\) # 2002c0 <_GLOBAL_OFFSET_TABLE_\+0x10>
- +[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\)
-@@ -17,7 +17,7 @@ Disassembly of section .plt:
- 0+180 <\*ABS\*\+0x190@plt>:
- +[a-f0-9]+: ff 25 42 01 20 00 jmp \*0x200142\(%rip\) # 2002c8 <_GLOBAL_OFFSET_TABLE_\+0x18>
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 e0 ff ff ff jmp 170 <.plt>
-+ +[a-f0-9]+: e9 e0 ff ff ff jmp 170 <\*ABS\*\+0x190@plt-0x10>
-
- Disassembly of section .text:
-
-diff --git a/ld/testsuite/ld-ifunc/ifunc-21-x86-64.d b/ld/testsuite/ld-ifunc/ifunc-21-x86-64.d
-index de12e9f543..69a4ade87f 100644
---- a/ld/testsuite/ld-ifunc/ifunc-21-x86-64.d
-+++ b/ld/testsuite/ld-ifunc/ifunc-21-x86-64.d
-@@ -9,11 +9,11 @@
- Disassembly of section .text:
-
- 0+4000c8 <__start>:
-- +[a-f0-9]+: ff 15 2a 00 20 00 call \*0x20002a\(%rip\) # 6000f8 <.got>
-- +[a-f0-9]+: ff 25 24 00 20 00 jmp \*0x200024\(%rip\) # 6000f8 <.got>
-- +[a-f0-9]+: 48 03 05 1d 00 20 00 add 0x20001d\(%rip\),%rax # 6000f8 <.got>
-- +[a-f0-9]+: 48 8b 05 16 00 20 00 mov 0x200016\(%rip\),%rax # 6000f8 <.got>
-- +[a-f0-9]+: 48 85 05 0f 00 20 00 test %rax,0x20000f\(%rip\) # 6000f8 <.got>
-+ +[a-f0-9]+: ff 15 2a 00 20 00 call \*0x20002a\(%rip\) # 6000f8 <bar\+0x200007>
-+ +[a-f0-9]+: ff 25 24 00 20 00 jmp \*0x200024\(%rip\) # 6000f8 <bar\+0x200007>
-+ +[a-f0-9]+: 48 03 05 1d 00 20 00 add 0x20001d\(%rip\),%rax # 6000f8 <bar\+0x200007>
-+ +[a-f0-9]+: 48 8b 05 16 00 20 00 mov 0x200016\(%rip\),%rax # 6000f8 <bar\+0x200007>
-+ +[a-f0-9]+: 48 85 05 0f 00 20 00 test %rax,0x20000f\(%rip\) # 6000f8 <bar\+0x200007>
- +[a-f0-9]+: 48 c7 c0 f1 00 40 00 mov \$0x4000f1,%rax
-
- 0+4000f0 <foo>:
-diff --git a/ld/testsuite/ld-ifunc/ifunc-22-x86-64.d b/ld/testsuite/ld-ifunc/ifunc-22-x86-64.d
-index de12e9f543..69a4ade87f 100644
---- a/ld/testsuite/ld-ifunc/ifunc-22-x86-64.d
-+++ b/ld/testsuite/ld-ifunc/ifunc-22-x86-64.d
-@@ -9,11 +9,11 @@
- Disassembly of section .text:
-
- 0+4000c8 <__start>:
-- +[a-f0-9]+: ff 15 2a 00 20 00 call \*0x20002a\(%rip\) # 6000f8 <.got>
-- +[a-f0-9]+: ff 25 24 00 20 00 jmp \*0x200024\(%rip\) # 6000f8 <.got>
-- +[a-f0-9]+: 48 03 05 1d 00 20 00 add 0x20001d\(%rip\),%rax # 6000f8 <.got>
-- +[a-f0-9]+: 48 8b 05 16 00 20 00 mov 0x200016\(%rip\),%rax # 6000f8 <.got>
-- +[a-f0-9]+: 48 85 05 0f 00 20 00 test %rax,0x20000f\(%rip\) # 6000f8 <.got>
-+ +[a-f0-9]+: ff 15 2a 00 20 00 call \*0x20002a\(%rip\) # 6000f8 <bar\+0x200007>
-+ +[a-f0-9]+: ff 25 24 00 20 00 jmp \*0x200024\(%rip\) # 6000f8 <bar\+0x200007>
-+ +[a-f0-9]+: 48 03 05 1d 00 20 00 add 0x20001d\(%rip\),%rax # 6000f8 <bar\+0x200007>
-+ +[a-f0-9]+: 48 8b 05 16 00 20 00 mov 0x200016\(%rip\),%rax # 6000f8 <bar\+0x200007>
-+ +[a-f0-9]+: 48 85 05 0f 00 20 00 test %rax,0x20000f\(%rip\) # 6000f8 <bar\+0x200007>
- +[a-f0-9]+: 48 c7 c0 f1 00 40 00 mov \$0x4000f1,%rax
-
- 0+4000f0 <foo>:
-diff --git a/ld/testsuite/ld-ifunc/pr17154-i386-now.d b/ld/testsuite/ld-ifunc/pr17154-i386-now.d
-index 082d067422..6747b3408d 100644
---- a/ld/testsuite/ld-ifunc/pr17154-i386-now.d
-+++ b/ld/testsuite/ld-ifunc/pr17154-i386-now.d
-@@ -10,7 +10,7 @@
-
- Disassembly of section .plt:
-
--0+180 <.plt>:
-+0+180 <\*ABS\*@plt-0x10>:
- +[a-f0-9]+: ff b3 04 00 00 00 push 0x4\(%ebx\)
- +[a-f0-9]+: ff a3 08 00 00 00 jmp \*0x8\(%ebx\)
- +[a-f0-9]+: 00 00 add %al,\(%eax\)
-@@ -19,22 +19,22 @@ Disassembly of section .plt:
- 0+190 <\*ABS\*@plt>:
- +[a-f0-9]+: ff a3 0c 00 00 00 jmp \*0xc\(%ebx\)
- +[a-f0-9]+: 68 18 00 00 00 push \$0x18
-- +[a-f0-9]+: e9 e0 ff ff ff jmp 180 <.plt>
-+ +[a-f0-9]+: e9 e0 ff ff ff jmp 180 <\*ABS\*@plt-0x10>
-
- 0+1a0 <func1@plt>:
- +[a-f0-9]+: ff a3 10 00 00 00 jmp \*0x10\(%ebx\)
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 d0 ff ff ff jmp 180 <.plt>
-+ +[a-f0-9]+: e9 d0 ff ff ff jmp 180 <\*ABS\*@plt-0x10>
-
- 0+1b0 <func2@plt>:
- +[a-f0-9]+: ff a3 14 00 00 00 jmp \*0x14\(%ebx\)
- +[a-f0-9]+: 68 08 00 00 00 push \$0x8
-- +[a-f0-9]+: e9 c0 ff ff ff jmp 180 <.plt>
-+ +[a-f0-9]+: e9 c0 ff ff ff jmp 180 <\*ABS\*@plt-0x10>
-
- 0+1c0 <\*ABS\*@plt>:
- +[a-f0-9]+: ff a3 18 00 00 00 jmp \*0x18\(%ebx\)
- +[a-f0-9]+: 68 10 00 00 00 push \$0x10
-- +[a-f0-9]+: e9 b0 ff ff ff jmp 180 <.plt>
-+ +[a-f0-9]+: e9 b0 ff ff ff jmp 180 <\*ABS\*@plt-0x10>
-
- Disassembly of section .text:
-
-diff --git a/ld/testsuite/ld-ifunc/pr17154-i386.d b/ld/testsuite/ld-ifunc/pr17154-i386.d
-index 68123bf0ca..0b9817d437 100644
---- a/ld/testsuite/ld-ifunc/pr17154-i386.d
-+++ b/ld/testsuite/ld-ifunc/pr17154-i386.d
-@@ -15,22 +15,22 @@
- 0+190 <\*ABS\*@plt>:
- [ ]*[a-f0-9]+: ff a3 0c 00 00 00 jmp \*0xc\(%ebx\)
- [ ]*[a-f0-9]+: 68 18 00 00 00 push \$0x18
--[ ]*[a-f0-9]+: e9 e0 ff ff ff jmp 180 <.plt>
-+[ ]*[a-f0-9]+: e9 e0 ff ff ff jmp 180 <\*ABS\*@plt-0x10>
-
- 0+1a0 <func1@plt>:
- [ ]*[a-f0-9]+: ff a3 10 00 00 00 jmp \*0x10\(%ebx\)
- [ ]*[a-f0-9]+: 68 00 00 00 00 push \$0x0
--[ ]*[a-f0-9]+: e9 d0 ff ff ff jmp 180 <.plt>
-+[ ]*[a-f0-9]+: e9 d0 ff ff ff jmp 180 <\*ABS\*@plt-0x10>
-
- 0+1b0 <func2@plt>:
- [ ]*[a-f0-9]+: ff a3 14 00 00 00 jmp \*0x14\(%ebx\)
- [ ]*[a-f0-9]+: 68 08 00 00 00 push \$0x8
--[ ]*[a-f0-9]+: e9 c0 ff ff ff jmp 180 <.plt>
-+[ ]*[a-f0-9]+: e9 c0 ff ff ff jmp 180 <\*ABS\*@plt-0x10>
-
- 0+1c0 <\*ABS\*@plt>:
- [ ]*[a-f0-9]+: ff a3 18 00 00 00 jmp \*0x18\(%ebx\)
- [ ]*[a-f0-9]+: 68 10 00 00 00 push \$0x10
--[ ]*[a-f0-9]+: e9 b0 ff ff ff jmp 180 <.plt>
-+[ ]*[a-f0-9]+: e9 b0 ff ff ff jmp 180 <\*ABS\*@plt-0x10>
-
- Disassembly of section .text:
-
-diff --git a/ld/testsuite/ld-ifunc/pr17154-x86-64-now.d b/ld/testsuite/ld-ifunc/pr17154-x86-64-now.d
-index 928a6a78d7..4cc1dc206d 100644
---- a/ld/testsuite/ld-ifunc/pr17154-x86-64-now.d
-+++ b/ld/testsuite/ld-ifunc/pr17154-x86-64-now.d
-@@ -9,7 +9,7 @@
-
- Disassembly of section .plt:
-
--0+240 <.plt>:
-+0+240 <\*ABS\*\+0x29a@plt-0x10>:
- +[a-f0-9]+: ff 35 7a 01 20 00 push 0x20017a\(%rip\) # 2003c0 <_GLOBAL_OFFSET_TABLE_\+0x8>
- +[a-f0-9]+: ff 25 7c 01 20 00 jmp \*0x20017c\(%rip\) # 2003c8 <_GLOBAL_OFFSET_TABLE_\+0x10>
- +[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\)
-@@ -17,22 +17,22 @@ Disassembly of section .plt:
- 0+250 <\*ABS\*\+0x29a@plt>:
- +[a-f0-9]+: ff 25 7a 01 20 00 jmp \*0x20017a\(%rip\) # 2003d0 <_GLOBAL_OFFSET_TABLE_\+0x18>
- +[a-f0-9]+: 68 03 00 00 00 push \$0x3
-- +[a-f0-9]+: e9 e0 ff ff ff jmp 240 <.plt>
-+ +[a-f0-9]+: e9 e0 ff ff ff jmp 240 <\*ABS\*\+0x29a@plt-0x10>
-
- 0+260 <func1@plt>:
- +[a-f0-9]+: ff 25 72 01 20 00 jmp \*0x200172\(%rip\) # 2003d8 <func1>
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 d0 ff ff ff jmp 240 <.plt>
-+ +[a-f0-9]+: e9 d0 ff ff ff jmp 240 <\*ABS\*\+0x29a@plt-0x10>
-
- 0+270 <func2@plt>:
- +[a-f0-9]+: ff 25 6a 01 20 00 jmp \*0x20016a\(%rip\) # 2003e0 <func2>
- +[a-f0-9]+: 68 01 00 00 00 push \$0x1
-- +[a-f0-9]+: e9 c0 ff ff ff jmp 240 <.plt>
-+ +[a-f0-9]+: e9 c0 ff ff ff jmp 240 <\*ABS\*\+0x29a@plt-0x10>
-
- 0+280 <\*ABS\*\+0x290@plt>:
- +[a-f0-9]+: ff 25 62 01 20 00 jmp \*0x200162\(%rip\) # 2003e8 <_GLOBAL_OFFSET_TABLE_\+0x30>
- +[a-f0-9]+: 68 02 00 00 00 push \$0x2
-- +[a-f0-9]+: e9 b0 ff ff ff jmp 240 <.plt>
-+ +[a-f0-9]+: e9 b0 ff ff ff jmp 240 <\*ABS\*\+0x29a@plt-0x10>
-
- Disassembly of section .text:
-
-diff --git a/ld/testsuite/ld-ifunc/pr17154-x86-64.d b/ld/testsuite/ld-ifunc/pr17154-x86-64.d
-index 8a6861dcde..9fb23d410e 100644
---- a/ld/testsuite/ld-ifunc/pr17154-x86-64.d
-+++ b/ld/testsuite/ld-ifunc/pr17154-x86-64.d
-@@ -13,22 +13,22 @@
- 0+250 <\*ABS\*\+0x29a@plt>:
- +[a-f0-9]+: ff 25 5a 01 20 00 jmp \*0x20015a\(%rip\) # 2003b0 <_GLOBAL_OFFSET_TABLE_\+0x18>
- +[a-f0-9]+: 68 03 00 00 00 push \$0x3
-- +[a-f0-9]+: e9 e0 ff ff ff jmp 240 <.plt>
-+ +[a-f0-9]+: e9 e0 ff ff ff jmp 240 <\*ABS\*\+0x29a@plt-0x10>
-
- 0+260 <func1@plt>:
- +[a-f0-9]+: ff 25 52 01 20 00 jmp \*0x200152\(%rip\) # 2003b8 <func1>
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 d0 ff ff ff jmp 240 <.plt>
-+ +[a-f0-9]+: e9 d0 ff ff ff jmp 240 <\*ABS\*\+0x29a@plt-0x10>
-
- 0+270 <func2@plt>:
- +[a-f0-9]+: ff 25 4a 01 20 00 jmp \*0x20014a\(%rip\) # 2003c0 <func2>
- +[a-f0-9]+: 68 01 00 00 00 push \$0x1
-- +[a-f0-9]+: e9 c0 ff ff ff jmp 240 <.plt>
-+ +[a-f0-9]+: e9 c0 ff ff ff jmp 240 <\*ABS\*\+0x29a@plt-0x10>
-
- 0+280 <\*ABS\*\+0x290@plt>:
- +[a-f0-9]+: ff 25 42 01 20 00 jmp \*0x200142\(%rip\) # 2003c8 <_GLOBAL_OFFSET_TABLE_\+0x30>
- +[a-f0-9]+: 68 02 00 00 00 push \$0x2
-- +[a-f0-9]+: e9 b0 ff ff ff jmp 240 <.plt>
-+ +[a-f0-9]+: e9 b0 ff ff ff jmp 240 <\*ABS\*\+0x29a@plt-0x10>
-
- Disassembly of section .text:
-
-diff --git a/ld/testsuite/ld-x86-64/bnd-branch-1-now.d b/ld/testsuite/ld-x86-64/bnd-branch-1-now.d
-index 9640beac2d..b7bc4e526c 100644
---- a/ld/testsuite/ld-x86-64/bnd-branch-1-now.d
-+++ b/ld/testsuite/ld-x86-64/bnd-branch-1-now.d
-@@ -8,7 +8,7 @@
-
- Disassembly of section .plt:
-
--0+230 <.plt>:
-+0+230 <foo2@plt-0x10>:
- +[a-f0-9]+: ff 35 82 01 20 00 push 0x200182\(%rip\) # 2003b8 <_GLOBAL_OFFSET_TABLE_\+0x8>
- +[a-f0-9]+: ff 25 84 01 20 00 jmp \*0x200184\(%rip\) # 2003c0 <_GLOBAL_OFFSET_TABLE_\+0x10>
- +[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\)
-@@ -16,22 +16,22 @@ Disassembly of section .plt:
- 0+240 <foo2@plt>:
- +[a-f0-9]+: ff 25 82 01 20 00 jmp \*0x200182\(%rip\) # 2003c8 <foo2>
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 e0 ff ff ff jmp 230 <.plt>
-+ +[a-f0-9]+: e9 e0 ff ff ff jmp 230 <foo2@plt-0x10>
-
- 0+250 <foo3@plt>:
- +[a-f0-9]+: ff 25 7a 01 20 00 jmp \*0x20017a\(%rip\) # 2003d0 <foo3>
- +[a-f0-9]+: 68 01 00 00 00 push \$0x1
-- +[a-f0-9]+: e9 d0 ff ff ff jmp 230 <.plt>
-+ +[a-f0-9]+: e9 d0 ff ff ff jmp 230 <foo2@plt-0x10>
-
- 0+260 <foo1@plt>:
- +[a-f0-9]+: ff 25 72 01 20 00 jmp \*0x200172\(%rip\) # 2003d8 <foo1>
- +[a-f0-9]+: 68 02 00 00 00 push \$0x2
-- +[a-f0-9]+: e9 c0 ff ff ff jmp 230 <.plt>
-+ +[a-f0-9]+: e9 c0 ff ff ff jmp 230 <foo2@plt-0x10>
-
- 0+270 <foo4@plt>:
- +[a-f0-9]+: ff 25 6a 01 20 00 jmp \*0x20016a\(%rip\) # 2003e0 <foo4>
- +[a-f0-9]+: 68 03 00 00 00 push \$0x3
-- +[a-f0-9]+: e9 b0 ff ff ff jmp 230 <.plt>
-+ +[a-f0-9]+: e9 b0 ff ff ff jmp 230 <foo2@plt-0x10>
-
- Disassembly of section .text:
-
-diff --git a/ld/testsuite/ld-x86-64/bnd-ifunc-1-now.d b/ld/testsuite/ld-x86-64/bnd-ifunc-1-now.d
-index 25af7f81d4..15ecfe1cc5 100644
---- a/ld/testsuite/ld-x86-64/bnd-ifunc-1-now.d
-+++ b/ld/testsuite/ld-x86-64/bnd-ifunc-1-now.d
-@@ -13,7 +13,7 @@ Disassembly of section .plt:
- +[a-f0-9]+: f2 ff 25 4b 01 20 00 bnd jmp \*0x20014b\(%rip\) # 2002c8 <_GLOBAL_OFFSET_TABLE_\+0x10>
- +[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 170 <.plt>
-+ +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 170 <\*ABS\*\+0x198@plt-0x20>
- +[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/bnd-ifunc-2-now.d b/ld/testsuite/ld-x86-64/bnd-ifunc-2-now.d
-index 634940d5b1..211d72d233 100644
---- a/ld/testsuite/ld-x86-64/bnd-ifunc-2-now.d
-+++ b/ld/testsuite/ld-x86-64/bnd-ifunc-2-now.d
-@@ -13,16 +13,16 @@ Disassembly of section .plt:
- +[a-f0-9]+: f2 ff 25 9b 01 20 00 bnd jmp \*0x20019b\(%rip\) # 2003e8 <_GLOBAL_OFFSET_TABLE_\+0x10>
- +[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
- +[a-f0-9]+: 68 03 00 00 00 push \$0x3
-- +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 240 <.plt>
-+ +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 240 <\*ABS\*\+0x2bc@plt-0x50>
- +[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: f2 e9 d5 ff ff ff bnd jmp 240 <.plt>
-+ +[a-f0-9]+: f2 e9 d5 ff ff ff bnd jmp 240 <\*ABS\*\+0x2bc@plt-0x50>
- +[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
- +[a-f0-9]+: 68 01 00 00 00 push \$0x1
-- +[a-f0-9]+: f2 e9 c5 ff ff ff bnd jmp 240 <.plt>
-+ +[a-f0-9]+: f2 e9 c5 ff ff ff bnd jmp 240 <\*ABS\*\+0x2bc@plt-0x50>
- +[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
- +[a-f0-9]+: 68 02 00 00 00 push \$0x2
-- +[a-f0-9]+: f2 e9 b5 ff ff ff bnd jmp 240 <.plt>
-+ +[a-f0-9]+: f2 e9 b5 ff ff ff bnd jmp 240 <\*ABS\*\+0x2bc@plt-0x50>
- +[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/bnd-ifunc-2.d b/ld/testsuite/ld-x86-64/bnd-ifunc-2.d
-index 7a0356cc69..f80ba15aa3 100644
---- a/ld/testsuite/ld-x86-64/bnd-ifunc-2.d
-+++ b/ld/testsuite/ld-x86-64/bnd-ifunc-2.d
-@@ -8,16 +8,16 @@
- [ ]*[a-f0-9]+: f2 ff 25 7b 01 20 00 bnd jmp \*0x20017b\(%rip\)[ ]*(#.*)?
- [ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
- [ ]*[a-f0-9]+: 68 03 00 00 00 push \$0x3
--[ ]*[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 240 <.plt>
-+[ ]*[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 240 <\*ABS\*\+0x2bc@plt-0x50>
- [ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
- [ ]*[a-f0-9]+: 68 00 00 00 00 push \$0x0
--[ ]*[a-f0-9]+: f2 e9 d5 ff ff ff bnd jmp 240 <.plt>
-+[ ]*[a-f0-9]+: f2 e9 d5 ff ff ff bnd jmp 240 <\*ABS\*\+0x2bc@plt-0x50>
- [ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
- [ ]*[a-f0-9]+: 68 01 00 00 00 push \$0x1
--[ ]*[a-f0-9]+: f2 e9 c5 ff ff ff bnd jmp 240 <.plt>
-+[ ]*[a-f0-9]+: f2 e9 c5 ff ff ff bnd jmp 240 <\*ABS\*\+0x2bc@plt-0x50>
- [ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
- [ ]*[a-f0-9]+: 68 02 00 00 00 push \$0x2
--[ ]*[a-f0-9]+: f2 e9 b5 ff ff ff bnd jmp 240 <.plt>
-+[ ]*[a-f0-9]+: f2 e9 b5 ff ff ff bnd jmp 240 <\*ABS\*\+0x2bc@plt-0x50>
- [ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/bnd-plt-1-now.d b/ld/testsuite/ld-x86-64/bnd-plt-1-now.d
-index be5392c45f..24e28210a0 100644
---- a/ld/testsuite/ld-x86-64/bnd-plt-1-now.d
-+++ b/ld/testsuite/ld-x86-64/bnd-plt-1-now.d
-@@ -13,16 +13,16 @@ Disassembly of section .plt:
- +[a-f0-9]+: f2 ff 25 a3 01 20 00 bnd jmp \*0x2001a3\(%rip\) # 2003e0 <_GLOBAL_OFFSET_TABLE_\+0x10>
- +[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 230 <.plt>
-+ +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 230 <foo2@plt-0x50>
- +[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
- +[a-f0-9]+: 68 01 00 00 00 push \$0x1
-- +[a-f0-9]+: f2 e9 d5 ff ff ff bnd jmp 230 <.plt>
-+ +[a-f0-9]+: f2 e9 d5 ff ff ff bnd jmp 230 <foo2@plt-0x50>
- +[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
- +[a-f0-9]+: 68 02 00 00 00 push \$0x2
-- +[a-f0-9]+: f2 e9 c5 ff ff ff bnd jmp 230 <.plt>
-+ +[a-f0-9]+: f2 e9 c5 ff ff ff bnd jmp 230 <foo2@plt-0x50>
- +[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
- +[a-f0-9]+: 68 03 00 00 00 push \$0x3
-- +[a-f0-9]+: f2 e9 b5 ff ff ff bnd jmp 230 <.plt>
-+ +[a-f0-9]+: f2 e9 b5 ff ff ff bnd jmp 230 <foo2@plt-0x50>
- +[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/bnd-plt-1.d b/ld/testsuite/ld-x86-64/bnd-plt-1.d
-index cca370527a..ab3ab45faa 100644
---- a/ld/testsuite/ld-x86-64/bnd-plt-1.d
-+++ b/ld/testsuite/ld-x86-64/bnd-plt-1.d
-@@ -13,16 +13,16 @@ Disassembly of section .plt:
- [ ]*[a-f0-9]+: f2 ff 25 83 01 20 00 bnd jmp \*0x200183\(%rip\)[ ]*(#.*)?
- [ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
- [ ]*[a-f0-9]+: 68 00 00 00 00 push \$0x0
--[ ]*[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 230 <.plt>
-+[ ]*[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 230 <foo2@plt-0x50>
- [ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
- [ ]*[a-f0-9]+: 68 01 00 00 00 push \$0x1
--[ ]*[a-f0-9]+: f2 e9 d5 ff ff ff bnd jmp 230 <.plt>
-+[ ]*[a-f0-9]+: f2 e9 d5 ff ff ff bnd jmp 230 <foo2@plt-0x50>
- [ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
- [ ]*[a-f0-9]+: 68 02 00 00 00 push \$0x2
--[ ]*[a-f0-9]+: f2 e9 c5 ff ff ff bnd jmp 230 <.plt>
-+[ ]*[a-f0-9]+: f2 e9 c5 ff ff ff bnd jmp 230 <foo2@plt-0x50>
- [ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
- [ ]*[a-f0-9]+: 68 03 00 00 00 push \$0x3
--[ ]*[a-f0-9]+: f2 e9 b5 ff ff ff bnd jmp 230 <.plt>
-+[ ]*[a-f0-9]+: f2 e9 b5 ff ff ff bnd jmp 230 <foo2@plt-0x50>
- [ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/ibt-plt-1-x32.d b/ld/testsuite/ld-x86-64/ibt-plt-1-x32.d
-index 2018b11936..b011e3f158 100644
---- a/ld/testsuite/ld-x86-64/ibt-plt-1-x32.d
-+++ b/ld/testsuite/ld-x86-64/ibt-plt-1-x32.d
-@@ -14,11 +14,11 @@ Disassembly of section .plt:
- +[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\)
- +[a-f0-9]+: f3 0f 1e fa endbr64
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 e2 ff ff ff jmp [a-f0-9]+ <.plt>
-+ +[a-f0-9]+: e9 e2 ff ff ff jmp [a-f0-9]+ <bar1@plt-0x30>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
- +[a-f0-9]+: f3 0f 1e fa endbr64
- +[a-f0-9]+: 68 01 00 00 00 push \$0x1
-- +[a-f0-9]+: e9 d2 ff ff ff jmp [a-f0-9]+ <.plt>
-+ +[a-f0-9]+: e9 d2 ff ff ff jmp [a-f0-9]+ <bar1@plt-0x30>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/ibt-plt-1.d b/ld/testsuite/ld-x86-64/ibt-plt-1.d
-index d556ec13f6..15563b432d 100644
---- a/ld/testsuite/ld-x86-64/ibt-plt-1.d
-+++ b/ld/testsuite/ld-x86-64/ibt-plt-1.d
-@@ -14,11 +14,11 @@ Disassembly of section .plt:
- +[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
- +[a-f0-9]+: f3 0f 1e fa endbr64
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: f2 e9 e1 ff ff ff bnd jmp [a-f0-9]+ <.plt>
-+ +[a-f0-9]+: f2 e9 e1 ff ff ff bnd jmp [a-f0-9]+ <.*>
- +[a-f0-9]+: 90 nop
- +[a-f0-9]+: f3 0f 1e fa endbr64
- +[a-f0-9]+: 68 01 00 00 00 push \$0x1
-- +[a-f0-9]+: f2 e9 d1 ff ff ff bnd jmp [a-f0-9]+ <.plt>
-+ +[a-f0-9]+: f2 e9 d1 ff ff ff bnd jmp [a-f0-9]+ <.*>
- +[a-f0-9]+: 90 nop
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/ibt-plt-2a-x32.d b/ld/testsuite/ld-x86-64/ibt-plt-2a-x32.d
-index 5168a31c74..a19cece98e 100644
---- a/ld/testsuite/ld-x86-64/ibt-plt-2a-x32.d
-+++ b/ld/testsuite/ld-x86-64/ibt-plt-2a-x32.d
-@@ -14,11 +14,11 @@ Disassembly of section .plt:
- +[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\)
- +[a-f0-9]+: f3 0f 1e fa endbr64
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 e2 ff ff ff jmp 140 <.plt>
-+ +[a-f0-9]+: e9 e2 ff ff ff jmp 140 <bar1@plt-0x30>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
- +[a-f0-9]+: f3 0f 1e fa endbr64
- +[a-f0-9]+: 68 01 00 00 00 push \$0x1
-- +[a-f0-9]+: e9 d2 ff ff ff jmp 140 <.plt>
-+ +[a-f0-9]+: e9 d2 ff ff ff jmp 140 <bar1@plt-0x30>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/ibt-plt-2a.d b/ld/testsuite/ld-x86-64/ibt-plt-2a.d
-index 01401ba141..9278592909 100644
---- a/ld/testsuite/ld-x86-64/ibt-plt-2a.d
-+++ b/ld/testsuite/ld-x86-64/ibt-plt-2a.d
-@@ -14,11 +14,11 @@ Disassembly of section .plt:
- +[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
- +[a-f0-9]+: f3 0f 1e fa endbr64
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: f2 e9 e1 ff ff ff bnd jmp 1f0 <.plt>
-+ +[a-f0-9]+: f2 e9 e1 ff ff ff bnd jmp 1f0 <.*>
- +[a-f0-9]+: 90 nop
- +[a-f0-9]+: f3 0f 1e fa endbr64
- +[a-f0-9]+: 68 01 00 00 00 push \$0x1
-- +[a-f0-9]+: f2 e9 d1 ff ff ff bnd jmp 1f0 <.plt>
-+ +[a-f0-9]+: f2 e9 d1 ff ff ff bnd jmp 1f0 <.*>
- +[a-f0-9]+: 90 nop
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/ibt-plt-2c-x32.d b/ld/testsuite/ld-x86-64/ibt-plt-2c-x32.d
-index 9f9663cca3..b00ab920c0 100644
---- a/ld/testsuite/ld-x86-64/ibt-plt-2c-x32.d
-+++ b/ld/testsuite/ld-x86-64/ibt-plt-2c-x32.d
-@@ -14,11 +14,11 @@ Disassembly of section .plt:
- +[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\)
- +[a-f0-9]+: f3 0f 1e fa endbr64
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 e2 ff ff ff jmp [a-f0-9]+ <.plt>
-+ +[a-f0-9]+: e9 e2 ff ff ff jmp [a-f0-9]+ <bar1@plt-0x30>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
- +[a-f0-9]+: f3 0f 1e fa endbr64
- +[a-f0-9]+: 68 01 00 00 00 push \$0x1
-- +[a-f0-9]+: e9 d2 ff ff ff jmp [a-f0-9]+ <.plt>
-+ +[a-f0-9]+: e9 d2 ff ff ff jmp [a-f0-9]+ <bar1@plt-0x30>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/ibt-plt-2c.d b/ld/testsuite/ld-x86-64/ibt-plt-2c.d
-index aa81fb9ddb..b7969d8c57 100644
---- a/ld/testsuite/ld-x86-64/ibt-plt-2c.d
-+++ b/ld/testsuite/ld-x86-64/ibt-plt-2c.d
-@@ -14,11 +14,11 @@ Disassembly of section .plt:
- +[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
- +[a-f0-9]+: f3 0f 1e fa endbr64
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: f2 e9 e1 ff ff ff bnd jmp [a-f0-9]+ <.plt>
-+ +[a-f0-9]+: f2 e9 e1 ff ff ff bnd jmp [a-f0-9]+ <.*>
- +[a-f0-9]+: 90 nop
- +[a-f0-9]+: f3 0f 1e fa endbr64
- +[a-f0-9]+: 68 01 00 00 00 push \$0x1
-- +[a-f0-9]+: f2 e9 d1 ff ff ff bnd jmp [a-f0-9]+ <.plt>
-+ +[a-f0-9]+: f2 e9 d1 ff ff ff bnd jmp [a-f0-9]+ <.*>
- +[a-f0-9]+: 90 nop
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/ibt-plt-3a-x32.d b/ld/testsuite/ld-x86-64/ibt-plt-3a-x32.d
-index bf185d548f..d6f8bb3afb 100644
---- a/ld/testsuite/ld-x86-64/ibt-plt-3a-x32.d
-+++ b/ld/testsuite/ld-x86-64/ibt-plt-3a-x32.d
-@@ -14,11 +14,11 @@ Disassembly of section .plt:
- +[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\)
- +[a-f0-9]+: f3 0f 1e fa endbr64
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 e2 ff ff ff jmp 140 <.plt>
-+ +[a-f0-9]+: e9 e2 ff ff ff jmp 140 <bar1@plt-0x30>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
- +[a-f0-9]+: f3 0f 1e fa endbr64
- +[a-f0-9]+: 68 01 00 00 00 push \$0x1
-- +[a-f0-9]+: e9 d2 ff ff ff jmp 140 <.plt>
-+ +[a-f0-9]+: e9 d2 ff ff ff jmp 140 <bar1@plt-0x30>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/ibt-plt-3a.d b/ld/testsuite/ld-x86-64/ibt-plt-3a.d
-index 27dd93c8e5..9c15ed4f92 100644
---- a/ld/testsuite/ld-x86-64/ibt-plt-3a.d
-+++ b/ld/testsuite/ld-x86-64/ibt-plt-3a.d
-@@ -14,11 +14,11 @@ Disassembly of section .plt:
- +[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
- +[a-f0-9]+: f3 0f 1e fa endbr64
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: f2 e9 e1 ff ff ff bnd jmp 1f0 <.plt>
-+ +[a-f0-9]+: f2 e9 e1 ff ff ff bnd jmp 1f0 <.*>
- +[a-f0-9]+: 90 nop
- +[a-f0-9]+: f3 0f 1e fa endbr64
- +[a-f0-9]+: 68 01 00 00 00 push \$0x1
-- +[a-f0-9]+: f2 e9 d1 ff ff ff bnd jmp 1f0 <.plt>
-+ +[a-f0-9]+: f2 e9 d1 ff ff ff bnd jmp 1f0 <.*>
- +[a-f0-9]+: 90 nop
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/ibt-plt-3c-x32.d b/ld/testsuite/ld-x86-64/ibt-plt-3c-x32.d
-index 66f4705124..f09b1a666a 100644
---- a/ld/testsuite/ld-x86-64/ibt-plt-3c-x32.d
-+++ b/ld/testsuite/ld-x86-64/ibt-plt-3c-x32.d
-@@ -14,11 +14,11 @@ Disassembly of section .plt:
- +[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\)
- +[a-f0-9]+: f3 0f 1e fa endbr64
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 e2 ff ff ff jmp [a-f0-9]+ <.plt>
-+ +[a-f0-9]+: e9 e2 ff ff ff jmp [a-f0-9]+ <bar1@plt-0x30>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
- +[a-f0-9]+: f3 0f 1e fa endbr64
- +[a-f0-9]+: 68 01 00 00 00 push \$0x1
-- +[a-f0-9]+: e9 d2 ff ff ff jmp [a-f0-9]+ <.plt>
-+ +[a-f0-9]+: e9 d2 ff ff ff jmp [a-f0-9]+ <bar1@plt-0x30>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/ibt-plt-3c.d b/ld/testsuite/ld-x86-64/ibt-plt-3c.d
-index 5c918b8b4d..5c19e3dc96 100644
---- a/ld/testsuite/ld-x86-64/ibt-plt-3c.d
-+++ b/ld/testsuite/ld-x86-64/ibt-plt-3c.d
-@@ -14,11 +14,11 @@ Disassembly of section .plt:
- +[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
- +[a-f0-9]+: f3 0f 1e fa endbr64
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: f2 e9 e1 ff ff ff bnd jmp [a-f0-9]+ <.plt>
-+ +[a-f0-9]+: f2 e9 e1 ff ff ff bnd jmp [a-f0-9]+ <.*>
- +[a-f0-9]+: 90 nop
- +[a-f0-9]+: f3 0f 1e fa endbr64
- +[a-f0-9]+: 68 01 00 00 00 push \$0x1
-- +[a-f0-9]+: f2 e9 d1 ff ff ff bnd jmp [a-f0-9]+ <.plt>
-+ +[a-f0-9]+: f2 e9 d1 ff ff ff bnd jmp [a-f0-9]+ <.*>
- +[a-f0-9]+: 90 nop
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/mpx3.dd b/ld/testsuite/ld-x86-64/mpx3.dd
-index 96e56fc5e0..729b1cf4e9 100644
---- a/ld/testsuite/ld-x86-64/mpx3.dd
-+++ b/ld/testsuite/ld-x86-64/mpx3.dd
-@@ -8,7 +8,7 @@ Disassembly of section .plt:
- [ ]*[a-f0-9]+: f2 ff ([0-9a-f]{2} ){5} bnd jmp \*0x[a-f0-9]+\(%rip\) # [a-f0-9]+ <_GLOBAL_OFFSET_TABLE_\+0x10>
- [ ]*[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
- [ ]*[a-f0-9]+: 68 00 00 00 00 push \$0x0
--[ ]*[a-f0-9]+: f2 e9 ([0-9a-f]{2} ){4} bnd jmp [a-f0-9]+ <.plt>
-+[ ]*[a-f0-9]+: f2 e9 ([0-9a-f]{2} ){4} bnd jmp [a-f0-9]+ <call1@plt-0x20>
- [ ]*[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/mpx3n.dd b/ld/testsuite/ld-x86-64/mpx3n.dd
-index f4609d5ed6..a1eba8e975 100644
---- a/ld/testsuite/ld-x86-64/mpx3n.dd
-+++ b/ld/testsuite/ld-x86-64/mpx3n.dd
-@@ -8,7 +8,7 @@ Disassembly of section .plt:
- +[a-f0-9]+: f2 ff 25 a3 01 20 00 bnd jmp \*0x2001a3\(%rip\) # 6003d0 <_GLOBAL_OFFSET_TABLE_\+0x10>
- +[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 400220 <.plt>
-+ +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 400220 <call1@plt-0x20>
- +[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/mpx4.dd b/ld/testsuite/ld-x86-64/mpx4.dd
-index 35f6869bad..50a0fbca50 100644
---- a/ld/testsuite/ld-x86-64/mpx4.dd
-+++ b/ld/testsuite/ld-x86-64/mpx4.dd
-@@ -8,7 +8,7 @@ Disassembly of section .plt:
- +[a-f0-9]+: f2 ff 25 43 01 20 00 bnd jmp \*0x200143\(%rip\) # 600340 <_GLOBAL_OFFSET_TABLE_\+0x10>
- +[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 4001f0 <.plt>
-+ +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 4001f0 <call1@plt-0x20>
- +[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/mpx4n.dd b/ld/testsuite/ld-x86-64/mpx4n.dd
-index 5585610767..92177bb121 100644
---- a/ld/testsuite/ld-x86-64/mpx4n.dd
-+++ b/ld/testsuite/ld-x86-64/mpx4n.dd
-@@ -8,7 +8,7 @@ Disassembly of section .plt:
- +[a-f0-9]+: f2 ff 25 63 01 20 00 bnd jmp \*0x200163\(%rip\) # 600360 <_GLOBAL_OFFSET_TABLE_\+0x10>
- +[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 4001f0 <.plt>
-+ +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 4001f0 <call1@plt-0x20>
- +[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/pe-x86-64-1.od b/ld/testsuite/ld-x86-64/pe-x86-64-1.od
-index 1ff644ee9c..4966d55fb5 100644
---- a/ld/testsuite/ld-x86-64/pe-x86-64-1.od
-+++ b/ld/testsuite/ld-x86-64/pe-x86-64-1.od
-@@ -2,11 +2,6 @@
- .*: +file format .*
-
- SYMBOL TABLE:
--0+401000 l d .text\$mn 0000000000000000 .text\$mn
--0+402000 l d .xdata 0000000000000000 .xdata
--0+402008 l d .pdata 0000000000000000 .pdata
--0+403014 l d .bss 0000000000000000 .bss
--0+ l d .debug\$S 0000000000000000 .debug\$S
- 0+401000 g .text\$mn 0000000000000000 getaddr1
- 0+401020 g .text\$mn 0000000000000000 begin
- 0+403014 g .bss 0000000000000000 __bss_start
-diff --git a/ld/testsuite/ld-x86-64/pe-x86-64-2.od b/ld/testsuite/ld-x86-64/pe-x86-64-2.od
-index 1ff644ee9c..4966d55fb5 100644
---- a/ld/testsuite/ld-x86-64/pe-x86-64-2.od
-+++ b/ld/testsuite/ld-x86-64/pe-x86-64-2.od
-@@ -2,11 +2,6 @@
- .*: +file format .*
-
- SYMBOL TABLE:
--0+401000 l d .text\$mn 0000000000000000 .text\$mn
--0+402000 l d .xdata 0000000000000000 .xdata
--0+402008 l d .pdata 0000000000000000 .pdata
--0+403014 l d .bss 0000000000000000 .bss
--0+ l d .debug\$S 0000000000000000 .debug\$S
- 0+401000 g .text\$mn 0000000000000000 getaddr1
- 0+401020 g .text\$mn 0000000000000000 begin
- 0+403014 g .bss 0000000000000000 __bss_start
-diff --git a/ld/testsuite/ld-x86-64/pe-x86-64-3.od b/ld/testsuite/ld-x86-64/pe-x86-64-3.od
-index 1ff644ee9c..4966d55fb5 100644
---- a/ld/testsuite/ld-x86-64/pe-x86-64-3.od
-+++ b/ld/testsuite/ld-x86-64/pe-x86-64-3.od
-@@ -2,11 +2,6 @@
- .*: +file format .*
-
- SYMBOL TABLE:
--0+401000 l d .text\$mn 0000000000000000 .text\$mn
--0+402000 l d .xdata 0000000000000000 .xdata
--0+402008 l d .pdata 0000000000000000 .pdata
--0+403014 l d .bss 0000000000000000 .bss
--0+ l d .debug\$S 0000000000000000 .debug\$S
- 0+401000 g .text\$mn 0000000000000000 getaddr1
- 0+401020 g .text\$mn 0000000000000000 begin
- 0+403014 g .bss 0000000000000000 __bss_start
-diff --git a/ld/testsuite/ld-x86-64/pe-x86-64-4.od b/ld/testsuite/ld-x86-64/pe-x86-64-4.od
-index 302a345b2e..e0bde11d84 100644
---- a/ld/testsuite/ld-x86-64/pe-x86-64-4.od
-+++ b/ld/testsuite/ld-x86-64/pe-x86-64-4.od
-@@ -2,12 +2,6 @@
- .*: +file format .*
-
- SYMBOL TABLE:
--0+401000 l d .text\$mn 0000000000000000 .text\$mn
--0+402000 l d .xdata 0000000000000000 .xdata
--0+402008 l d .pdata 0000000000000000 .pdata
--0+403018 l d .data 0000000000000000 .data
--0+403038 l d .bss 0000000000000000 .bss
--0+ l d .debug\$S 0000000000000000 .debug\$S
- 0+403038 g .bss 0000000000000000 c
- 0+401000 g .text\$mn 0000000000000000 begin
- 0+403038 g .bss 0000000000000000 __bss_start
-diff --git a/ld/testsuite/ld-x86-64/plt.pd b/ld/testsuite/ld-x86-64/plt.pd
-index 54a00dffc4..6b4024c5c9 100644
---- a/ld/testsuite/ld-x86-64/plt.pd
-+++ b/ld/testsuite/ld-x86-64/plt.pd
-@@ -8,7 +8,7 @@
-
- Disassembly of section .plt:
-
--[0-9a-f]+ <.plt>:
-+[0-9a-f]+ <fn1@plt-0x10>:
- +[0-9a-f]+: ff 35 ([0-9a-f]{2} ){4} * push 0x[0-9a-f]+\(%rip\) +# [0-9a-f]+ <_GLOBAL_OFFSET_TABLE_\+0x8>
- +[0-9a-f]+: ff 25 ([0-9a-f]{2} ){4} * jmp \*0x[0-9a-f]+\(%rip\) +# [0-9a-f]+ <_GLOBAL_OFFSET_TABLE_\+0x10>
- +[0-9a-f]+: 0f 1f 40 00 nopl 0x0\(%rax\)
-@@ -16,9 +16,9 @@ Disassembly of section .plt:
- [0-9a-f]+ <fn1@plt>:
- +[0-9a-f]+: ff 25 ([0-9a-f]{2} ){4} * jmp \*0x[0-9a-f]+\(%rip\) +# [0-9a-f]+ <fn1>
- +[0-9a-f]+: 68 00 00 00 00 push \$0x0
-- +[0-9a-f]+: e9 ([0-9a-f]{2} ){4} * jmp [0-9a-f]+ <.plt>
-+ +[0-9a-f]+: e9 ([0-9a-f]{2} ){4} * jmp [0-9a-f]+ <fn1@plt-0x10>
-
- [0-9a-f]+ <fn2@plt>:
- +[0-9a-f]+: ff 25 ([0-9a-f]{2} ){4} * jmp \*0x[0-9a-f]+\(%rip\) +# [0-9a-f]+ <fn2>
- +[0-9a-f]+: 68 01 00 00 00 push \$0x1
-- +[0-9a-f]+: e9 ([0-9a-f]{2} ){4} * jmp [0-9a-f]+ <.plt>
-+ +[0-9a-f]+: e9 ([0-9a-f]{2} ){4} * jmp [0-9a-f]+ <fn1@plt-0x10>
-diff --git a/ld/testsuite/ld-x86-64/plt2.dd b/ld/testsuite/ld-x86-64/plt2.dd
-index 663ec98192..454bc060dd 100644
---- a/ld/testsuite/ld-x86-64/plt2.dd
-+++ b/ld/testsuite/ld-x86-64/plt2.dd
-@@ -9,7 +9,7 @@
-
- Disassembly of section .plt:
-
--0+400220 <.plt>:
-+0+400220 <fn1@plt-0x10>:
- +[a-f0-9]+: ff 35 7a 01 20 00 push 0x20017a\(%rip\) # 6003a0 <_GLOBAL_OFFSET_TABLE_\+0x8>
- +[a-f0-9]+: ff 25 7c 01 20 00 jmp \*0x20017c\(%rip\) # 6003a8 <_GLOBAL_OFFSET_TABLE_\+0x10>
- +[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%rax\)
-@@ -17,12 +17,12 @@ Disassembly of section .plt:
- 0+400230 <fn1@plt>:
- +[a-f0-9]+: ff 25 7a 01 20 00 jmp \*0x20017a\(%rip\) # 6003b0 <fn1>
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: e9 e0 ff ff ff jmp 400220 <.plt>
-+ +[a-f0-9]+: e9 e0 ff ff ff jmp 400220 <fn1@plt-0x10>
-
- 0+400240 <fn2@plt>:
- +[a-f0-9]+: ff 25 72 01 20 00 jmp \*0x200172\(%rip\) # 6003b8 <fn2>
- +[a-f0-9]+: 68 01 00 00 00 push \$0x1
-- +[a-f0-9]+: e9 d0 ff ff ff jmp 400220 <.plt>
-+ +[a-f0-9]+: e9 d0 ff ff ff jmp 400220 <fn1@plt-0x10>
-
- Disassembly of section .text:
-
-diff --git a/ld/testsuite/ld-x86-64/pr19609-4e.d b/ld/testsuite/ld-x86-64/pr19609-4e.d
-index f2634947d6..48adc947e7 100644
---- a/ld/testsuite/ld-x86-64/pr19609-4e.d
-+++ b/ld/testsuite/ld-x86-64/pr19609-4e.d
-@@ -9,5 +9,5 @@
- Disassembly of section .text:
-
- 0+70000000 <_start>:
--[ ]*[a-f0-9]+: 48 8b 05 ([0-9a-f]{2} ){4} * mov [-]?0x[a-f0-9]+\(%rip\),%rax # [a-f0-9]+ <.got>
--[ ]*[a-f0-9]+: 4c 8b 1d ([0-9a-f]{2} ){4} * mov [-]?0x[a-f0-9]+\(%rip\),%r11 # [a-f0-9]+ <.got>
-+[ ]*[a-f0-9]+: 48 8b 05 ([0-9a-f]{2} ){4} * mov [-]?0x[a-f0-9]+\(%rip\),%rax # [a-f0-9]+ <_start\+0x1000>
-+[ ]*[a-f0-9]+: 4c 8b 1d ([0-9a-f]{2} ){4} * mov [-]?0x[a-f0-9]+\(%rip\),%r11 # [a-f0-9]+ <_start\+0x1000>
-diff --git a/ld/testsuite/ld-x86-64/pr19609-6a.d b/ld/testsuite/ld-x86-64/pr19609-6a.d
-index b340287f48..265825d4c6 100644
---- a/ld/testsuite/ld-x86-64/pr19609-6a.d
-+++ b/ld/testsuite/ld-x86-64/pr19609-6a.d
-@@ -9,5 +9,5 @@
- Disassembly of section .text:
-
- [a-f0-9]+ <_start>:
--[ ]*[a-f0-9]+: 48 8b 05 ([0-9a-f]{2} ){4} * mov 0x[a-f0-9]+\(%rip\),%rax # [a-f0-9]+ <.got>
-+[ ]*[a-f0-9]+: 48 8b 05 ([0-9a-f]{2} ){4} * mov 0x[a-f0-9]+\(%rip\),%rax # [a-f0-9]+ <_start\+0x1000>
- #pass
-diff --git a/ld/testsuite/ld-x86-64/pr19609-6b.d b/ld/testsuite/ld-x86-64/pr19609-6b.d
-index 810023b2b9..1f769eff4d 100644
---- a/ld/testsuite/ld-x86-64/pr19609-6b.d
-+++ b/ld/testsuite/ld-x86-64/pr19609-6b.d
-@@ -9,5 +9,5 @@
- Disassembly of section .text:
-
- [a-f0-9]+ <_start>:
--[ ]*[a-f0-9]+: 48 8b 05 ([0-9a-f]{2} ){4} * mov 0x[a-f0-9]+\(%rip\),%rax # [a-f0-9]+ <.got>
-+[ ]*[a-f0-9]+: 48 8b 05 ([0-9a-f]{2} ){4} * mov 0x[a-f0-9]+\(%rip\),%rax # [a-f0-9]+ <_start\+0x1000>
- #pass
-diff --git a/ld/testsuite/ld-x86-64/pr19609-7b.d b/ld/testsuite/ld-x86-64/pr19609-7b.d
-index 20b42e838d..d85e5e9425 100644
---- a/ld/testsuite/ld-x86-64/pr19609-7b.d
-+++ b/ld/testsuite/ld-x86-64/pr19609-7b.d
-@@ -9,5 +9,5 @@
- Disassembly of section .text:
-
- [a-f0-9]+ <_start>:
--[ ]*[a-f0-9]+: ff 15 ([0-9a-f]{2} ){4} * call \*-?0x[a-f0-9]+\(%rip\) # [a-f0-9]+ <.got>
-+[ ]*[a-f0-9]+: ff 15 ([0-9a-f]{2} ){4} * call \*-?0x[a-f0-9]+\(%rip\) # [a-f0-9]+ <_start\+0x1000>
- #pass
-diff --git a/ld/testsuite/ld-x86-64/pr19609-7d.d b/ld/testsuite/ld-x86-64/pr19609-7d.d
-index 034a57b1e0..6eb511080d 100644
---- a/ld/testsuite/ld-x86-64/pr19609-7d.d
-+++ b/ld/testsuite/ld-x86-64/pr19609-7d.d
-@@ -9,5 +9,5 @@
- Disassembly of section .text:
-
- [a-f0-9]+ <_start>:
--[ ]*[a-f0-9]+: ff 15 ([0-9a-f]{2} ){4} * call \*-?0x[a-f0-9]+\(%rip\) # [a-f0-9]+ <.got>
-+[ ]*[a-f0-9]+: ff 15 ([0-9a-f]{2} ){4} * call \*-?0x[a-f0-9]+\(%rip\) # [a-f0-9]+ <_start\+0x1000>
- #pass
-diff --git a/ld/testsuite/ld-x86-64/pr19636-2l.d b/ld/testsuite/ld-x86-64/pr19636-2l.d
-index c9b256dd44..1b894b3e97 100644
---- a/ld/testsuite/ld-x86-64/pr19636-2l.d
-+++ b/ld/testsuite/ld-x86-64/pr19636-2l.d
-@@ -20,7 +20,7 @@ Disassembly of section .plt:
- Disassembly of section .text:
-
- 0+140 <_start>:
-- +[a-f0-9]+: 48 3b 05 f1 00 20 00 cmp 0x2000f1\(%rip\),%rax # 200238 <.got>
-- +[a-f0-9]+: ff 25 f3 00 20 00 jmp \*0x2000f3\(%rip\) # 200240 <.got\+0x8>
-- +[a-f0-9]+: e8 de ff ff ff call 130 <.plt\+0x10>
-+ +[a-f0-9]+: 48 3b 05 f1 00 20 00 cmp 0x2000f1\(%rip\),%rax # 200238 <_DYNAMIC\+0xe0>
-+ +[a-f0-9]+: ff 25 f3 00 20 00 jmp \*0x2000f3\(%rip\) # 200240 <_DYNAMIC\+0xe8>
-+ +[a-f0-9]+: e8 de ff ff ff call 130 <_start-0x10>
- #pass
-diff --git a/ld/testsuite/ld-x86-64/pr20253-1d.d b/ld/testsuite/ld-x86-64/pr20253-1d.d
-index 28fbc998ea..f9f03ba840 100644
---- a/ld/testsuite/ld-x86-64/pr20253-1d.d
-+++ b/ld/testsuite/ld-x86-64/pr20253-1d.d
-@@ -15,10 +15,10 @@ Disassembly of section .text:
- +[a-f0-9]+: c3 ret *
-
- 0+1ca <_start>:
-- +[a-f0-9]+: ff 15 28 01 20 00 call \*0x200128\(%rip\) # 2002f8 <.got>
-- +[a-f0-9]+: ff 25 2a 01 20 00 jmp \*0x20012a\(%rip\) # 200300 <.got\+0x8>
-- +[a-f0-9]+: 48 c7 05 1f 01 20 00 00 00 00 00 movq \$0x0,0x20011f\(%rip\) # 200300 <.got\+0x8>
-- +[a-f0-9]+: 48 83 3d 0f 01 20 00 00 cmpq \$0x0,0x20010f\(%rip\) # 2002f8 <.got>
-- +[a-f0-9]+: 48 3b 0d 08 01 20 00 cmp 0x200108\(%rip\),%rcx # 2002f8 <.got>
-- +[a-f0-9]+: 48 3b 0d 09 01 20 00 cmp 0x200109\(%rip\),%rcx # 200300 <.got\+0x8>
-+ +[a-f0-9]+: ff 15 28 01 20 00 call \*0x200128\(%rip\) # 2002f8 <_DYNAMIC\+0x100>
-+ +[a-f0-9]+: ff 25 2a 01 20 00 jmp \*0x20012a\(%rip\) # 200300 <_DYNAMIC\+0x108>
-+ +[a-f0-9]+: 48 c7 05 1f 01 20 00 00 00 00 00 movq \$0x0,0x20011f\(%rip\) # 200300 <_DYNAMIC\+0x108>
-+ +[a-f0-9]+: 48 83 3d 0f 01 20 00 00 cmpq \$0x0,0x20010f\(%rip\) # 2002f8 <_DYNAMIC\+0x100>
-+ +[a-f0-9]+: 48 3b 0d 08 01 20 00 cmp 0x200108\(%rip\),%rcx # 2002f8 <_DYNAMIC\+0x100>
-+ +[a-f0-9]+: 48 3b 0d 09 01 20 00 cmp 0x200109\(%rip\),%rcx # 200300 <_DYNAMIC\+0x108>
- #pass
-diff --git a/ld/testsuite/ld-x86-64/pr20253-1h.d b/ld/testsuite/ld-x86-64/pr20253-1h.d
-index 132fa03afc..7d9b1475d5 100644
---- a/ld/testsuite/ld-x86-64/pr20253-1h.d
-+++ b/ld/testsuite/ld-x86-64/pr20253-1h.d
-@@ -15,10 +15,10 @@ Disassembly of section .text:
- +[a-f0-9]+: c3 ret *
-
- 0+40008e <_start>:
-- +[a-f0-9]+: ff 15 2c 00 20 00 call \*0x20002c\(%rip\) # 6000c0 <.got>
-- +[a-f0-9]+: ff 25 2e 00 20 00 jmp \*0x20002e\(%rip\) # 6000c8 <.got\+0x8>
-- +[a-f0-9]+: 48 c7 05 23 00 20 00 00 00 00 00 movq \$0x0,0x200023\(%rip\) # 6000c8 <.got\+0x8>
-- +[a-f0-9]+: 48 83 3d 13 00 20 00 00 cmpq \$0x0,0x200013\(%rip\) # 6000c0 <.got>
-- +[a-f0-9]+: 48 3b 0d 0c 00 20 00 cmp 0x20000c\(%rip\),%rcx # 6000c0 <.got>
-- +[a-f0-9]+: 48 3b 0d 0d 00 20 00 cmp 0x20000d\(%rip\),%rcx # 6000c8 <.got\+0x8>
-+ +[a-f0-9]+: ff 15 2c 00 20 00 call \*0x20002c\(%rip\) # 6000c0 <_start\+0x200032>
-+ +[a-f0-9]+: ff 25 2e 00 20 00 jmp \*0x20002e\(%rip\) # 6000c8 <_start\+0x20003a>
-+ +[a-f0-9]+: 48 c7 05 23 00 20 00 00 00 00 00 movq \$0x0,0x200023\(%rip\) # 6000c8 <_start\+0x20003a>
-+ +[a-f0-9]+: 48 83 3d 13 00 20 00 00 cmpq \$0x0,0x200013\(%rip\) # 6000c0 <_start\+0x200032>
-+ +[a-f0-9]+: 48 3b 0d 0c 00 20 00 cmp 0x20000c\(%rip\),%rcx # 6000c0 <_start\+0x200032>
-+ +[a-f0-9]+: 48 3b 0d 0d 00 20 00 cmp 0x20000d\(%rip\),%rcx # 6000c8 <_start\+0x20003a>
- #pass
-diff --git a/ld/testsuite/ld-x86-64/pr21038b-now.d b/ld/testsuite/ld-x86-64/pr21038b-now.d
-index 62e80dc06b..c042b6cf70 100644
---- a/ld/testsuite/ld-x86-64/pr21038b-now.d
-+++ b/ld/testsuite/ld-x86-64/pr21038b-now.d
-@@ -54,7 +54,7 @@ Disassembly of section .plt:
- +[a-f0-9]+: f2 ff 25 33 0e 20 00 bnd jmp \*0x200e33\(%rip\) # 200ff0 <_GLOBAL_OFFSET_TABLE_\+0x10>
- +[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 1b0 <.plt>
-+ +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 1b0 <func@plt-0x20>
- +[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/pr21038b.d b/ld/testsuite/ld-x86-64/pr21038b.d
-index 126c1d2efe..144ed44ccc 100644
---- a/ld/testsuite/ld-x86-64/pr21038b.d
-+++ b/ld/testsuite/ld-x86-64/pr21038b.d
-@@ -53,7 +53,7 @@ Disassembly of section .plt:
- +[a-f0-9]+: f2 ff 25 53 0e 20 00 bnd jmp \*0x200e53\(%rip\) # 201010 <_GLOBAL_OFFSET_TABLE_\+0x10>
- +[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 1b0 <.plt>
-+ +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 1b0 <func@plt-0x20>
- +[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
-
- Disassembly of section .plt.sec:
-diff --git a/ld/testsuite/ld-x86-64/pr21038c-now.d b/ld/testsuite/ld-x86-64/pr21038c-now.d
-index 19a4ea8fcb..2058512b74 100644
---- a/ld/testsuite/ld-x86-64/pr21038c-now.d
-+++ b/ld/testsuite/ld-x86-64/pr21038c-now.d
-@@ -63,7 +63,7 @@ Disassembly of section .plt:
- +[a-f0-9]+: f2 ff 25 eb 0d 20 00 bnd jmp \*0x200deb\(%rip\) # 200fe8 <_GLOBAL_OFFSET_TABLE_\+0x10>
- +[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 1f0 <.plt>
-+ +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 1f0 <func1@plt-0x20>
- +[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
-
- Disassembly of section .plt.got:
-diff --git a/ld/testsuite/ld-x86-64/pr21038c.d b/ld/testsuite/ld-x86-64/pr21038c.d
-index 35e7d83c4e..a62d43a7bc 100644
---- a/ld/testsuite/ld-x86-64/pr21038c.d
-+++ b/ld/testsuite/ld-x86-64/pr21038c.d
-@@ -62,7 +62,7 @@ Disassembly of section .plt:
- +[a-f0-9]+: f2 ff 25 13 0e 20 00 bnd jmp \*0x200e13\(%rip\) # 201010 <_GLOBAL_OFFSET_TABLE_\+0x10>
- +[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
- +[a-f0-9]+: 68 00 00 00 00 push \$0x0
-- +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 1f0 <.plt>
-+ +[a-f0-9]+: f2 e9 e5 ff ff ff bnd jmp 1f0 <func1@plt-0x20>
- +[a-f0-9]+: 0f 1f 44 00 00 nopl 0x0\(%rax,%rax,1\)
-
- Disassembly of section .plt.got:
-diff --git a/ld/testsuite/ld-x86-64/pr23854.d b/ld/testsuite/ld-x86-64/pr23854.d
-index 95770d3cef..5113a2c44a 100644
---- a/ld/testsuite/ld-x86-64/pr23854.d
-+++ b/ld/testsuite/ld-x86-64/pr23854.d
-@@ -7,22 +7,22 @@
- Disassembly of section .text:
-
- [a-f0-9]+ <_start>:
-- +[a-f0-9]+: 66 13 05 ([0-9a-f]{2} ){4} * adc 0x[a-f0-9]+\(%rip\),%ax # [a-f0-9]+ <.got>
-- +[a-f0-9]+: 66 03 1d ([0-9a-f]{2} ){4} * add 0x[a-f0-9]+\(%rip\),%bx # [a-f0-9]+ <.got>
-- +[a-f0-9]+: 66 23 0d ([0-9a-f]{2} ){4} * and 0x[a-f0-9]+\(%rip\),%cx # [a-f0-9]+ <.got>
-- +[a-f0-9]+: 66 3b 15 ([0-9a-f]{2} ){4} * cmp 0x[a-f0-9]+\(%rip\),%dx # [a-f0-9]+ <.got>
-- +[a-f0-9]+: 66 0b 3d ([0-9a-f]{2} ){4} * or 0x[a-f0-9]+\(%rip\),%di # [a-f0-9]+ <.got>
-- +[a-f0-9]+: 66 1b 35 ([0-9a-f]{2} ){4} * sbb 0x[a-f0-9]+\(%rip\),%si # [a-f0-9]+ <.got>
-- +[a-f0-9]+: 66 2b 2d ([0-9a-f]{2} ){4} * sub 0x[a-f0-9]+\(%rip\),%bp # [a-f0-9]+ <.got>
-- +[a-f0-9]+: 66 44 33 05 ([0-9a-f]{2} ){4} * xor 0x[a-f0-9]+\(%rip\),%r8w # [a-f0-9]+ <.got>
-- +[a-f0-9]+: 66 85 0d ([0-9a-f]{2} ){4} * test %cx,0x[a-f0-9]+\(%rip\) # [a-f0-9]+ <.got>
-- +[a-f0-9]+: 66 13 05 ([0-9a-f]{2} ){4} * adc 0x[a-f0-9]+\(%rip\),%ax # [a-f0-9]+ <.got\+0x8>
-- +[a-f0-9]+: 66 03 1d ([0-9a-f]{2} ){4} * add 0x[a-f0-9]+\(%rip\),%bx # [a-f0-9]+ <.got\+0x8>
-- +[a-f0-9]+: 66 23 0d ([0-9a-f]{2} ){4} * and 0x[a-f0-9]+\(%rip\),%cx # [a-f0-9]+ <.got\+0x8>
-- +[a-f0-9]+: 66 3b 15 ([0-9a-f]{2} ){4} * cmp 0x[a-f0-9]+\(%rip\),%dx # [a-f0-9]+ <.got\+0x8>
-- +[a-f0-9]+: 66 0b 3d ([0-9a-f]{2} ){4} * or 0x[a-f0-9]+\(%rip\),%di # [a-f0-9]+ <.got\+0x8>
-- +[a-f0-9]+: 66 1b 35 ([0-9a-f]{2} ){4} * sbb 0x[a-f0-9]+\(%rip\),%si # [a-f0-9]+ <.got\+0x8>
-- +[a-f0-9]+: 66 2b 2d ([0-9a-f]{2} ){4} * sub 0x[a-f0-9]+\(%rip\),%bp # [a-f0-9]+ <.got\+0x8>
-- +[a-f0-9]+: 66 44 33 05 ([0-9a-f]{2} ){4} * xor 0x[a-f0-9]+\(%rip\),%r8w # [a-f0-9]+ <.got\+0x8>
-- +[a-f0-9]+: 66 85 0d ([0-9a-f]{2} ){4} * test %cx,0x[a-f0-9]+\(%rip\) # [a-f0-9]+ <.got\+0x8>
-+ +[a-f0-9]+: 66 13 05 ([0-9a-f]{2} ){4} * adc 0x[a-f0-9]+\(%rip\),%ax # [a-f0-9]+ <_start\+0x[a-f0-9]+>
-+ +[a-f0-9]+: 66 03 1d ([0-9a-f]{2} ){4} * add 0x[a-f0-9]+\(%rip\),%bx # [a-f0-9]+ <_start\+0x[a-f0-9]+>
-+ +[a-f0-9]+: 66 23 0d ([0-9a-f]{2} ){4} * and 0x[a-f0-9]+\(%rip\),%cx # [a-f0-9]+ <_start\+0x[a-f0-9]+>
-+ +[a-f0-9]+: 66 3b 15 ([0-9a-f]{2} ){4} * cmp 0x[a-f0-9]+\(%rip\),%dx # [a-f0-9]+ <_start\+0x[a-f0-9]+>
-+ +[a-f0-9]+: 66 0b 3d ([0-9a-f]{2} ){4} * or 0x[a-f0-9]+\(%rip\),%di # [a-f0-9]+ <_start\+0x[a-f0-9]+>
-+ +[a-f0-9]+: 66 1b 35 ([0-9a-f]{2} ){4} * sbb 0x[a-f0-9]+\(%rip\),%si # [a-f0-9]+ <_start\+0x[a-f0-9]+>
-+ +[a-f0-9]+: 66 2b 2d ([0-9a-f]{2} ){4} * sub 0x[a-f0-9]+\(%rip\),%bp # [a-f0-9]+ <_start\+0x[a-f0-9]+>
-+ +[a-f0-9]+: 66 44 33 05 ([0-9a-f]{2} ){4} * xor 0x[a-f0-9]+\(%rip\),%r8w # [a-f0-9]+ <_start\+0x[a-f0-9]+>
-+ +[a-f0-9]+: 66 85 0d ([0-9a-f]{2} ){4} * test %cx,0x[a-f0-9]+\(%rip\) # [a-f0-9]+ <_start\+0x[a-f0-9]+>
-+ +[a-f0-9]+: 66 13 05 ([0-9a-f]{2} ){4} * adc 0x[a-f0-9]+\(%rip\),%ax # [a-f0-9]+ <_start\+0x[a-f0-9]+>
-+ +[a-f0-9]+: 66 03 1d ([0-9a-f]{2} ){4} * add 0x[a-f0-9]+\(%rip\),%bx # [a-f0-9]+ <_start\+0x[a-f0-9]+>
-+ +[a-f0-9]+: 66 23 0d ([0-9a-f]{2} ){4} * and 0x[a-f0-9]+\(%rip\),%cx # [a-f0-9]+ <_start\+0x[a-f0-9]+>
-+ +[a-f0-9]+: 66 3b 15 ([0-9a-f]{2} ){4} * cmp 0x[a-f0-9]+\(%rip\),%dx # [a-f0-9]+ <_start\+0x[a-f0-9]+>
-+ +[a-f0-9]+: 66 0b 3d ([0-9a-f]{2} ){4} * or 0x[a-f0-9]+\(%rip\),%di # [a-f0-9]+ <_start\+0x[a-f0-9]+>
-+ +[a-f0-9]+: 66 1b 35 ([0-9a-f]{2} ){4} * sbb 0x[a-f0-9]+\(%rip\),%si # [a-f0-9]+ <_start\+0x[a-f0-9]+>
-+ +[a-f0-9]+: 66 2b 2d ([0-9a-f]{2} ){4} * sub 0x[a-f0-9]+\(%rip\),%bp # [a-f0-9]+ <_start\+0x[a-f0-9]+>
-+ +[a-f0-9]+: 66 44 33 05 ([0-9a-f]{2} ){4} * xor 0x[a-f0-9]+\(%rip\),%r8w # [a-f0-9]+ <_start\+0x[a-f0-9]+>
-+ +[a-f0-9]+: 66 85 0d ([0-9a-f]{2} ){4} * test %cx,0x[a-f0-9]+\(%rip\) # [a-f0-9]+ <_start\+0x[a-f0-9]+>
- #pass
-diff --git a/ld/testsuite/ld-x86-64/pr25416-3.d b/ld/testsuite/ld-x86-64/pr25416-3.d
-index 9c1da13484..26927d9956 100644
---- a/ld/testsuite/ld-x86-64/pr25416-3.d
-+++ b/ld/testsuite/ld-x86-64/pr25416-3.d
-@@ -9,8 +9,8 @@
- Disassembly of section .text:
-
- [a-f0-9]+ <_start>:
-- +[a-f0-9]+: 40 8b 05 ([0-9a-f]{2} ){4}[ \t]+rex mov 0x[a-f0-9]+\(%rip\),%eax[ \t]+# [a-f0-9]+ <.got>
-+ +[a-f0-9]+: 40 8b 05 ([0-9a-f]{2} ){4}[ \t]+rex mov 0x[a-f0-9]+\(%rip\),%eax[ \t]+# [a-f0-9]+ <_DYNAMIC\+0x[a-f0-9]+>
- +[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
- +[a-f0-9]+: 64 8b 0c 25 00 00 00 00 mov %fs:0x0,%ecx
-- +[a-f0-9]+: 40 03 0d ([0-9a-f]{2} ){4}[ \t]+rex add 0x[a-f0-9]+\(%rip\),%ecx[ \t]+# [a-f0-9]+ <.got>
-+ +[a-f0-9]+: 40 03 0d ([0-9a-f]{2} ){4}[ \t]+rex add 0x[a-f0-9]+\(%rip\),%ecx[ \t]+# [a-f0-9]+ <_DYNAMIC\+0x[a-f0-9]+>
- #pass
-diff --git a/ld/testsuite/ld-x86-64/pr25416-4.d b/ld/testsuite/ld-x86-64/pr25416-4.d
-index 8d91fbc0a6..d98121f1f3 100644
---- a/ld/testsuite/ld-x86-64/pr25416-4.d
-+++ b/ld/testsuite/ld-x86-64/pr25416-4.d
-@@ -9,8 +9,8 @@
- Disassembly of section .text:
-
- [a-f0-9]+ <_start>:
-- +[a-f0-9]+: 48 8b 05 ([0-9a-f]{2} ){4}[ \t]+mov 0x[a-f0-9]+\(%rip\),%rax[ \t]+# [a-f0-9]+ <.got>
-+ +[a-f0-9]+: 48 8b 05 ([0-9a-f]{2} ){4}[ \t]+mov 0x[a-f0-9]+\(%rip\),%rax[ \t]+# [a-f0-9]+ <_DYNAMIC\+0x[a-f0-9]+>
- +[a-f0-9]+: 66 90 xchg %ax,%ax
- +[a-f0-9]+: 64 8b 0c 25 00 00 00 00 mov %fs:0x0,%ecx
-- +[a-f0-9]+: 40 03 0d ([0-9a-f]{2} ){4}[ \t]+rex add 0x[a-f0-9]+\(%rip\),%ecx[ \t]+# [a-f0-9]+ <.got>
-+ +[a-f0-9]+: 40 03 0d ([0-9a-f]{2} ){4}[ \t]+rex add 0x[a-f0-9]+\(%rip\),%ecx[ \t]+# [a-f0-9]+ <_DYNAMIC\+0x[a-f0-9]+>
- #pass
-diff --git a/ld/testsuite/ld-x86-64/tlsbin.rd b/ld/testsuite/ld-x86-64/tlsbin.rd
-index c535732b75..54fe876ecc 100644
---- a/ld/testsuite/ld-x86-64/tlsbin.rd
-+++ b/ld/testsuite/ld-x86-64/tlsbin.rd
-@@ -75,19 +75,6 @@ Symbol table '\.dynsym' contains [0-9]+ entries:
- Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
- .* NOTYPE +LOCAL +DEFAULT +UND *
--.* SECTION +LOCAL +DEFAULT +1 *
--.* SECTION +LOCAL +DEFAULT +2 *
--.* SECTION +LOCAL +DEFAULT +3 *
--.* SECTION +LOCAL +DEFAULT +4 *
--.* SECTION +LOCAL +DEFAULT +5 *
--.* SECTION +LOCAL +DEFAULT +6 *
--.* SECTION +LOCAL +DEFAULT +7 *
--.* SECTION +LOCAL +DEFAULT +8 *
--.* SECTION +LOCAL +DEFAULT +9 *
--.* SECTION +LOCAL +DEFAULT +10 *
--.* SECTION +LOCAL +DEFAULT +11 *
--.* SECTION +LOCAL +DEFAULT +12 *
--.* SECTION +LOCAL +DEFAULT +13 *
- .* FILE +LOCAL +DEFAULT +ABS .*tlsbinpic.o
- .* TLS +LOCAL +DEFAULT +9 sl1
- .* TLS +LOCAL +DEFAULT +9 sl2
-diff --git a/ld/testsuite/ld-x86-64/tlsbin2.rd b/ld/testsuite/ld-x86-64/tlsbin2.rd
-index b1205fe49a..495115eb70 100644
---- a/ld/testsuite/ld-x86-64/tlsbin2.rd
-+++ b/ld/testsuite/ld-x86-64/tlsbin2.rd
-@@ -70,17 +70,6 @@ Symbol table '\.dynsym' contains [0-9]+ entries:
- Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
- .* NOTYPE +LOCAL +DEFAULT +UND *
--.* SECTION +LOCAL +DEFAULT +1 *
--.* SECTION +LOCAL +DEFAULT +2 *
--.* SECTION +LOCAL +DEFAULT +3 *
--.* SECTION +LOCAL +DEFAULT +4 *
--.* SECTION +LOCAL +DEFAULT +5 *
--.* SECTION +LOCAL +DEFAULT +6 *
--.* SECTION +LOCAL +DEFAULT +7 *
--.* SECTION +LOCAL +DEFAULT +8 *
--.* SECTION +LOCAL +DEFAULT +9 *
--.* SECTION +LOCAL +DEFAULT +10 *
--.* SECTION +LOCAL +DEFAULT +11 *
- .* FILE +LOCAL +DEFAULT +ABS .*tlsbinpic2.o
- .* TLS +LOCAL +DEFAULT +7 sl1
- .* TLS +LOCAL +DEFAULT +7 sl2
-diff --git a/ld/testsuite/ld-x86-64/tlsbindesc.rd b/ld/testsuite/ld-x86-64/tlsbindesc.rd
-index 9e46ca1d0f..682c4a066a 100644
---- a/ld/testsuite/ld-x86-64/tlsbindesc.rd
-+++ b/ld/testsuite/ld-x86-64/tlsbindesc.rd
-@@ -68,17 +68,6 @@ Symbol table '\.dynsym' contains [0-9]+ entries:
- Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
- +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 *
- .* FILE +LOCAL +DEFAULT +ABS .*tlsbindesc.o
- +[0-9]+: 0+20 +0 +TLS +LOCAL +DEFAULT +7 sl1
- +[0-9]+: 0+24 +0 +TLS +LOCAL +DEFAULT +7 sl2
-diff --git a/ld/testsuite/ld-x86-64/tlsdesc.rd b/ld/testsuite/ld-x86-64/tlsdesc.rd
-index a15c6e0f22..58feb20e55 100644
---- a/ld/testsuite/ld-x86-64/tlsdesc.rd
-+++ b/ld/testsuite/ld-x86-64/tlsdesc.rd
-@@ -100,18 +100,6 @@ Symbol table '\.dynsym' contains [0-9]+ entries:
- Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
- +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 *
- .* FILE +LOCAL +DEFAULT +ABS .*tlsdesc.o
- +[0-9]+: 0+20 +0 +TLS +LOCAL +DEFAULT +8 sl1
- +[0-9]+: 0+24 +0 +TLS +LOCAL +DEFAULT +8 sl2
-diff --git a/ld/testsuite/ld-x86-64/tlsgdesc.rd b/ld/testsuite/ld-x86-64/tlsgdesc.rd
-index 77e8ae3d81..ca8f19bf3f 100644
---- a/ld/testsuite/ld-x86-64/tlsgdesc.rd
-+++ b/ld/testsuite/ld-x86-64/tlsgdesc.rd
-@@ -73,16 +73,6 @@ Symbol table '\.dynsym' contains [0-9]+ entries:
- Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
- +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 *
-- +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 *
- +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +8 _DYNAMIC
- +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +10 _GLOBAL_OFFSET_TABLE_
- +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3
-diff --git a/ld/testsuite/ld-x86-64/tlspic.rd b/ld/testsuite/ld-x86-64/tlspic.rd
-index 024e124e51..2e44dc6ac6 100644
---- a/ld/testsuite/ld-x86-64/tlspic.rd
-+++ b/ld/testsuite/ld-x86-64/tlspic.rd
-@@ -84,18 +84,6 @@ Symbol table '\.dynsym' contains [0-9]+ entries:
- Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
- .* NOTYPE +LOCAL +DEFAULT +UND *
--.* SECTION +LOCAL +DEFAULT +1 *
--.* SECTION +LOCAL +DEFAULT +2 *
--.* SECTION +LOCAL +DEFAULT +3 *
--.* SECTION +LOCAL +DEFAULT +4 *
--.* SECTION +LOCAL +DEFAULT +5 *
--.* SECTION +LOCAL +DEFAULT +6 *
--.* SECTION +LOCAL +DEFAULT +7 *
--.* SECTION +LOCAL +DEFAULT +8 *
--.* SECTION +LOCAL +DEFAULT +9 *
--.* SECTION +LOCAL +DEFAULT +10 *
--.* SECTION +LOCAL +DEFAULT +11 *
--.* SECTION +LOCAL +DEFAULT +12 *
- .* FILE +LOCAL +DEFAULT +ABS .*tlspic1.o
- .* TLS +LOCAL +DEFAULT +8 sl1
- .* TLS +LOCAL +DEFAULT +8 sl2
-diff --git a/ld/testsuite/ld-x86-64/tlspic2.rd b/ld/testsuite/ld-x86-64/tlspic2.rd
-index a39a8fe0d0..60decd2787 100644
---- a/ld/testsuite/ld-x86-64/tlspic2.rd
-+++ b/ld/testsuite/ld-x86-64/tlspic2.rd
-@@ -81,18 +81,6 @@ Symbol table '\.dynsym' contains [0-9]+ entries:
- Symbol table '\.symtab' contains [0-9]+ entries:
- +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
- .* NOTYPE +LOCAL +DEFAULT +UND *
--.* SECTION +LOCAL +DEFAULT +1 *
--.* SECTION +LOCAL +DEFAULT +2 *
--.* SECTION +LOCAL +DEFAULT +3 *
--.* SECTION +LOCAL +DEFAULT +4 *
--.* SECTION +LOCAL +DEFAULT +5 *
--.* SECTION +LOCAL +DEFAULT +6 *
--.* SECTION +LOCAL +DEFAULT +7 *
--.* SECTION +LOCAL +DEFAULT +8 *
--.* SECTION +LOCAL +DEFAULT +9 *
--.* SECTION +LOCAL +DEFAULT +10 *
--.* SECTION +LOCAL +DEFAULT +11 *
--.* SECTION +LOCAL +DEFAULT +12 *
- .* FILE +LOCAL +DEFAULT +ABS .*tlspic3.o
- .* TLS +LOCAL +DEFAULT +8 sl1
- .* TLS +LOCAL +DEFAULT +8 sl2
---
-2.30.0
-
diff --git a/source/d/binutils/patches/binutils.no-config-h-check.diff b/source/d/binutils/patches/binutils.no-config-h-check.diff
index 55cba7fb..b64c909d 100644
--- a/source/d/binutils/patches/binutils.no-config-h-check.diff
+++ b/source/d/binutils/patches/binutils.no-config-h-check.diff
@@ -1,20 +1,6 @@
---- ./bfd/bfd-in2.h.orig 2013-02-27 14:28:03.000000000 -0600
-+++ ./bfd/bfd-in2.h 2013-04-02 15:57:44.847202021 -0500
-@@ -32,11 +32,6 @@
- #ifndef __BFD_H_SEEN__
- #define __BFD_H_SEEN__
-
--/* PR 14072: Ensure that config.h is included first. */
--#if !defined PACKAGE && !defined PACKAGE_VERSION
--#error config.h must be included before this header
--#endif
--
- #ifdef __cplusplus
- extern "C" {
- #endif
---- ./bfd/bfd-in.h.orig 2013-02-27 14:28:03.000000000 -0600
-+++ ./bfd/bfd-in.h 2013-04-02 15:57:44.846202021 -0500
-@@ -25,11 +25,6 @@
+--- ./bfd/bfd-in2.h.orig 2021-01-30 02:38:03.000000000 -0600
++++ ./bfd/bfd-in2.h 2021-01-30 13:55:37.309054947 -0600
+@@ -30,11 +30,6 @@
#ifndef __BFD_H_SEEN__
#define __BFD_H_SEEN__
diff --git a/source/d/oprofile/oprofile.SlackBuild b/source/d/oprofile/oprofile.SlackBuild
index a6b1e1c0..38ace87c 100755
--- a/source/d/oprofile/oprofile.SlackBuild
+++ b/source/d/oprofile/oprofile.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=oprofile
VERSION=${VERSION:-$(echo oprofile-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
diff --git a/source/k/kernel-configs/config-generic-5.10.11 b/source/k/kernel-configs/config-generic-5.10.12
index 568e1a85..05f102ed 100644
--- a/source/k/kernel-configs/config-generic-5.10.11
+++ b/source/k/kernel-configs/config-generic-5.10.12
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.10.11 Kernel Configuration
+# Linux/x86 5.10.12 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.2.0"
CONFIG_CC_IS_GCC=y
diff --git a/source/k/kernel-configs/config-generic-5.10.11.x64 b/source/k/kernel-configs/config-generic-5.10.12.x64
index cbd39f10..e6983b74 100644
--- a/source/k/kernel-configs/config-generic-5.10.11.x64
+++ b/source/k/kernel-configs/config-generic-5.10.12.x64
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.10.11 Kernel Configuration
+# Linux/x86 5.10.12 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.2.0"
CONFIG_CC_IS_GCC=y
diff --git a/source/k/kernel-configs/config-generic-smp-5.10.11-smp b/source/k/kernel-configs/config-generic-smp-5.10.12-smp
index 4832b1e6..2ff2caf4 100644
--- a/source/k/kernel-configs/config-generic-smp-5.10.11-smp
+++ b/source/k/kernel-configs/config-generic-smp-5.10.12-smp
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.10.11 Kernel Configuration
+# Linux/x86 5.10.12 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.2.0"
CONFIG_CC_IS_GCC=y
diff --git a/source/k/kernel-configs/config-huge-5.10.11 b/source/k/kernel-configs/config-huge-5.10.12
index ea14a314..a77aa712 100644
--- a/source/k/kernel-configs/config-huge-5.10.11
+++ b/source/k/kernel-configs/config-huge-5.10.12
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.10.11 Kernel Configuration
+# Linux/x86 5.10.12 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.2.0"
CONFIG_CC_IS_GCC=y
diff --git a/source/k/kernel-configs/config-huge-5.10.11.x64 b/source/k/kernel-configs/config-huge-5.10.12.x64
index c3b6788b..0910ddb4 100644
--- a/source/k/kernel-configs/config-huge-5.10.11.x64
+++ b/source/k/kernel-configs/config-huge-5.10.12.x64
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.10.11 Kernel Configuration
+# Linux/x86 5.10.12 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.2.0"
CONFIG_CC_IS_GCC=y
diff --git a/source/k/kernel-configs/config-huge-smp-5.10.11-smp b/source/k/kernel-configs/config-huge-smp-5.10.12-smp
index 67056f44..a4234ace 100644
--- a/source/k/kernel-configs/config-huge-smp-5.10.11-smp
+++ b/source/k/kernel-configs/config-huge-smp-5.10.12-smp
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.10.11 Kernel Configuration
+# Linux/x86 5.10.12 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.2.0"
CONFIG_CC_IS_GCC=y
diff --git a/source/l/gd/gd.SlackBuild b/source/l/gd/gd.SlackBuild
index d97ff041..2f11fd5d 100755
--- a/source/l/gd/gd.SlackBuild
+++ b/source/l/gd/gd.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gd
VERSION=${VERSION:-$(echo libgd-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/l/libwebp/libwebp.SlackBuild b/source/l/libwebp/libwebp.SlackBuild
index c894b26e..3417a96e 100755
--- a/source/l/libwebp/libwebp.SlackBuild
+++ b/source/l/libwebp/libwebp.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libwebp
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/l/python-packaging/python-packaging.SlackBuild b/source/l/python-packaging/python-packaging.SlackBuild
index 26d8f4c2..8d3430d7 100755
--- a/source/l/python-packaging/python-packaging.SlackBuild
+++ b/source/l/python-packaging/python-packaging.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=python-packaging
VERSION=${VERSION:-$(echo packaging-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
SRCNAM=packaging
diff --git a/source/x/FTBFSlog b/source/x/FTBFSlog
index 2b8c29ba..e7c6293b 100644
--- a/source/x/FTBFSlog
+++ b/source/x/FTBFSlog
@@ -1,3 +1,8 @@
+Sat Jan 30 02:44:45 UTC 2021
+ fcitx-libpinyin: fix building against libpinyin-2.6.0 with upstream patch.
+ Thanks to nobodino for the report.
+ Copy data/table.conf into the ../data directory to fix make install.
++--------------------------+
Sat Jan 16 18:43:10 UTC 2021
freeglut: add -fcommon to CFLAGS. Thanks to nobodino.
x11: add -fcommon to CFLAGS. Thanks to nobodino.
diff --git a/source/x/fcitx-libpinyin/fcitx-libpinyin.SlackBuild b/source/x/fcitx-libpinyin/fcitx-libpinyin.SlackBuild
index 467794f3..f8d2c5d1 100755
--- a/source/x/fcitx-libpinyin/fcitx-libpinyin.SlackBuild
+++ b/source/x/fcitx-libpinyin/fcitx-libpinyin.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for fcitx-libpinyin
# Copyright 2017 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2017, 2020 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2017, 2020, 2021 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,8 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=fcitx-libpinyin
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
-MODEL_VERSION=${MODEL_VERSION:-20161206}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -94,20 +93,24 @@ find . \
tar xf $CWD/dict/*.tar.* $(tar tf $CWD/dict/*.tar.* | grep model.text)
)
-mkdir build
-cd build
+mkdir cmake-build
+cd cmake-build
cmake \
-DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
-DCMAKE_C_FLAGS="${SLKCFLAGS}" \
-DCMAKE_INSTALL_PREFIX="/usr" \
+ -DLIBPINYIN_PKGDATADIR=/usr/share/fcitx/libpinyin/zhuyin_data \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DENABLE_QT=OFF \
..
make $NUMJOBS || make || exit 1
- make install/strip DESTDIR=$PKG || exit 1
+ make install DESTDIR=$PKG || exit 1
cd ..
+# Strip binaries:
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a COPYING $PKG/usr/doc/$PKGNAM-$VERSION