Go to file
Pete Cooper 9942bd025d Fix x86_64 delta*Anon relocs.
The encoded value should be an offset from the fixup location, which
means that it should take in to account the fixup offset in its section.

We weren't subtracting the base address of the atom, which meant that when
we parsed the file again for a round trip, we had 2x the atom address in our
target address.

I've also improved comments for these to try and describe what is going on.

There's no test case right now, as the bug is only exhibited when __data is at
a non-zero address in a -r link.  A commit will soon sort the sections differently
and move __data to after __text.  Then these relocations in
test/mach-o/parse-data-relocs-x86_64.yaml will test for this bug.

llvm-svn: 256779
2016-01-04 21:23:12 +00:00
clang Add some overlooked optnone tests, and tighten up an existing test. 2016-01-04 17:03:58 +00:00
clang-tools-extra Rename the CERT namespace to cert, and update some checkers to use this namespace consistently. 2016-01-04 14:31:14 +00:00
compiler-rt [PGO] Sync up template file with master 2016-01-04 01:22:55 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc AMDGPU: Add aliases for all VI targets 2015-12-15 18:37:04 +00:00
libcxx [libcxx] Fix typo in darwin target_info.py introduced by r256621. 2016-01-04 19:35:40 +00:00
libcxxabi Add new tests for throwing incomplete pointer types 2015-12-23 07:04:32 +00:00
libunwind Replace cmake check for printf with a check for fopen. 2015-12-10 00:47:08 +00:00
lld Fix x86_64 delta*Anon relocs. 2016-01-04 21:23:12 +00:00
lldb [FreeBSD] Use a cast sledgehammer to placate newer versions of clang. 2016-01-04 19:22:35 +00:00
llgo [llgo] Force exporting __morestack from llgoi 2015-11-27 04:46:46 +00:00
llvm [PGO]: reserve space for string to avoid excessive memory realloc/copy (non linear) 2016-01-04 20:26:05 +00:00
openmp Fix for barrier problem: applications with many parallel regions (2^30) hang 2016-01-04 20:51:48 +00:00
polly IslExprBuilder: Provide PointerLikeTypeTraits for isl_id 2015-12-30 20:11:48 +00:00