OSDN Git Service

android-x86/bionic.git
9 years agoMerge "ScopedFd: Don't use TEMP_FAILURE_RETRY() with close()"
Elliott Hughes [Thu, 14 May 2015 00:27:45 +0000 (00:27 +0000)]
Merge "ScopedFd: Don't use TEMP_FAILURE_RETRY() with close()"

9 years agoMerge "Fix unused result errors in bionic."
Elliott Hughes [Wed, 13 May 2015 21:09:41 +0000 (21:09 +0000)]
Merge "Fix unused result errors in bionic."

9 years agoScopedFd: Don't use TEMP_FAILURE_RETRY() with close()
Spencer Low [Thu, 23 Apr 2015 01:06:51 +0000 (18:06 -0700)]
ScopedFd: Don't use TEMP_FAILURE_RETRY() with close()

According to the comments in Posix_close(), TEMP_FAILURE_RETRY() should
not be used with close():

https://android.googlesource.com/platform/libcore/+/462bdac45c10f43d88d8f07f6994e272a27c14a2%5E%21/#F12

Kill ScopedFd by simplifying the single caller.

Change-Id: I248c40b8c2fc95f1938a6edfc245c81847fc44af
Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
9 years agoFix unused result errors in bionic.
Elliott Hughes [Wed, 13 May 2015 20:18:04 +0000 (13:18 -0700)]
Fix unused result errors in bionic.

This lets us use _FORTIFY_SOURCE=2 on the host.

Change-Id: I69f5ff9834bfd595aae6584104bee10c4d8a5eeb

9 years agoMerge "Improved dlsym tests and fixes to linker"
Dmitriy Ivanov [Tue, 12 May 2015 20:48:17 +0000 (20:48 +0000)]
Merge "Improved dlsym tests and fixes to linker"

9 years agoImproved dlsym tests and fixes to linker
Dmitriy Ivanov [Tue, 12 May 2015 18:12:27 +0000 (11:12 -0700)]
Improved dlsym tests and fixes to linker

 Answers the question: what if dependent library
 was preloaded with RTLD_LOCAL flag.

 Also add test for RTLD_NEXT within local_group.

Bug: http://b/17512583
Change-Id: I79e081e68b3a8c0ed8980d4275a06515fea94ec9

9 years agoMerge "Update NOTICE files (the second time today)."
Elliott Hughes [Tue, 12 May 2015 17:47:04 +0000 (17:47 +0000)]
Merge "Update NOTICE files (the second time today)."

9 years agoUpdate NOTICE files (the second time today).
Elliott Hughes [Tue, 12 May 2015 17:44:37 +0000 (10:44 -0700)]
Update NOTICE files (the second time today).

Change-Id: Ifb031d29ee697ee0682bd651e0081493e8016e67

9 years agoMerge "Update NOTICE files."
Elliott Hughes [Tue, 12 May 2015 17:43:45 +0000 (17:43 +0000)]
Merge "Update NOTICE files."

9 years agoUpdate NOTICE files.
Elliott Hughes [Tue, 12 May 2015 17:09:01 +0000 (10:09 -0700)]
Update NOTICE files.

(cherry-pick of f0bd92db8966b04062fda0986dacf80891e1a378.)
Change-Id: I4e170118abf452dd87ffe79d343ba1e2b53955de

9 years agoMerge "Simplify three copyright headers."
Elliott Hughes [Tue, 12 May 2015 17:27:04 +0000 (17:27 +0000)]
Merge "Simplify three copyright headers."

9 years agoSimplify three copyright headers.
Elliott Hughes [Tue, 12 May 2015 17:10:01 +0000 (10:10 -0700)]
Simplify three copyright headers.

There's no reason to have multiple years in our own copyright headers,
and given the stupidity of our NOTICE file generation, it just creates
more junk.

Change-Id: I065a3811c2e2584e3b649a18ad9460286bc72b92

9 years agoMerge "Use unified syntax to compile with both llvm and gcc."
Chih-Hung Hsieh [Tue, 12 May 2015 04:31:09 +0000 (04:31 +0000)]
Merge "Use unified syntax to compile with both llvm and gcc."

9 years agoUse unified syntax to compile with both llvm and gcc.
Chih-Hung Hsieh [Mon, 11 May 2015 18:21:19 +0000 (11:21 -0700)]
Use unified syntax to compile with both llvm and gcc.

All arch-arm and arch-arm64 .S files were compiled
by gcc with and without this patch. The output object files
were identical. When compiled with llvm and this patch,
the output files were also identical to gcc's output.

BUG: 18061004
Change-Id: I458914d512ddf5496e4eb3d288bf032cd526d32b

9 years agoMerge "Fix various bugs in the check-symbols script."
Elliott Hughes [Mon, 11 May 2015 20:28:56 +0000 (20:28 +0000)]
Merge "Fix various bugs in the check-symbols script."

9 years agoFix various bugs in the check-symbols script.
Elliott Hughes [Mon, 11 May 2015 19:10:40 +0000 (12:10 -0700)]
Fix various bugs in the check-symbols script.

It had bitrotted away during the last release cycle.

Change-Id: I20f0a3b409af4530b81f26299bef9de01530c9fd

9 years agoMerge "remove rootdir build.prop"
Andres Morales [Fri, 8 May 2015 22:13:43 +0000 (22:13 +0000)]
Merge "remove rootdir build.prop"

9 years agoremove 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

9 years agoMerge "Switch libc/libcstdc++/libm to hash-style=both"
Dmitriy Ivanov [Fri, 8 May 2015 21:07:08 +0000 (21:07 +0000)]
Merge "Switch libc/libcstdc++/libm to hash-style=both"

9 years agoSwitch 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

9 years agoMerge "Apply same URL workaround to clean build."
Dan Albert [Fri, 8 May 2015 17:15:31 +0000 (17:15 +0000)]
Merge "Apply same URL workaround to clean build."

9 years agoMerge changes from topic 'volantis-blobs'
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."

9 years agoMerge "Add definitions of Elf32_Sxword and ELFXX_R_INFO"
Dmitriy Ivanov [Fri, 8 May 2015 06:49:05 +0000 (06:49 +0000)]
Merge "Add definitions of Elf32_Sxword and ELFXX_R_INFO"

9 years agoAdd 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

9 years agoMerge "Remove pthread_detach_no_leak test."
Yabin Cui [Fri, 8 May 2015 01:36:29 +0000 (01:36 +0000)]
Merge "Remove pthread_detach_no_leak test."

9 years agoRemove 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

9 years agoApply same URL workaround to clean build.
Dan Albert [Thu, 7 May 2015 23:33:42 +0000 (16:33 -0700)]
Apply same URL workaround to clean build.

Change-Id: I63e63f6ffb879f49e36ee2d09821fc6fc47952c8

9 years agoRevert "Fix volantis boot."
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.

9 years agoRevert "Fix clang build."
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.

9 years agoRevert "Try again to fix clang build."
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

9 years agoMerge "Properly align init/fini_arrays for crtend.o"
Dmitriy Ivanov [Thu, 7 May 2015 19:55:24 +0000 (19:55 +0000)]
Merge "Properly align init/fini_arrays for crtend.o"

9 years agoProperly 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

9 years agoMerge "Use realpath for log and error messages"
Dmitriy Ivanov [Thu, 7 May 2015 17:55:38 +0000 (17:55 +0000)]
Merge "Use realpath for log and error messages"

9 years agoUse 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

9 years agoMerge "Move pthread_atfork_dlclose test out of static lib"
Dmitriy Ivanov [Wed, 6 May 2015 23:47:22 +0000 (23:47 +0000)]
Merge "Move pthread_atfork_dlclose test out of static lib"

9 years agoMove 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

9 years agoMerge "VersionTracker: Ignore libraries without soname"
Dmitriy Ivanov [Wed, 6 May 2015 19:06:19 +0000 (19:06 +0000)]
Merge "VersionTracker: Ignore libraries without soname"

9 years agoVersionTracker: 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)

9 years agoMerge "Fix protected symbol lookups for mips"
Dmitriy Ivanov [Tue, 5 May 2015 22:39:20 +0000 (22:39 +0000)]
Merge "Fix protected symbol lookups for mips"

9 years agoFix 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

9 years agoMerge "Do not adjust PT_GNU_STACK segment"
Dmitriy Ivanov [Mon, 4 May 2015 19:35:50 +0000 (19:35 +0000)]
Merge "Do not adjust PT_GNU_STACK segment"

9 years agoDo 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)

9 years agoModify test to avoid race condition.
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.

9 years agoMerge changes I28bd3bc4,I6860013d
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

9 years agoLookup version info when relocating mips got
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

9 years agoRefactoring: move VersionTracker to link_image
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

9 years agoMerge "Refactoring: extract lookup_version_info(..)"
Dmitriy Ivanov [Fri, 1 May 2015 00:40:58 +0000 (00:40 +0000)]
Merge "Refactoring: extract lookup_version_info(..)"

9 years agoRefactoring: 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

9 years agoMerge "bionic: fortify comments in _system_properties.h"
Mark Salyzyn [Thu, 30 Apr 2015 20:57:49 +0000 (20:57 +0000)]
Merge "bionic: fortify comments in _system_properties.h"

9 years agoMerge "Define char16_t and char32_t to make gcc 5.1 happy"
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"

9 years agoMerge "Adjust DT_MIPS_RLD_MAP2 value"
Dmitriy Ivanov [Thu, 30 Apr 2015 05:07:40 +0000 (05:07 +0000)]
Merge "Adjust DT_MIPS_RLD_MAP2 value"

9 years agoAdjust 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

9 years agoMerge "linker: initialize system properties"
Dmitriy Ivanov [Wed, 29 Apr 2015 23:44:57 +0000 (23:44 +0000)]
Merge "linker: initialize system properties"

9 years agoMerge "Fix mips relocation to use load_bias as intended"
Dmitriy Ivanov [Wed, 29 Apr 2015 21:58:56 +0000 (21:58 +0000)]
Merge "Fix mips relocation to use load_bias as intended"

9 years agoFix 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

9 years agobionic: fortify comments in _system_properties.h
Mark Salyzyn [Wed, 29 Apr 2015 14:21:36 +0000 (07:21 -0700)]
bionic: fortify comments in _system_properties.h

Change-Id: I2ef8fb7ae5ae03d5d2a50b5a417d585710099760

9 years agoMerge "Update to tzdata 2015d"
Neil Fuller [Wed, 29 Apr 2015 10:42:16 +0000 (10:42 +0000)]
Merge "Update to tzdata 2015d"

9 years agoMerge "Fix LD_PRELOAD for dlopen()"
Dmitriy Ivanov [Wed, 29 Apr 2015 01:59:53 +0000 (01:59 +0000)]
Merge "Fix LD_PRELOAD for dlopen()"

9 years agoMerge "Add float support to binary event log."
Jeff Brown [Wed, 29 Apr 2015 01:42:45 +0000 (01:42 +0000)]
Merge "Add float support to binary event log."

9 years agoAdd 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

9 years agoFix LD_PRELOAD for dlopen()
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

9 years agolinker: initialize system properties
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

9 years agoMerge "bionic: add __system_property_area_serial()"
Mark Salyzyn [Tue, 28 Apr 2015 22:11:52 +0000 (22:11 +0000)]
Merge "bionic: add __system_property_area_serial()"

9 years agoMerge "Do not pack relocations for libc.so"
Dmitriy Ivanov [Tue, 28 Apr 2015 22:06:42 +0000 (22:06 +0000)]
Merge "Do not pack relocations for libc.so"

9 years agoDo 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

9 years agoMerge "linker: use libc's environ variable to store envp"
Dmitriy Ivanov [Tue, 28 Apr 2015 21:35:58 +0000 (21:35 +0000)]
Merge "linker: use libc's environ variable to store envp"

9 years agolinker: 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

9 years agoMerge "cortex-a9: Fix reference to __memcpy_base_aligned."
Christopher Ferris [Tue, 28 Apr 2015 20:28:41 +0000 (20:28 +0000)]
Merge "cortex-a9: Fix reference to __memcpy_base_aligned."

9 years agocortex-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

9 years agoUpdate to tzdata 2015d
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

9 years agoMerge "Reduce p_align for program header to page size."
Dmitriy Ivanov [Tue, 28 Apr 2015 03:38:26 +0000 (03:38 +0000)]
Merge "Reduce p_align for program header to page size."

9 years agoReduce 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

9 years agoMerge "Remove outdated warning"
Dmitriy Ivanov [Mon, 27 Apr 2015 18:28:30 +0000 (18:28 +0000)]
Merge "Remove outdated warning"

9 years agoRemove 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

9 years agoMerge "Fix opcode to compile with both gcc and llvm."
Chih-Hung Hsieh [Mon, 27 Apr 2015 17:17:44 +0000 (17:17 +0000)]
Merge "Fix opcode to compile with both gcc and llvm."

9 years agobionic: add __system_property_area_serial()
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

9 years agoMerge "Update to tzdata 2015c"
Neil Fuller [Mon, 27 Apr 2015 08:19:13 +0000 (08:19 +0000)]
Merge "Update to tzdata 2015c"

9 years agoMerge "add a fortified implementation of realpath"
Nick Kralevich [Sun, 26 Apr 2015 02:23:03 +0000 (02:23 +0000)]
Merge "add a fortified implementation of realpath"

9 years agoMerge "add fortified memchr/memrchr implementations"
Nick Kralevich [Sat, 25 Apr 2015 21:29:56 +0000 (21:29 +0000)]
Merge "add fortified memchr/memrchr implementations"

9 years agoMerge "Include pthread_atfork.h to mips64 crtbegin"
Dmitriy Ivanov [Sat, 25 Apr 2015 19:20:00 +0000 (19:20 +0000)]
Merge "Include pthread_atfork.h to mips64 crtbegin"

9 years agoInclude 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

9 years agoMerge "Fix POSIX timer thread naming."
Elliott Hughes [Sat, 25 Apr 2015 18:01:18 +0000 (18:01 +0000)]
Merge "Fix POSIX timer thread naming."

9 years agoFix 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

9 years agoMerge "Unregister pthread_atfork handlers on dlclose()"
Dmitriy Ivanov [Sat, 25 Apr 2015 05:36:06 +0000 (05:36 +0000)]
Merge "Unregister pthread_atfork handlers on dlclose()"

9 years agoMerge "Use bfd linker for x86/x86_64 targets"
Dmitriy Ivanov [Sat, 25 Apr 2015 04:09:42 +0000 (04:09 +0000)]
Merge "Use bfd linker for x86/x86_64 targets"

9 years agoUse 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

9 years agoUnregister pthread_atfork handlers on dlclose()
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

9 years agoMerge "Enable dlsym_df_1_global test for arm/arm64"
Dmitriy Ivanov [Sat, 25 Apr 2015 00:50:04 +0000 (00:50 +0000)]
Merge "Enable dlsym_df_1_global test for arm/arm64"

9 years agoEnable 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

9 years agoMerge "Exit normally when relocations are already packed."
Dmitriy Ivanov [Fri, 24 Apr 2015 19:42:39 +0000 (19:42 +0000)]
Merge "Exit normally when relocations are already packed."

9 years agoExit 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

9 years agoDefine char16_t and char32_t to make gcc 5.1 happy
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>
9 years agoUpdate to tzdata 2015c
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

9 years agoMerge "Revert "Unregister pthread_atfork handlers on dlclose()""
Dimitry Ivanov [Fri, 24 Apr 2015 03:49:30 +0000 (03:49 +0000)]
Merge "Revert "Unregister pthread_atfork handlers on dlclose()""

9 years agoRevert "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

9 years agoMerge "Exit normally when packing relocs saves no space."
Dmitriy Ivanov [Thu, 23 Apr 2015 22:55:32 +0000 (22:55 +0000)]
Merge "Exit normally when packing relocs saves no space."

9 years agoExit 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

9 years agoMerge "Remove jemalloc.a from libc_nomalloc.a"
Dmitriy Ivanov [Thu, 23 Apr 2015 21:50:14 +0000 (21:50 +0000)]
Merge "Remove jemalloc.a from libc_nomalloc.a"

9 years agoFix opcode to compile with both gcc and llvm.
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

9 years agoMerge "Simplify close(2) EINTR handling."
Elliott Hughes [Thu, 23 Apr 2015 21:14:24 +0000 (21:14 +0000)]
Merge "Simplify close(2) EINTR handling."