OSDN Git Service
Andres Morales [Fri, 8 May 2015 22:13:43 +0000 (22:13 +0000)]
Merge "remove rootdir build.prop"
Andres Morales [Thu, 7 May 2015 22:15:46 +0000 (15:15 -0700)]
remove rootdir build.prop
merge with default.prop
Change-Id: I6cff4527dec2b31bdde42ec26c42ef2782f8deb4
Dmitriy Ivanov [Fri, 8 May 2015 21:07:08 +0000 (21:07 +0000)]
Merge "Switch libc/libcstdc++/libm to hash-style=both"
Dmitriy Ivanov [Fri, 8 May 2015 19:05:47 +0000 (12:05 -0700)]
Switch libc/libcstdc++/libm to hash-style=both
Bug: http://b/
19059885
Change-Id: Ie42703d91f291fd689a1cf9c35bcab5c487b9a84
Dan Albert [Fri, 8 May 2015 17:15:31 +0000 (17:15 +0000)]
Merge "Apply same URL workaround to clean build."
Dan Albert [Fri, 8 May 2015 16:35:10 +0000 (16:35 +0000)]
Merge changes from topic 'volantis-blobs'
* changes:
Revert "Fix volantis boot."
Revert "Fix clang build."
Revert "Try again to fix clang build."
Dmitriy Ivanov [Fri, 8 May 2015 06:49:05 +0000 (06:49 +0000)]
Merge "Add definitions of Elf32_Sxword and ELFXX_R_INFO"
Dmitriy Ivanov [Fri, 8 May 2015 05:58:00 +0000 (22:58 -0700)]
Add definitions of Elf32_Sxword and ELFXX_R_INFO
Bug: http://b/
17056684
Change-Id: If35302245ac3ab40d1c80fb2b04620778c114f87
Yabin Cui [Fri, 8 May 2015 01:36:29 +0000 (01:36 +0000)]
Merge "Remove pthread_detach_no_leak test."
Yabin Cui [Thu, 7 May 2015 23:53:25 +0000 (16:53 -0700)]
Remove pthread_detach_no_leak test.
This test has lost its purpose as we are using mmap/munmap for pthread_internal_t. And it is a flaky test.
Bug:
20860440
Change-Id: I7cbb6bc3fd8a2ca430415beab5ee27a856ce4ea7
Dan Albert [Thu, 7 May 2015 23:33:42 +0000 (16:33 -0700)]
Apply same URL workaround to clean build.
Change-Id: I63e63f6ffb879f49e36ee2d09821fc6fc47952c8
Dan Albert [Thu, 7 May 2015 22:12:24 +0000 (15:12 -0700)]
Revert "Fix volantis boot."
Bug: http://b/
20065774
This reverts commit
76e1cbca75e9fdaf7a7943f2c58e65433b283f4a.
Dan Albert [Thu, 7 May 2015 22:12:16 +0000 (15:12 -0700)]
Revert "Fix clang build."
Bug: http://b/
20065774
This reverts commit
0975a5d9d29019e764dc0ab2ddc75759bebffb9b.
Dan Albert [Thu, 7 May 2015 22:11:41 +0000 (15:11 -0700)]
Revert "Try again to fix clang build."
Bug: http://b/
20065774
This reverts commit
dffd3c58389103d6ee712fac6544217c00c1f315.
Change-Id: I5dd095ff4ab133baa2afcbd4c79fbee55d05c459
Dmitriy Ivanov [Thu, 7 May 2015 19:55:24 +0000 (19:55 +0000)]
Merge "Properly align init/fini_arrays for crtend.o"
Dmitriy Ivanov [Thu, 7 May 2015 01:49:23 +0000 (18:49 -0700)]
Properly align init/fini_arrays for crtend.o
Also remove them from crtend_so.o
Bug: http://b/
20532404
Change-Id: I56a0f80c4b3a83cf11d28bbf17791ff4ce10c5d2
Dmitriy Ivanov [Thu, 7 May 2015 17:55:38 +0000 (17:55 +0000)]
Merge "Use realpath for log and error messages"
Dmitriy Ivanov [Thu, 7 May 2015 17:48:00 +0000 (10:48 -0700)]
Use realpath for log and error messages
Bug: http://b/
20885931
Change-Id: Ida8ab7982ca75fa73da13c4cb10a6b2e53bc2c8e
Dmitriy Ivanov [Wed, 6 May 2015 23:47:22 +0000 (23:47 +0000)]
Merge "Move pthread_atfork_dlclose test out of static lib"
Dmitriy Ivanov [Tue, 5 May 2015 23:29:28 +0000 (16:29 -0700)]
Move pthread_atfork_dlclose test out of static lib
Bug: http://b/
20858755
Change-Id: I0d84e8b43dc33902d75af18db6b7c8e0b619d718
Dmitriy Ivanov [Wed, 6 May 2015 19:06:19 +0000 (19:06 +0000)]
Merge "VersionTracker: Ignore libraries without soname"
Dmitriy Ivanov [Wed, 6 May 2015 18:05:27 +0000 (11:05 -0700)]
VersionTracker: Ignore libraries without soname
Bug: http://b/
20872443
Change-Id: I7bd076885c1feae39af6ea64c9442bcc5ae5a1dc
(cherry picked from commit
8264afb37778bea2a3c6e9aa7144f4877401c3f8)
Dmitriy Ivanov [Tue, 5 May 2015 22:39:20 +0000 (22:39 +0000)]
Merge "Fix protected symbol lookups for mips"
Dmitriy Ivanov [Tue, 5 May 2015 02:30:49 +0000 (19:30 -0700)]
Fix protected symbol lookups for mips
Bug: http://b/
20694161
Change-Id: I5cc58034f9776e1db9cddc34abe48ef85f6048f4
Dmitriy Ivanov [Mon, 4 May 2015 19:35:50 +0000 (19:35 +0000)]
Merge "Do not adjust PT_GNU_STACK segment"
Dmitriy Ivanov [Mon, 4 May 2015 18:11:23 +0000 (11:11 -0700)]
Do not adjust PT_GNU_STACK segment
Bug: http://b/
20687795
Bug: http://b/
18051137
Change-Id: Ie8af3892cfbebcc0249e7981284c4ad97ff40317
(cherry picked from commit
064a9800f372b8efd6d7b08150ab5204e5304c84)
Christopher Ferris [Mon, 4 May 2015 16:45:13 +0000 (16:45 +0000)]
Modify test to avoid race condition.
automerge:
3da136a
* commit '
3da136aa47e2d1608b98abb2580f024b36f92831':
Modify test to avoid race condition.
Dmitriy Ivanov [Fri, 1 May 2015 22:43:36 +0000 (22:43 +0000)]
Merge changes I28bd3bc4,I6860013d
* changes:
Lookup version info when relocating mips got
Refactoring: move VersionTracker to link_image
Dmitriy Ivanov [Fri, 1 May 2015 03:17:03 +0000 (20:17 -0700)]
Lookup version info when relocating mips got
Bug: http://b/
20693971
Bug: http://b/
20139821
Change-Id: I28bd3bc44dafe048761b2c598facfe20320128c4
Dmitriy Ivanov [Fri, 1 May 2015 02:49:19 +0000 (19:49 -0700)]
Refactoring: move VersionTracker to link_image
Use one instance of VersionTracker per link (instead of 2).
Change-Id: I6860013df65f5969975c82ebdae8bd90a82e0a82
Dmitriy Ivanov [Fri, 1 May 2015 00:40:58 +0000 (00:40 +0000)]
Merge "Refactoring: extract lookup_version_info(..)"
Dmitriy Ivanov [Thu, 30 Apr 2015 23:11:48 +0000 (16:11 -0700)]
Refactoring: extract lookup_version_info(..)
Change-Id: I47f9c21a1738dc520fd83281c8227dc3a7e79650
Mark Salyzyn [Thu, 30 Apr 2015 20:57:49 +0000 (20:57 +0000)]
Merge "bionic: fortify comments in _system_properties.h"
Dan Albert [Thu, 30 Apr 2015 19:29:47 +0000 (19:29 +0000)]
Merge "Define char16_t and char32_t to make gcc 5.1 happy"
Dmitriy Ivanov [Thu, 30 Apr 2015 05:07:40 +0000 (05:07 +0000)]
Merge "Adjust DT_MIPS_RLD_MAP2 value"
Dmitriy Ivanov [Thu, 30 Apr 2015 02:34:51 +0000 (19:34 -0700)]
Adjust DT_MIPS_RLD_MAP2 value
DT_MIPS_RLD_MAP2 stores the difference between dynamic
entry address and the address of the _r_debug (used by GDB)
since the dynamic section and target address are on the
different sides of the hole it needs to be adjusted accordingly
Bug: http://b/
20658994
Bug: http://b/
18051137
Change-Id: I4c5e379e8a4c68f029467df6dc660f81a7013a09
Dmitriy Ivanov [Wed, 29 Apr 2015 23:44:57 +0000 (23:44 +0000)]
Merge "linker: initialize system properties"
Dmitriy Ivanov [Wed, 29 Apr 2015 21:58:56 +0000 (21:58 +0000)]
Merge "Fix mips relocation to use load_bias as intended"
Dmitriy Ivanov [Wed, 29 Apr 2015 21:41:06 +0000 (14:41 -0700)]
Fix mips relocation to use load_bias as intended
Bug: http://b/
20658994
Change-Id: I5a15605fe34db359e26d563e13841ae993083c4a
Mark Salyzyn [Wed, 29 Apr 2015 14:21:36 +0000 (07:21 -0700)]
bionic: fortify comments in _system_properties.h
Change-Id: I2ef8fb7ae5ae03d5d2a50b5a417d585710099760
Neil Fuller [Wed, 29 Apr 2015 10:42:16 +0000 (10:42 +0000)]
Merge "Update to tzdata 2015d"
Dmitriy Ivanov [Wed, 29 Apr 2015 01:59:53 +0000 (01:59 +0000)]
Merge "Fix LD_PRELOAD for dlopen()"
Jeff Brown [Wed, 29 Apr 2015 01:42:45 +0000 (01:42 +0000)]
Merge "Add float support to binary event log."
Jeff Brown [Tue, 28 Apr 2015 21:35:45 +0000 (14:35 -0700)]
Add float support to binary event log.
Bug:
20664753
Change-Id: I6e43c07daa727c19d87f5192bb719af63dd93654
Dmitriy Ivanov [Wed, 29 Apr 2015 01:09:53 +0000 (18:09 -0700)]
Fix LD_PRELOAD for dlopen()
We did not set DF_1_GLOBAL flag for LD_PRELOADed
libraries which led to the situation when ld_preloads
where ignored during on dlopen()
Change-Id: I696b3b2506a8ed4c0984ad2c803210a7a4f8e686
Dmitriy Ivanov [Tue, 28 Apr 2015 22:49:26 +0000 (15:49 -0700)]
linker: initialize system properties
Bug: http://b/
20567629
Bug: https://code.google.com/p/chromium/issues/detail?id=478886
Change-Id: I8d2d89b749015e7fcd6e7ea646911f2e617dd1ba
Mark Salyzyn [Tue, 28 Apr 2015 22:11:52 +0000 (22:11 +0000)]
Merge "bionic: add __system_property_area_serial()"
Dmitriy Ivanov [Tue, 28 Apr 2015 22:06:42 +0000 (22:06 +0000)]
Merge "Do not pack relocations for libc.so"
Dmitriy Ivanov [Tue, 28 Apr 2015 21:52:47 +0000 (14:52 -0700)]
Do not pack relocations for libc.so
Bug: http://b/
20645321
Bug: http://b/
20655855
(cherry picked from commit
452742d2bf4247106055696c11bc4e59ca630f11)
Change-Id: Ic9125cc1bc4c9ba9eb20d030de72e3ce1fb86fa6
Dmitriy Ivanov [Tue, 28 Apr 2015 21:35:58 +0000 (21:35 +0000)]
Merge "linker: use libc's environ variable to store envp"
Dmitriy Ivanov [Tue, 28 Apr 2015 20:34:16 +0000 (13:34 -0700)]
linker: use libc's environ variable to store envp
This is to make getenv() work correctly.
Bug: http://b/
20567629
Change-Id: I148627e1efea1649fb0822c95876811652fb4082
Christopher Ferris [Tue, 28 Apr 2015 20:28:41 +0000 (20:28 +0000)]
Merge "cortex-a9: Fix reference to __memcpy_base_aligned."
Kyle Repinski [Tue, 28 Apr 2015 18:39:41 +0000 (13:39 -0500)]
cortex-a9: Fix reference to __memcpy_base_aligned.
With a different memcpy, __memcpy_base_aligned ceased to exist.
Instead, point to the name defined by whatever includes memcpy_base.S
Change-Id: I242cf49cbada35337ba155d7f170e86a905ff55f
Neil Fuller [Tue, 28 Apr 2015 16:03:13 +0000 (17:03 +0100)]
Update to tzdata 2015d
Changes affecting future time stamps
Egypt will not observe DST in 2015 and will consider canceling it
permanently. For now, assume no DST indefinitely.
(Thanks to Ahmed Nazmy and Tim Parenti.)
Changes affecting past time stamps
America/Whitehorse switched from UTC-9 to UTC-8 on 1967-05-28, not
1966-07-01. Also, Yukon's time zone history is documented better.
(Thanks to Brian Inglis and Dennis Ferguson.)
Change affecting past and future time zone abbreviations
The abbreviations for Hawaii-Aleutian standard and daylight times
have been changed from HAST/HADT to HST/HDT, as per US Government
Printing Office style. This affects only America/Adak since 1983,
as America/Honolulu was already using the new style.
Bug:
20551453
Change-Id: I02364f15ca4ae20ed1a3b327f8517214bee938e5
Dmitriy Ivanov [Tue, 28 Apr 2015 03:38:26 +0000 (03:38 +0000)]
Merge "Reduce p_align for program header to page size."
Dmitriy Ivanov [Tue, 28 Apr 2015 01:53:27 +0000 (18:53 -0700)]
Reduce p_align for program header to page size.
Having p_align > page_size leads to the situation when striping
packed executables results in unnecessary p_vaddr adjustments.
And it also may result (with probability 1 - 1/sizeof(uintptr_t)) in
misaligned segments following .dynstr
Bug: http://b/
20629834
Bug: http://b/
18051137
Change-Id: I1c5da4911e4409d63cb09f6b6b0a16ef54f6501b
Dmitriy Ivanov [Mon, 27 Apr 2015 18:28:30 +0000 (18:28 +0000)]
Merge "Remove outdated warning"
Dmitriy Ivanov [Mon, 27 Apr 2015 18:16:11 +0000 (11:16 -0700)]
Remove outdated warning
It is ok to use malloc in linker.
Bug: http://b/
20567629
Change-Id: I54183dbe8ebcd223a44e710e511c339688a65dba
Chih-Hung Hsieh [Mon, 27 Apr 2015 17:17:44 +0000 (17:17 +0000)]
Merge "Fix opcode to compile with both gcc and llvm."
Mark Salyzyn [Fri, 24 Apr 2015 16:31:32 +0000 (09:31 -0700)]
bionic: add __system_property_area_serial()
Adds a new _internal_ function. Provide a global serial number to
support more efficient private caching algorithms. This allows
to skip re-running the __system_property_find() call on misses until
there is a global change in the properties. This call is a read
barrier, the property data to be read following this call will be
read sequentially and up to date.
Bug:
19544788
Change-Id: I58e6a92baa0f3e8e7b9ec79b10af6d56407dab48
Neil Fuller [Mon, 27 Apr 2015 08:19:13 +0000 (08:19 +0000)]
Merge "Update to tzdata 2015c"
Nick Kralevich [Sun, 26 Apr 2015 02:23:03 +0000 (02:23 +0000)]
Merge "add a fortified implementation of realpath"
Nick Kralevich [Sat, 25 Apr 2015 21:29:56 +0000 (21:29 +0000)]
Merge "add fortified memchr/memrchr implementations"
Dmitriy Ivanov [Sat, 25 Apr 2015 19:20:00 +0000 (19:20 +0000)]
Merge "Include pthread_atfork.h to mips64 crtbegin"
Dmitriy Ivanov [Sat, 25 Apr 2015 18:59:32 +0000 (11:59 -0700)]
Include pthread_atfork.h to mips64 crtbegin
Bug: http://b/
20339788
Change-Id: I2a8c7881f90a05ca768cb9b4c2f8b07c74c64469
Elliott Hughes [Sat, 25 Apr 2015 18:01:18 +0000 (18:01 +0000)]
Merge "Fix POSIX timer thread naming."
Elliott Hughes [Sat, 25 Apr 2015 17:05:24 +0000 (10:05 -0700)]
Fix POSIX timer thread naming.
Spencer Low points out that we never actually set a name because the constant
part of the string was longer than the kernel's maximum, and the kernel
rejects long names rather than truncate.
Shorten the fixed part of the string while still keeping it meaningful. 9999
POSIX timers should be enough for any process...
Bug: https://code.google.com/p/android/issues/detail?id=170089
Change-Id: Ic05f07584c1eac160743519091a540ebbf8d7eb1
Dmitriy Ivanov [Sat, 25 Apr 2015 05:36:06 +0000 (05:36 +0000)]
Merge "Unregister pthread_atfork handlers on dlclose()"
Dmitriy Ivanov [Sat, 25 Apr 2015 04:09:42 +0000 (04:09 +0000)]
Merge "Use bfd linker for x86/x86_64 targets"
Dmitriy Ivanov [Sat, 25 Apr 2015 04:05:49 +0000 (21:05 -0700)]
Use bfd linker for x86/x86_64 targets
ld.gold in current toolchain for x86_64
does not support -z global.
Change-Id: Iea2b192f0f0aa998a02adb356fd4eec4e10a1739
Dmitriy Ivanov [Fri, 21 Nov 2014 04:47:02 +0000 (20:47 -0800)]
Unregister pthread_atfork handlers on dlclose()
Bug: http://b/
20339788
Change-Id: I874c87faa377645fa9e0752f4fc166d81fd9ef7e
Dmitriy Ivanov [Sat, 25 Apr 2015 00:50:04 +0000 (00:50 +0000)]
Merge "Enable dlsym_df_1_global test for arm/arm64"
Dmitriy Ivanov [Fri, 24 Apr 2015 23:26:03 +0000 (16:26 -0700)]
Enable dlsym_df_1_global test for arm/arm64
Change-Id: I1fdebced93175cb14053e2239e79f97239fc2dc2
Dmitriy Ivanov [Fri, 24 Apr 2015 19:42:39 +0000 (19:42 +0000)]
Merge "Exit normally when relocations are already packed."
Dmitriy Ivanov [Fri, 24 Apr 2015 19:39:14 +0000 (12:39 -0700)]
Exit normally when relocations are already packed.
Bug: http://b/
18051137
Change-Id: Idfffac5fe965e3cdeabe6d3b2dcd8c275c6ae5df
Bernhard Rosenkränzer [Fri, 24 Apr 2015 14:21:38 +0000 (16:21 +0200)]
Define char16_t and char32_t to make gcc 5.1 happy
gcc 5.1 doesn't define char16_t and char32_t (unless in C++ mode),
causing compile failures.
Change-Id: I08dcd13cdf8cd59a4a2f191864bedf4c0d1bb313
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Neil Fuller [Fri, 24 Apr 2015 12:56:11 +0000 (13:56 +0100)]
Update to tzdata 2015c
Changes affecting future time stamps
Egypt's spring-forward transition is at 24:00 on April's last Thursday,
not 00:00 on April's last Friday. 2015's transition will therefore be on
Thursday, April 30 at 24:00, not Friday, April 24 at 00:00. Similar fixes
apply to 2026, 2037, 2043, etc. (Thanks to Steffen Thorsen.)
Changes affecting past time stamps
The following changes affect some pre-1991 Chile-related time stamps
in America/Santiago, Antarctica/Palmer, and Pacific/Easter.
The 1910 transition was January 10, not January 1.
The 1918 transition was September 10, not September 1.
The UTC-4 time observed from 1932 to 1942 is now considered to be
standard time, not year-round DST.
Santiago observed DST (UTC-3) from 1946-07-15 through 1946-08-31,
then reverted to standard time, then switched its time zone to
UTC-5 on 1947-04-01.
Assume transitions before 1968 were at 00:00, since we have no data
saying otherwise.
The spring 1988 transition was 1988-10-09, not 1988-10-02.
The fall 1990 transition was 1990-03-11, not 1990-03-18.
Assume no UTC offset change for Pacific/Easter on 1890-01-01,
and omit all transitions on Pacific/Easter from 1942 through 1946
since we have no data suggesting that they existed.
One more zone has been turned into a link, as it differed
from an existing zone only for older time stamps. As usual,
this change affects UTC offsets in pre-1970 time stamps only.
The zone's old contents have been moved to the 'backzone' file.
The affected zone is America/Montreal.
Bug:
20287125
Change-Id: I8512c4e9ab09725395b256aba59ca34a23d1c995
Dimitry Ivanov [Fri, 24 Apr 2015 03:49:30 +0000 (03:49 +0000)]
Merge "Revert "Unregister pthread_atfork handlers on dlclose()""
Dimitry Ivanov [Fri, 24 Apr 2015 03:45:59 +0000 (03:45 +0000)]
Revert "Unregister pthread_atfork handlers on dlclose()"
The visibility control in pthread_atfork.h is incorrect.
It breaks 64bit libc.so by hiding pthread_atfork.
This reverts commit
6df122f8528f9b9fcf7dfea14ae98b0ef66274e1.
Change-Id: I21e4b344d500c6f6de0ccb7420b916c4e233dd34
Dmitriy Ivanov [Thu, 23 Apr 2015 22:55:32 +0000 (22:55 +0000)]
Merge "Exit normally when packing relocs saves no space."
Dmitriy Ivanov [Thu, 23 Apr 2015 20:47:39 +0000 (13:47 -0700)]
Exit normally when packing relocs saves no space.
Bug: http://b/
18051137
Change-Id: I43ea5678a677e5d39fb54fafcf3a2f3a252c79b0
Dmitriy Ivanov [Thu, 23 Apr 2015 21:50:14 +0000 (21:50 +0000)]
Merge "Remove jemalloc.a from libc_nomalloc.a"
Chih-Hung Hsieh [Thu, 23 Apr 2015 21:27:10 +0000 (14:27 -0700)]
Fix opcode to compile with both gcc and llvm.
BUG:
17302991
Change-Id: I31febd9ad24312388068803ce247b295bd73b607
Elliott Hughes [Thu, 23 Apr 2015 21:14:24 +0000 (21:14 +0000)]
Merge "Simplify close(2) EINTR handling."
Dmitriy Ivanov [Thu, 23 Apr 2015 19:24:43 +0000 (12:24 -0700)]
Remove jemalloc.a from libc_nomalloc.a
Change-Id: I86edc1a6cf3a26c46e6daef2c859459c1b0f29af
Elliott Hughes [Thu, 23 Apr 2015 04:40:38 +0000 (21:40 -0700)]
Simplify close(2) EINTR handling.
This doesn't affect code like Chrome that correctly ignores EINTR on
close, makes code that tries TEMP_FAILURE_RETRY work (where before it might
have closed a different fd and appeared to succeed, or had a bogus EBADF),
and makes "goto fail" code work (instead of mistakenly assuming that EINTR
means that the close failed).
Who loses? Anyone actively trying to detect that they caught a signal while
in close(2). I don't think those people exist, and I think they have better
alternatives available.
Bug: https://code.google.com/p/chromium/issues/detail?id=269623
Bug: http://b/
20501816
Change-Id: I11e2f66532fe5d1b0082b2433212e24bdda8219b
Dmitriy Ivanov [Thu, 23 Apr 2015 08:05:25 +0000 (08:05 +0000)]
Merge "Unregister pthread_atfork handlers on dlclose()"
Dmitriy Ivanov [Fri, 21 Nov 2014 04:47:02 +0000 (20:47 -0800)]
Unregister pthread_atfork handlers on dlclose()
Change-Id: I326fdf6bb06bed12743f08980b5c69d849c015b8
Dmitriy Ivanov [Wed, 22 Apr 2015 22:15:47 +0000 (22:15 +0000)]
Merge "Always use signed leb128 decoder"
Dmitriy Ivanov [Wed, 22 Apr 2015 20:10:04 +0000 (13:10 -0700)]
Always use signed leb128 decoder
Relocation packer no longer encodes relocation tables
using unsigned leb128: https://android-review.googlesource.com/147745
Bug: http://b/
18051137
Change-Id: I620b7188e5f3dd9d5123431aa1fc7feca76be607
Dmitriy Ivanov [Wed, 22 Apr 2015 20:02:03 +0000 (20:02 +0000)]
Merge "Always use signed leb128 encoding"
Dmitriy Ivanov [Tue, 21 Apr 2015 22:03:04 +0000 (15:03 -0700)]
Always use signed leb128 encoding
According to runs on /system/lib there using
unsigned leb128 does not save us any additional
space. In order to keep packing as simple as
possible switch to using signed leb128 for
everything.
Bug: http://b/
18051137
Change-Id: I1a47cb9eb2175895b3c3f7c13b4c6b1060de86c0
Tao Bao [Wed, 22 Apr 2015 18:25:45 +0000 (18:25 +0000)]
Merge "Update the search path for libclang.so"
Dmitriy Ivanov [Wed, 22 Apr 2015 18:15:25 +0000 (18:15 +0000)]
Merge "Statically link libc++ for prebuilts"
Tao Bao [Wed, 22 Apr 2015 17:37:38 +0000 (10:37 -0700)]
Update the search path for libclang.so
Prebuilt shared libraries (libclang.so, libLLVM.so and etc) have been
moved to prebuilts/sdk/tools/linux/lib64. Update the search path in
cpp.py to match the change.
Bug:
20485471
Change-Id: Ib7784db4d5529d16a1e2bfc07cb0237929bc5a64
Dmitriy Ivanov [Wed, 22 Apr 2015 17:43:12 +0000 (10:43 -0700)]
Statically link libc++ for prebuilts
Statically link libc++ to relocation_packer in
order to make it work from prebuilts
Bug: http://b/
18051137
Change-Id: I933ed6a0e48780a26b261069eb6a293432824fe7
Chih-Hung Hsieh [Tue, 21 Apr 2015 23:44:58 +0000 (23:44 +0000)]
Merge "Allow building libc long double code with clang/llvm."
Chih-Hung Hsieh [Mon, 16 Mar 2015 20:49:40 +0000 (13:49 -0700)]
Allow building libc long double code with clang/llvm.
This requires fix of clang's Android x86 long double size and format.
That bug has been fixed in https://android-review.git.corp.google.com/#/c/146254/
Change-Id: I182c6c493085212f88c694356659f72227c8b8c7
Dmitriy Ivanov [Tue, 21 Apr 2015 19:29:18 +0000 (19:29 +0000)]
Merge "Adjust DT_VERSYM/VERNEED/VERDEF dynamic sections"
Dmitriy Ivanov [Tue, 21 Apr 2015 00:41:28 +0000 (17:41 -0700)]
Adjust DT_VERSYM/VERNEED/VERDEF dynamic sections
This is recent addition to bionic linker. The symbol
versioning was not supported before therefore this bug
went unnoticed.
Also normal exit when there is not enought relocations
to pack. This is to enable integration of relocation_packer
to android build system.
Bug: http://b/
20139821
Bug: http://b/
18051137
Change-Id: Iaf36ae11c8e4b15cf785b6dd1712a3bdcf47cc45