| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
gold/
PR gold/20693
* gold.cc (queue_middle_tasks): Force valid target earlier.
This change is backport of commit c13b08dbbcf752480a7621aa1f89bc5440c74c25
- https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=c13b08dbbcf752480a7621aa1f89bc5440c74c25
to binutils 2.25.
|
|\
| |
| |
| |
| |
| | |
am: 29a2cb0cb5
Change-Id: I5c30a5bd2bebd75327a6105e7906b9a06f6af94d
|
| |\
| | |
| | |
| | |
| | |
| | | |
am: 22eb558f95
Change-Id: If898ff00c79cb79e48b516f4f8ef75ae6f2d9cf4
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 9bf6cbf6dd
Change-Id: I46f3eeff9e8a4a07dfc45b31579734798d8c0733
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The CodeView pdb path/name field is empty leading windows minidumps to
have empty module paths for the binary. This patch sets the path to the
base name of the binary.
Bug: 33668347
Change-Id: I4138998239b07b54cc36dc2d2e3484c4b63f5435
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
am: 8c02016831
Change-Id: Id3c1dfcc0aa0b09d820e45407e384d15ac0ed1e6
|
| |\ \
| | |/
| | |
| | |
| | |
| | | |
am: 249bab53c3
Change-Id: I3627b4134439649f4cb80be5c1206a9a4d3d55d1
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 082ed0f10c
Change-Id: Ifbc4608738b8b7bc38f278117b82c50c0ce2b9cd
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is also the default upstream:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=50701cc170a7c10a72e5ec2c7c6ed31057a31d43
Bug: 31270843
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
61e5c70588
am: 9143ccb606
Change-Id: Id666e01883aefbf35d4b85c9d8c2bb17955dc740
|
| |\ \ \
|/ / / /
| | _ /
| | /
| | |
| | | |
am: 61e5c70588
Change-Id: I50ada89f7ea95fb8662e9f0fe0855593a645645c
|
| |\ \
|/ / /
| | _
| |
| |
| | |
am: b8ff982870
Change-Id: I004da4b4e8073df2b3d6fad657c1c00ff74ca774
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=628795
The upstream bug is https://sourceware.org/bugzilla/show_bug.cgi?id=17704
This patch is backported from upstream -
commit ac423761af22f7858a1413cda5df3e1d5e88d4e4
Author: Gergely Nagy <ngg@tresorit.com>
Date: Fri Oct 21 11:08:20 2016 -0700
Fix PR 17704.
This fix keeps the section with the highest alignment when folding sections with ICF.
PR gold/17704
* icf.cc (match_sections): Add new parameter section_addraligns.
Check section alignment and keep the section with the strictest
alignment.
(find_identical_sections): New local variable section_addraligns.
Store each section's alignment.
* testsuite/pr17704a_test.s: New file.
* testsuite/Makefile.am (pr17704a_test): New test.
* testsuite/Makefile.in: Regenerate.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
6422a80df9 am: 129dec3ed0
am: 1e1ca302a3
Change-Id: Idf18161ad90ebdea222a95cead1af04fb7f9bc18
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | |
| | | |
6422a80df9
am: 129dec3ed0
Change-Id: Ia2d30b822ea4c0d85f5d63a347c4b1cc06d436d6
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 6422a80df9
Change-Id: I50bdd1f0349dc9453014936904bc811a23ed7e32
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 21502954
This patch is backported from upstream -
commit c20ceeb226168ffd84078ef74d890c2b7f69a435
Author: Yiran Wang <yiran@google.com>
Date: Mon Jul 20 08:47:57 2015 -0700
Remove warning about references from shared objects to hidden symbols.
gold/
PR gold/15574
* resolve.cc (Symbol_table): Remove warning about references
from shared objects to hidden symbols.
* testsuite/Makefile.am (hidden_test): Add hidden_test.syms.
* testsuite/Makefile.in: Regenerate.
* testsuite/hidden_test.sh: Check dynamic symbol table; update
expected error messages.
Change-Id: Ie6fb67071c7f478859069b7b4bf629cd44f91844
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
resolved.\\\" am: 4520d6bee1 am: fd48d3412a
am: 850063a5c4
Change-Id: I2d991e5f66a5ef98096cd4ea833da287f6e74b3b
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
resolved.\\" am: 4520d6bee1
am: fd48d3412a
Change-Id: I236eef08f85d32346eeb00ef7e03cc977483e1c0
|
| | |\ \
| |/ / /
| | | _
| | |
| | |
| | |
| | |
| | | |
resolved.\"
am: 4520d6bee1
Change-Id: Ibf705796bdfcfe835185aa7daf332289139fafaf
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
resolved."
Bug: 21502954
This change reverts https://android-review.googlesource.com/#/c/155101/, to be
replaced by the upstream patch with tests.
- https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=c20ceeb226168ffd84078ef74d890c2b7f69a435
Change-Id: Id929c8422a016638f860ac508eeafc7080584600
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
fission. am: 21efffa54e am: 881d3cd754
am: cc160c2199
* commit 'cc160c2199d6d3d8b64dcc578ece5eb5e75a4b80':
GOLD/DWP: exit without segfault if the binary is not built with debug fission.
Change-Id: I7d0c1206db80741414fdb7e4c5b21c31e42bebd9
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
fission. am: 21efffa54e
am: 881d3cd754
* commit '881d3cd7545c511c99f208f1eb518582b16e67a9':
GOLD/DWP: exit without segfault if the binary is not built with debug fission.
Change-Id: I57bfd9c5e6b5f5a8d0492103881abce197f34f47
|
| | |\ \
| | | |/
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 21efffa54e
* commit '21efffa54e136e1b45d8016339bda25690b2b7fd':
GOLD/DWP: exit without segfault if the binary is not built with debug fission.
Change-Id: I62c6bbf195f2b6cf8fa18dfb21ddf0bd3c9d562f
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
dwp segfaults when trying to get .dwp file from a binary built without
debug fission. This patch fixes that.
upstream thread is
https://sourceware.org/ml/binutils/2016-05/msg00204.html
BUG=None
TEST=dwp still works with files built with debug fission and dwp does not
segfault on files that are not built with debug fission.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
1966aef
am: 2b51ecb
* commit '2b51ecbab101466172f47f38953929b1653210c1':
Fix DT_MIPS_RLD_MAP_REL tag for n64 target and 32-bit host.
Change-Id: I7ec117c73928868416edf14e20a09ff6decadb0f
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 1966aef
* commit '1966aefbbe2e442cf8589e1b64e889fbc6e60272':
Fix DT_MIPS_RLD_MAP_REL tag for n64 target and 32-bit host.
Change-Id: I4f6b65c3c7dd8f2ceac76fb2e7642420549bd8fa
|
| | |\ \
| | | |/
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: d929cfd
* commit 'd929cfd50d770364fd652d252abc19598b0cc84c':
Fix DT_MIPS_RLD_MAP_REL tag for n64 target and 32-bit host.
Change-Id: I1b4ae890df61145d24a5dfc4c08dfb108adc119e
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Cherry-picked from upstream: d5cff5df74b18e1e5ed94de8f4c9adee3ffd95c6
For the case of MIPS n64 target and 32-bit host, the computation of
the DT_MIPS_RLD_MAP_REL tag involves sdyn->output_section->vma +
sdyn->output_offset (64-bit) being added to b (32-bit host pointer),
so losing the high part and resulting in an incorrect
DT_MIPS_RLD_MAP_REL tag, and all dynamically linked glibc tests
failing for n64. This patch fixes this (spot-tested with glibc tests;
however, I don't have a self-contained testcase for this bug).
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections)
<DT_MIPS_RLD_MAP_REL>: Add target address to host address
difference, not to host pointer.
Change-Id: If4984d632723a36a3d6c739a96706b5636f975bc
Conflicts:
binutils-2.25/bfd/ChangeLog
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 52d9ff8
* commit '52d9ff81dbe9a79e6c0bace624091067b046948b':
Add support for DT_MIPS_RLD_MAP_REL.
Change-Id: I2d9d7b14e8872360d8549e9c3baa80a41951ac55
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 39f13fa
* commit '39f13fa25e4d4d73a13687dfc1fca67916967018':
Add support for DT_MIPS_RLD_MAP_REL.
Change-Id: If9a8ff3fec7800d77db1d46965f53a5410f9c7a7
|
| | |\ \
| | | |/
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: a696d1d
* commit 'a696d1d39e22f355b9f7762a0beeed014df761da':
Add support for DT_MIPS_RLD_MAP_REL.
Change-Id: If2957af88765d2a1c7f2f75ed1027feb9a3dbc37
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This tag makes it possible to access the debug map when debugging position
independent executables.
bfd/
* elfxx-mips.c (_bfd_mips_elf_create_dynamic_sections): Use executable
instead of !shared to indicate an application vs shared library.
(_bfd_mips_elf_size_dynamic_sections): Likewise.
(_bfd_mips_elf_finish_dynamic_sections): Handle DT_MIPS_RLD_MAP_REL.
(_bfd_mips_elf_get_target_dtag): Likewise.
binutils/
* readelf.c (get_mips_dynamic_type): Handle DT_MIPS_RLD_MAP_REL.
include/
* elf/mips.h (DT_MIPS_RLD_MAP_REL): New macro.
ld/testsuite/
* ld-mips-elf/pic-and-nonpic-3b.ad: Adjust for extra dynamic tag.
* ld-mips-elf/pic-and-nonpic-4b.ad: Likewise.
* ld-mips-elf/pic-and-nonpic-5b.ad: Likewise.
* ld-mips-elf/pic-and-nonpic-6-n32.ad: Likewise.
* ld-mips-elf/pic-and-nonpic-6-n64.ad: Likewise.
* ld-mips-elf/pic-and-nonpic-6-o32.ad: Likewise.
* ld-mips-elf/tlsdyn-o32-1.d: Likewise.
* ld-mips-elf/tlsdyn-o32-1.got: Likewise.
* ld-mips-elf/tlsdyn-o32-2.d: Likewise.
* ld-mips-elf/tlsdyn-o32-2.got: Likewise.
* ld-mips-elf/tlsdyn-o32-3.d: Likewise.
* ld-mips-elf/tlsdyn-o32-3.got: Likewise.
* ld-mips-elf/tlsdyn-o32.d: Likewise.
* ld-mips-elf/tlsdyn-o32.got: Likewise.
* ld-mips-elf/pie-n32.d: New file.
* ld-mips-elf/pie-n64.d: Likewise.
* ld-mips-elf/pie-o32.d: Likewise.
* ld-mips-elf/pie.s: Likewise.
* ld-mips-elf/mips-elf.exp: Add new tests.
Change-Id: I9fa38c2876a39c29ae3718bae0ade55c677f96fd
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 1e5714c
* commit '1e5714ccaf589fc08d1d5e0335c512b8ce5b3034':
Revert "Add support for the new tag DT_MIPS_RLD_MAP2."
Change-Id: I6b7c1c4874a22c863efdc3f67eb2c64f164d937e
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: ba7ec7f
* commit 'ba7ec7f29961e88bc83e2f18cbdc54aa7f39e78d':
Revert "Add support for the new tag DT_MIPS_RLD_MAP2."
Change-Id: Idd296cd03815f21b2f44b598e03106ca14c63eab
|
| | |\ \
| | | |/
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 42704eb
* commit '42704eb7fb240faa66f388f6a28d1e2d1c7cf470':
Revert "Add support for the new tag DT_MIPS_RLD_MAP2."
Change-Id: I151e968d99e725c37de9b1c1918beb222385818f
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit 51d71fd2cc99f309cb792cc48ae910baeb92b2a0.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
405fb1a am: 825d123
am: 3186005
* commit '3186005e6155741a42bd686442ea312504f8f9be':
Revert "Fix DT_MIPS_RLD_MAP_REL tag for n64 target and 32-bit host."
Change-Id: Ic2d78e4e1316c6e96e2d024dea0fd603448c75b0
|
| |\ \ \
|/ / / /
| | _ /
| | /
| | |
| | |
| | |
| | |
| | | |
am: 825d123
* commit '825d1232afbeae29a9026393cfc0234624577c52':
Revert "Fix DT_MIPS_RLD_MAP_REL tag for n64 target and 32-bit host."
Change-Id: I0253eb73844d8161b94ed024658da53940311cad
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
am: 405fb1a
* commit '405fb1a937f705403a28d5591a1bb530b4efe9ed':
Revert "Fix DT_MIPS_RLD_MAP_REL tag for n64 target and 32-bit host."
Change-Id: Ie72f1cf7d19e516bae147b53279fe43f2a898775
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 7e80b87f7ff08c7c13f38d76a953b0cd753403aa.
Conflicts:
binutils-2.25/bfd/ChangeLog
Change-Id: I1c0e3d5e9483001db6a4ffe807d6246c2f3ca126
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
am: 61706fc
* commit '61706fca24d6eaef96d1957071f9fb81d747143e':
Backport upstream CL to fix x86_32 clang segfaults.
Change-Id: Ic273844e579d7ddc79b52debf8fc6096d4240bac
|
| |\ \
|/ / /
| | _
| |
| |
| |
| |
| |
| | |
am: 78eb680
* commit '78eb6804689b812b374e2e5d248a96977f13ffd1':
Backport upstream CL to fix x86_32 clang segfaults.
Change-Id: Idf93d170655b59139895f0256de9926198f17c2a
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upstream patch being backported:
commit 84d543b7ed93bf6511cdf45791f4f0b717dfb718
Author: Sriraman Tallam <tmsriram@google.com>
Date: Fri Feb 5 15:07:45 2016 -0800
2016-02-05 Sriraman Tallam <tmsriram@google.com>
* icf.cc (get_rel_addend): New function.
(get_section_contents): Move merge section addend computation to a
new function. Ignore negative values for SHT_REL and SHT_RELA addends.
Fix bug to not read past the length of the section.
Fix bug related to addend computation for MERGE sections.
Tested via cbuildbot for ChromeOS and build on Android mnc-dr-release
for hammerhead
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upstream patch being backported:
commit fc5a9bd57cbb974b8fc3aeb9a15d644cd9103451
Author: Cary Coutant <ccoutant@gmail.com>
Date: Fri Feb 26 07:50:15 2016 -0800
Discard FDEs for zero-length address ranges.
2016-02-26 Egor Kochetov <egor.kochetov@intel.com>
Cary Coutant <ccoutant@gmail.com>
gold/
PR gold/19735
* ehframe.h (Cie::fde_encoding): New method.
* ehframe.cc (Eh_frame::read_fde): Discard FDEs for zero-length
address ranges.
TESTED=only tested building with 'build.py'
BUG=26085687
Change-Id: I52e90fba86b113a557dd4d29d36ecb4c512f3f7a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG: 26536732
Tested by building binutils on ubuntu, and using the newly built gold
to link volantis binaries. The info messages are gone.
This patch is backported from upstream -
commit e3dbf58233db3ad72f1ba624dc7f13ffd2728f25
Author: Han Shen <shenhan@google.com>
Date: Thu Feb 11 09:47:49 2016 -0800
Remove info message for every erratum 843419 found and fixed.
2016-02-11 Rahul Chaudhry <rahulchaudhry@google.com>
* aarch64.cc (Target_aarch64::scan_erratum_843419_span):
Remove info message for every erratum 843419 found and fixed.
Change-Id: I9792795096c919b006e98fdfdb01b448e597d605
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The error happens while linking a huge arm32 binary (for example, a
debuggable chrome browser on arm) - the plt jump offset overflows. This
fixes the problem by introducing another level of indirection.
By default this does not affect anything. However in case of plt jump
offset overflow, instead of triggering an internal error, the linker
generates a proper message and suggests add "--long-plt" to the linker
command.
Tested via linking debug chrome browser for arm32.
Also tested by build.py on android.
The upstream patch -
commit ce3e49806d505721e0875e704de0b6fcba7660ed
Author: Peter Collingbourne <pcc@google.com>
Date: Thu Dec 17 16:50:35 2015 -0800
Implement --long-plt flag (ARM only).
gold/
PR gold/18780
* arm.cc (Target_arm::do_make_data_plt): Choose PLT generator
based
on value of --long-plt flag.
(Output_data_plt_arm_standard::do_get_plt_entry_size): Moved to
Output_data_plt_arm_short.
(Output_data_plt_arm_standard::do_fill_plt_entry): Likewise.
(Output_data_plt_arm_standard::plt_entry): Likewise.
(Output_data_plt_arm_standard::do_fill_first_plt_entry): Fix
variable reference.
(Output_data_plt_arm_short): New class.
(Output_data_plt_arm_short::do_fill_plt_entry): Error out on too
large
PLT offsets instead of asserting.
(Output_data_plt_arm_long): New class.
* options.h (General_options): Define --long-plt flag.
Change-Id: Ia61126a09f2213d1ca5c3635ec9e5b36a63f6cf3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tested by build.py for linux aarch64 toolchains.
The upstream patch is:
commit 9a472eda40ba686e45bf4922455518ffa3c887e1
Author: Han Shen <shenhan@google.com>
Date: Fri Jan 15 09:31:23 2016 -0800
[gold][aarch64] PR gold/19472 - DSOs need pc-relative stubs.
The stub generated during relaxation uses absolute addressing mode
for
shared libraries, which is not correct. Use pc-relative addressing
instead.
gold/ChangeLog:
2016-01-15 Han Shen <shenhan@google.com>
PR gold/19472 - DSOs need pc-relative stubs.
* aarch64.cc (Reloc_stub::stub_type_for_reloc): Return
PC-relative stub type for DSOs and pie executables.
Change-Id: Id0022975cf93600117ff5bf300b9d736d6ad1f80
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note, there is a small change from the origin patch - while in the
upstream patch, the option --no-apply-dynamic is default off, it is on
by default in this CL.
This should not bring any changes to android or chromeos, because the
relocation value this CL changes is not used by chromeos, and is not
used by android either (after the fix in bionic months ago).
The backported patch is -
commit 0eccf19f96d6218dd7c2f8d13f0546c2b942cc08
Author: Cary Coutant <ccoutant@gmail.com>
Date: Thu Nov 5 12:24:14 2015 -0800
Add aarch64-specific --no-apply-dynamic-relocs option.
With --no-apply-dynamic-relocs on aarch64 targets, gold will not
apply
link-time values for absolute relocations that become dynamic
relocations.
This provides a workaround for broken Android dynamic linkers that
use
the link-time value as an extra addend to the relocation.
gold/
PR gold/19163
* aarch64.cc (Target_aarch64::Relocate::relocate): Don't apply
certain relocations if --no-apply-dynamic-relocs is set.
* options.h (--apply-dynamic-relocs): New aarch64-specific
option.
Tested - build whole toolchain and built android N9 image.
Change-Id: Ida524bbee2a83574cd9e78ffdad9270787327c78
|
|
|
|
|
|
|
|
|
| |
The go/unsafe-pie link should not appear in any warning messages,
replace it with a little bit detail.
Tested by building locally on ubuntu.
Change-Id: I3e590108ec2c6c8917475b5d78cdabbfcf2833f7
|