Commit Graph

6627 Commits

Author SHA1 Message Date
Ying Wang
116e2312c3 am c4c50b25: Merge "Reconfig libc\'s Android.mk to build for multilib"
* commit 'c4c50b25f805b48338f3e8fb9ac137e81c187706':
  Reconfig libc's Android.mk to build for multilib
2014-03-07 02:29:50 +00:00
Elliott Hughes
72dc7cd5fb am 819c132e: Merge "Fix NSIG."
* commit '819c132ebc18a458f651e6dacd75a0950269656b':
  Fix NSIG.
2014-03-07 02:29:17 +00:00
Elliott Hughes
ddfcbfb9ac am 022885e2: Merge "Clean up all the lint cpplint can find in the dynamic linker."
* commit '022885e2fad5ef9643e05d80c6f50a2a90bf3431':
  Clean up all the lint cpplint can find in the dynamic linker.
2014-03-07 02:27:33 +00:00
Elliott Hughes
8f0d531289 am 577fce01: Merge "[MIPS64] Dynamic linker"
* commit '577fce0108feda58296beacfbc0ada4a6d6afbc2':
  [MIPS64] Dynamic linker
2014-03-07 02:27:21 +00:00
Elliott Hughes
152058fe12 am c856baee: Merge "Build syscall stubs in their own library."
* commit 'c856baeeade96c167400f179a86d50c426e81788':
  Build syscall stubs in their own library.
2014-03-07 02:27:16 +00:00
Elliott Hughes
49c1ff9df3 am a206dde5: Merge "Clean up cacheflush."
* commit 'a206dde5bdf9b4d995bf578cc3b54fb8b85e02c5':
  Clean up cacheflush.
2014-03-07 02:26:59 +00:00
Elliott Hughes
72ef407406 am 71e4466b: Merge "Switch <elf.h> over to linux uapi under the covers."
* commit '71e4466b100359f36a29c8c0277888df6081a265':
  Switch <elf.h> over to linux uapi under the covers.
2014-03-07 02:26:30 +00:00
Elliott Hughes
cba61f7136 am eeb9a9f5: Merge "Fix <link.h>."
* commit 'eeb9a9f59a58a2f042e8f6fd1a4911ae92ac5493':
  Fix <link.h>.
2014-03-07 02:26:19 +00:00
Elliott Hughes
126e7fa706 am e74fc3a6: Merge "Fix socklen_t (on LP64 only)."
* commit 'e74fc3a64fe9296813e5bd867d0c66bd8213be6a':
  Fix socklen_t (on LP64 only).
2014-03-07 02:25:34 +00:00
Elliott Hughes
856e341fdd am c16a4532: Merge "Remove <sys/_types.h>."
* commit 'c16a4532917259fabc8018d681cdd1ad1b1b5e08':
  Remove <sys/_types.h>.
2014-03-07 02:25:28 +00:00
Christopher Ferris
e314bf20b6 am 4affcbf8: Merge "Make sure that the same tests are on all platforms."
* commit '4affcbf87769c43c4d03ecd60f902b0b6a6cb84a':
  Make sure that the same tests are on all platforms.
2014-03-07 02:25:05 +00:00
Elliott Hughes
a5200ae6f4 am 8a80a23c: Merge "[MIPS64] libc/libm support"
* commit '8a80a23c930a41b62cfa47bed362732ee5833bf0':
  [MIPS64] libc/libm support
2014-03-07 02:24:34 +00:00
Elliott Hughes
82b7800326 am 5036935c: Merge "[MIPS64] Add syscall related files"
* commit '5036935c41d9193cfbba606df2121cd4c6973116':
  [MIPS64] Add syscall related files
2014-03-07 02:24:32 +00:00
Elliott Hughes
0cafd712f0 am e163a398: Merge "Remove unused cruft from MIPS <machine/signal.h>."
* commit 'e163a3986aa7d1c67fe3274eb9204812be0a6245':
  Remove unused cruft from MIPS <machine/signal.h>.
2014-03-07 02:23:32 +00:00
Elliott Hughes
ad7ed5f776 am 375aaa3f: Merge "Kill <machine/_types.h>."
* commit '375aaa3f608d6089102b256f162e423638a16c47':
  Kill <machine/_types.h>.
2014-03-07 02:23:31 +00:00
Ying Wang
a3187f688e am 12e8b76e: Merge "Use arch-specific LOCAL_ variables to build libm."
* commit '12e8b76e5f799b2b8407bf354a9675577529d34b':
  Use arch-specific LOCAL_ variables to build libm.
2014-03-07 01:35:24 +00:00
Elliott Hughes
25a3ee43d9 am 53cc62c3: Merge "Add fallocate/fallocate64/posix_fallocate/posix_fallocate64."
* commit '53cc62c31bfb6c329299549b69fdadd2705f6497':
  Add fallocate/fallocate64/posix_fallocate/posix_fallocate64.
2014-03-07 01:35:22 +00:00
Elliott Hughes
ae85553d68 am a122c376: Merge "Use __inline__ for fortify."
* commit 'a122c376ef0737454a592cf44f50beabe154e9e3':
  Use __inline__ for fortify.
2014-03-07 01:35:19 +00:00
Arve Hjønnevåg
69aa18d973 am fb4da1e7: Merge "Regenerate binder header"
* commit 'fb4da1e7b749b4cf6843515517e839efa1ee24c7':
  Regenerate binder header
2014-03-07 01:34:26 +00:00
Elliott Hughes
91b5f5a0cf am ed29345c: Merge "Clean up debugger.cpp slightly."
* commit 'ed29345c22acec61e4ef8953baefc64dc750c812':
  Clean up debugger.cpp slightly.
2014-03-07 01:33:42 +00:00
Elliott Hughes
6266617af6 am 4939d6d8: Merge "LP64 binaries should talk to debuggerd64."
* commit '4939d6d8424d47e19823e5dfcfc5474e8a7e77b8':
  LP64 binaries should talk to debuggerd64.
2014-03-07 01:33:36 +00:00
Elliott Hughes
96e5f809a7 am 47ff6b9f: Merge "Add missing ucontext_t definition to bionic for arch-arm64."
* commit '47ff6b9faae7f1bde5deb4760982e7e6785955f2':
  Add missing ucontext_t definition to bionic for arch-arm64.
2014-03-07 01:33:09 +00:00
Elliott Hughes
a18b9b9ab3 am a14df4a9: Merge "[MIPS] SA_RESTORER support is not needed for MIPS"
* commit 'a14df4a98ad1c4018f63fea358dd30c7e6b51858':
  [MIPS] SA_RESTORER support is not needed for MIPS
2014-03-07 00:37:42 +00:00
Elliott Hughes
b97cc02146 am 07f84025: Merge "Make ARM <user.h> more glibc-compatible."
* commit '07f84025520a9530760a2f2535a1effde5ec51dd':
  Make ARM <user.h> more glibc-compatible.
2014-03-06 22:58:24 +00:00
Elliott Hughes
1e38be24f9 am 53a55c12: Merge "Add mips <sys/ucontext.h>."
* commit '53a55c121b458e4131e025f1bbe0e4e2b1b232f7':
  Add mips <sys/ucontext.h>.
2014-03-06 20:23:37 +00:00
Elliott Hughes
f40e9facbb am 807bbb75: Merge "Add arm <sys/ucontext.h>."
* commit '807bbb75f14543a72b3f745d35f2c97a92752cd0':
  Add arm <sys/ucontext.h>.
2014-03-06 20:23:35 +00:00
Elliott Hughes
f20e85811d am 8f355275: Merge "Add x86 <sys/ucontext.h>."
* commit '8f355275920f8be82f56e30087a57b1d5ce49771':
  Add x86 <sys/ucontext.h>.
2014-03-06 20:23:31 +00:00
Elliott Hughes
4619eaaab0 am 972c39c4: Merge "Add x86_64 ucontext.h for better compatibility"
* commit '972c39c4fee85c5c532eecac409a1384c76b2cc6':
  Add x86_64 ucontext.h for better compatibility
2014-03-06 20:23:29 +00:00
Robert Greenwalt
c5443e6e51 am abf91850: Merge "Fix dns searchdomain use in gethostbyname." into klp-dev
* commit 'abf91850f96858a286de268267ca5cf337ec9a3b':
  Fix dns searchdomain use in gethostbyname.
2014-03-05 18:35:18 +00:00
Robert Greenwalt
abf91850f9 Merge "Fix dns searchdomain use in gethostbyname." into klp-dev 2014-03-05 18:26:27 +00:00
Elliott Hughes
f27cc051ec am 806f3bd7: Upgrade to tzdata2013i.
* commit '806f3bd7aaec5b7444b1b218b69b3952386cb92f':
  Upgrade to tzdata2013i.
2014-03-04 18:22:45 +00:00
Elliott Hughes
806f3bd7aa Upgrade to tzdata2013i.
From the release notes:

  Changes affecting near-future time stamps:

    Jordan switches back to standard time at 00:00 on December 20, 2013.
    The 2006-2011 transition schedule is planned to resume in 2014.
    (Thanks to Steffen Thorsen.)

  Changes affecting past time stamps:

    In 2004, Cuba began DST on March 28, not April 4.
    (Thanks to Steffen Thorsen.)

Bug: 13193205
Change-Id: I8f26cc50f6b571804a18ff2113b4a47a22bc56dd
2014-02-25 22:47:29 +00:00
Ying Wang
c4c50b25f8 Merge "Reconfig libc's Android.mk to build for multilib" 2014-02-12 23:53:08 +00:00
Ying Wang
f25d677147 Reconfig libc's Android.mk to build for multilib
1. Moved arch-specific setup to their own files:
    - <arch>/<arch>.mk, arch-specific configs. Variables in those config
      end with the arch name.
    - removed the extra complexity introduced by function libc-add-cpu-variant-src,
      which seems to be not very useful these days.
2. Separated out the crt object files generation rules and set up the
   rules for both TARGET_ARCH and TARGET_2ND_ARCH.
3. Build all the libraries for both TARGET_ARCH and TARGET_2ND_ARCH,
  with the arch-specific LOCAL_ variables.

Bug: 11654773
Change-Id: I9c2d85db0affa49199d182236d2210060a321421
2014-02-12 13:58:34 -08:00
Elliott Hughes
819c132ebc Merge "Fix NSIG." 2014-02-12 20:13:29 +00:00
Elliott Hughes
199346a2ab Fix NSIG.
Our sigset_t definition hasn't been tied to our NSIG definition since we
switched to uapi headers, so we can now fix it without breaking the LP32 ABI.
The kernel uapi headers define and use _NSIG, so we need to have our scripts
rename the kernel's definitions out of the way, then we can define _NSIG
and NSIG in terms of the kernel's off-by-one value.

Bug: 12938442
Change-Id: Ic7c86fd5be5ad1d822f7b2b1d88c8a0d70a1ac0f
2014-02-11 22:16:04 -08:00
Elliott Hughes
022885e2fa Merge "Clean up all the lint cpplint can find in the dynamic linker." 2014-02-12 01:35:04 +00:00
Elliott Hughes
faf05bacd4 Clean up all the lint cpplint can find in the dynamic linker.
Change-Id: Ic9ee7153817c22a252cc4b309283e355b623cab9
2014-02-11 17:33:49 -08:00
Elliott Hughes
577fce0108 Merge "[MIPS64] Dynamic linker" 2014-02-11 23:48:51 +00:00
Chris Dearman
9918665a45 [MIPS64] Dynamic linker
Change-Id: I937c7c776cae3d66e214798d5217a922cd106bfc
Signed-off-by: Chris Dearman <chris.dearman@imgtec.com>
Signed-off-by: Duane Sand <duane.sand@imgtec.com>
2014-02-11 15:33:14 -08:00
Elliott Hughes
c856baeead Merge "Build syscall stubs in their own library." 2014-02-11 22:01:45 +00:00
Elliott Hughes
b3a23bd017 Build syscall stubs in their own library.
This lets us lose the auto-generated makefiles.

Change-Id: I2de0c71b3b9c08f9cce8f4ff7fd7254dda008c86
2014-02-11 13:52:02 -08:00
Elliott Hughes
a206dde5bd Merge "Clean up cacheflush." 2014-02-11 18:28:03 +00:00
Elliott Hughes
a6ecba4d23 Clean up cacheflush.
No cacheflush for LP64; use the GCC builtin instead. Clean up the
32-bit MIPS implementation now we no longer need to worry about
old versions of GCC.

Bug: 12924756
Change-Id: Ie23955b3ec194e226c4b2bce35b11d5e061f4753
2014-02-11 10:24:40 -08:00
Elliott Hughes
71e4466b10 Merge "Switch <elf.h> over to linux uapi under the covers." 2014-02-11 02:22:45 +00:00
Elliott Hughes
0266ae5f88 Switch <elf.h> over to linux uapi under the covers.
Remove the linker's reliance on BSD cruft and use the glibc-style
ElfW macro. (Other code too, but the linker contains the majority
of the code that needs to work for Elf32 and Elf64.)

All platforms need dl_iterate_phdr_static, so it doesn't make sense
to have that part of the per-architecture configuration.

Bug: 12476126
Change-Id: I1d7f918f1303a392794a6cd8b3512ff56bd6e487
2014-02-10 18:22:24 -08:00
Elliott Hughes
eeb9a9f59a Merge "Fix <link.h>." 2014-02-11 00:03:03 +00:00
Elliott Hughes
3a9c5d66dc Fix <link.h>.
Also move some of the stuff that should be in <link.h> out of the
private "linker.h", to make it clearer that these are public API
known to gdb that we can't change.

Bug: 12554197
Change-Id: I830e1260d3d8b833ed99bc1518f1c6b6102be8af
2014-02-10 13:31:13 -08:00
Elliott Hughes
e74fc3a64f Merge "Fix socklen_t (on LP64 only)." 2014-02-08 01:05:35 +00:00
Elliott Hughes
ebd90b9ba9 Fix socklen_t (on LP64 only).
Too late to fix LP32 :-(

Bug: 12935461
Change-Id: Ib056ca1eaf9ae8712f88ae21ff94e91b08cf588b
2014-02-07 16:50:55 -08:00