Commit Graph

596 Commits

Author SHA1 Message Date
Nick Clifton
8260f49e83 Do not enable relro by default for the PowerPC64 architecture.
Relates: #1523946
2017-12-11 12:25:56 +00:00
Nick Clifton
b9846b82c5 Stop strip from crashing when deleteing relocs in a file with annobin notes.
Resolves: #1520805
2017-12-08 08:40:01 +00:00
Nick Clifton
7fe57ead2d oops - fix snafu in changelog entry. 2017-12-06 14:35:46 +00:00
Nick Clifton
4ebc059f8d Have readelf return an exit failure status when attempting to process an empty file.
Resolves: #1522732
2017-12-06 12:29:52 +00:00
Nick Clifton
76bffb9bda Disable PLT elision for x86/x86_64.
Relates: #1452111
Relates: #1333481
2017-11-28 17:18:35 +00:00
Nick Clifton
c4cfb3f0ac Have readelf suggest the use of --use-dynamic when there are dynamic relocs that could have been displayed.
Resolves: #1507694
2017-11-01 12:02:01 +00:00
Nick Clifton
6893f2da6c Fix the GOLD linker's generation of relocations for start and stop symbols.
Resolves: #1500898
2017-10-18 12:20:20 +01:00
Nick Clifton
38cc40a5fe Enable GOLD for PPC64 and s390x. (#1173780)
- Retire: binutils-2.20.51.0.10-sec-merge-emit.patch.
  (It has been redundant for a long time now...)
Relates: 1173780
2017-09-28 14:03:04 +01:00
Nick Clifton
2ed6d815cc Rebase on FSF binutils 2.29.1 release.
- Retire: binutils-2.29-ppc64-plt-localentry0-disable.patch
- Retire: binutils-2.29-non-elf-orphan-skip.patch
2017-09-26 11:51:07 +01:00
Nick Clifton
f9311f0bfc Extend fix for PR 21884.
Resolves: #1491023
2017-09-15 10:40:04 +01:00
Nick Clifton
6f94723798 Import fix for PR 21884 which stops a seg-fault in the linker when changing output format to binary during a final link.
Resolves: #1491023
2017-09-14 16:34:38 +01:00
Nick Clifton
1ba745a89f Annotate patches with reason and lifetime expectances.
- Retire: binutils-2.24-ldforcele.patch
- Retire: binutils-2.25-set-long-long.patch
- Retire: binutils-2.25.1-cleansweep.patch
- Retire: binutils-2.26-fix-compile-warnings.patch
- Retire: binutils-2.28-ignore-gold-duplicates.patch
2017-09-10 09:18:23 +01:00
Fedora Release Engineering
b4e0b0f1cb - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 18:14:31 +00:00
Nick Clifton
3edb85c58c Update ppc64 localentry0 patch with changes made by Alan Modra to the FSF binutils sources.
Resolves: #1475636
2017-07-31 11:32:14 +01:00
Florian Weimer
9dc570ee85 Rebuild with binutils fix for ppc64le (#1475636) 2017-07-30 21:25:21 +02:00
Nick Clifton
f93f25bdce Do not enable the PPC64 plt-localentry0 linker optimization by default.
Resolves: #1475636
2017-07-28 16:00:10 +01:00
Fedora Release Engineering
d451df677b - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 03:57:42 +00:00
Nick Clifton
283a7e8f17 - Rebase on FSF binutils 2.29.
- Retire: binutils-2.20.51.0.10-ppc64-pie.patch
- Retire: binutils-2.27-ld-buffer-overflow.patch
- Retire: binutils-2.28-libiberty-bugfixes.patch
- Retire: binutils-gnu-build-notes.patch
- Retire: binutils-2.28-gas-comp_dir.patch
- Retire: binutils-2.28-ppc-dynamic-relocs.patch
- Retire: binutils-2.28-dynamic-section-warning.patch
- Retire: binutils-2.28-aarch64-copy-relocs.patch
- Retire: binutils-2.28-DW_AT_export_symbols.patch
2017-07-24 16:48:39 +01:00
Nick Clifton
231fc46d8d Remove -flto compile time option accidentally added to CFLAGS. 2017-07-20 12:44:55 +01:00
Nick Clifton
1d0d142b8c Add support for displaying new DWARF5 tags.
Resolves: #1472966
2017-07-20 12:08:54 +01:00
Nick Clifton
f51532e55a Correct snafu in previous delta that broke building s390 binaries.
Resolves: #1472486
2017-07-19 15:44:56 +01:00
Nick Clifton
41e2613249 Fix s390 assembler so that it remove fake local symbols from its output.
Resolves: #1460254
2017-07-17 17:38:23 +01:00
Nick Clifton
44c0bed7f3 Update support for GNU Build Attribute notes to include version 2 notes. 2017-06-28 16:35:11 +01:00
Nick Clifton
3ce2e142bc Update patch to fix AArch64 copy reloc generation.
Relates: #1452170
2017-06-15 15:35:35 +01:00
Nick Clifton
803efc2501 Ignore duplicate indirect symbols generated by the GOLD linker.
Resolves: #1458003
2017-06-09 09:23:13 +01:00
Nick Clifton
54f319436b Eliminate the generation of incorrect dynamic copy relocations on AArch64.
Relates: #1452170
2017-06-08 09:34:56 +01:00
Fedora Release Engineering
da381ca746 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild 2017-05-15 20:22:26 +00:00
Nick Clifton
3b2ebb27b1 Import FSF binutils patch to fix running readelf on debug info binaries.
Update GNU BUILD NOTES patch.
Resolves: #1434050
2017-03-20 17:27:38 +00:00
Nick Clifton
40ca8bea3c Update GNU BUILD NOTES patch.
Import FSF binutils patch to fix an abort with PowerPC dynamic relocs.
2017-03-08 16:05:20 +00:00
Nick Clifton
416e014455 Backport patch to add support for putting name, comp_dir and producer strings into the .debug_str section.
Resolves: #1429389
2017-03-06 12:02:40 +00:00
Nick Clifton
cf648a4e0f Add support for GNU BUILD NOTEs. 2017-03-03 11:20:25 +00:00
Nick Clifton
49f1ebe3be Rebase on FSF binutils v2.28.
- Retire: binutils-2.23.52.0.1-addr2line-dynsymtab.patch
- Retire: binutils-2.27-local-dynsym-count.patch
- Retire: binutils-2.27-monotonic-section-offsets.patch
- Retire: binutils-2.27-arm-aarch64-default-relro.patch
- Retire: binutils-2.28-gold.patch
- Retire: binutils-2.27-objdump-improvements.patch
- Retire: binutils-2.27-dwarf-parse-speedup.patch
- Retire: binutils-2.27-objdump-improvements.2.patch
- Retire: binutils-2.27-arm-binary-objects.patch
- Retire: binutils-2.27-ppc-fp-attributes.patch
- Add patch to sync libiberty with FSF GCC mainline.
Relates: #1428310
2017-03-02 13:05:34 +00:00
Nick Clifton
4e01b3a7e5 Add support for PowerPC FP attributes.
Resolves: #1422461
2017-02-17 14:24:05 +00:00
Nick Clifton
975f892d89 Fix running the ARM port of the linker on BINARY objects.
Resolves: #1422577
2017-02-15 17:37:09 +00:00
Fedora Release Engineering
33f0f2b93c - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 06:53:01 +00:00
Stephen Gallagher
3aec439323 Install COPYING[*] files using the %license macro.
Resolves: #1418430
2017-02-02 10:37:45 +00:00
Nick Clifton
1cd2662020 Fix buffer overflows when printing translated messages.
Resolves: #1417411
2017-01-31 11:48:35 +00:00
Nick Clifton
4ae66ca2b6 Include the filename concerned in readelf error messages.
Relates: #1412348
2017-01-16 13:01:22 +00:00
Nick Clifton
b877ba7c27 Another speed up for objdump when displaying source code alognside disassembly.
Relates: #1397113
2017-01-09 14:13:52 +00:00
Nick Clifton
bac2d67474 Speed up objdump when displaying source code alognside disassembly.
Resolves: #1397113
2016-11-22 17:38:26 +00:00
Nick Clifton
fc94ffc4f9 Fix objdumps disassembly of dynamic executables.
Resolves: #1370275
2016-11-08 17:20:33 +00:00
Nick Clifton
2d9ddcdfa4 Fix GOLD for ARM and AARCH64 where it would generate bogus 'unresolved symbol' messages.
Resolves: #1386126
2016-11-04 16:12:46 +00:00
Nick Clifton
db47e74e80 Fix invocation of /sbin/ldconfig when reinstalling binutils in order to prevent warnings from rpm.
Resolves: #1379030
2016-09-26 11:48:56 +01:00
Nick Clifton
ab12bff2af Add i386pep emulation for all EFI capable CPU types.
Resolves: #1376870
2016-09-22 12:06:48 +01:00
Nick Clifton
da9be1579e Use --with-sysroot=/ for native targets. This prevents the default
sysroot of /usr/local/<target>/sys-root from being used, which breaks
 locating needed shared libaries, but still allows the --sysroot
 linker command line option to be effective.
Resolves: #1374889
Resolves: #1377803
Resolves: #1377949
2016-09-21 16:34:08 +01:00
Nick Clifton
5dc0384acf - Omit building GOLD when bootstrapping.
- Add a generic build requirement on gcc.
- Move bison and m4 build requirements to be conditional upon building GOLD.
- Add --with-sysroot=/ configure option when building native targets.
- Skip PR14918 linker test for ARM native targets.
Resolves: #1374889
2016-09-20 14:39:09 +01:00
Nick Clifton
3478af0f2c Add support for building the rpm with "--with bootstrap" enabled.
Retire: binutils-2.20.51.0.2-ia64-lib64.patch
2016-09-16 15:00:06 +01:00
Nick Clifton
d303a52d3e Properly disable the default generation of compressed debug sections.
Resolves: #1366182
2016-09-01 11:24:10 +01:00
Nick Clifton
a243f6a308 Put sections in a monotonically increasing order of file offset.
Allow ARM and AArch64 targets to have relro on by default.
Add missing test files to lto patch.
2016-08-19 12:24:06 +01:00
Nick Clifton
8d06b5d1c4 Fix computation of sh_info field in the header of .dynsym sections. 2016-08-15 09:31:02 +01:00