OSDN Git Service

android-x86/bionic.git
10 years agoam 90b01576: Merge "Fixed int fast types for LP64"
Calin Juravle [Sat, 8 Mar 2014 01:51:50 +0000 (01:51 +0000)]
am 90b01576: Merge "Fixed int fast types for LP64"

* commit '90b0157679a984f1829a72f8c642d17030aa7644':
  Fixed int fast types for LP64

10 years agoam e65055af: Merge "Stop asking GCC to cause trouble."
Elliott Hughes [Fri, 7 Mar 2014 23:19:18 +0000 (23:19 +0000)]
am e65055af: Merge "Stop asking GCC to cause trouble."

* commit 'e65055af112780623f372aca6a1f78d2b2acb34f':
  Stop asking GCC to cause trouble.

10 years agoam 26172fa4: Merge "Move the upstream-netbsd libc files into the correct directory."
Elliott Hughes [Fri, 7 Mar 2014 23:00:04 +0000 (23:00 +0000)]
am 26172fa4: Merge "Move the upstream-netbsd libc files into the correct directory."

* commit '26172fa401a4323c8c9b4063a59ab6d08ca617bf':
  Move the upstream-netbsd libc files into the correct directory.

10 years agoam 8d0fe1c4: Merge "Remove two DNS files that weren\'t being built."
Elliott Hughes [Fri, 7 Mar 2014 23:00:02 +0000 (23:00 +0000)]
am 8d0fe1c4: Merge "Remove two DNS files that weren\'t being built."

* commit '8d0fe1c49e83592372becc996accfe9d5948aa9b':
  Remove two DNS files that weren't being built.

10 years agoam cb43f847: Merge "Unify our assembler macros."
Elliott Hughes [Fri, 7 Mar 2014 23:00:02 +0000 (23:00 +0000)]
am cb43f847: Merge "Unify our assembler macros."

* commit 'cb43f8474dafd7a4d3eb605d4a7c7f69ad7cef2e':
  Unify our assembler macros.

10 years agoam 22c6b7ff: Merge "Fix mips64 crt build."
Elliott Hughes [Fri, 7 Mar 2014 22:59:46 +0000 (22:59 +0000)]
am 22c6b7ff: Merge "Fix mips64 crt build."

* commit '22c6b7ffd36fe8b34b677eea94d00aef2624e4e8':
  Fix mips64 crt build.

10 years agoam 6a686556: Merge "Remove useless _C_LABEL from our assembler source."
Elliott Hughes [Fri, 7 Mar 2014 22:59:46 +0000 (22:59 +0000)]
am 6a686556: Merge "Remove useless _C_LABEL from our assembler source."

* commit '6a686556b9f112fdf02ce404d680306ab1d901be':
  Remove useless _C_LABEL from our assembler source.

10 years agoam bfa2b6fc: Merge "Stop advertising an arm32-specific hack like it\'s a build system...
Elliott Hughes [Fri, 7 Mar 2014 22:59:45 +0000 (22:59 +0000)]
am bfa2b6fc: Merge "Stop advertising an arm32-specific hack like it\'s a build system feature."

* commit 'bfa2b6fc6a09df9815773890db94d6a126565289':
  Stop advertising an arm32-specific hack like it's a build system feature.

10 years agoam 54d49ac7: Merge "Added script generating additions to libgcc_compat.c from linker...
Dmitriy Ivanov [Fri, 7 Mar 2014 22:59:45 +0000 (22:59 +0000)]
am 54d49ac7: Merge "Added script generating additions to libgcc_compat.c from linker errors"

* commit '54d49ac75b4b71f38eb154ab8e05f60b7c347a2b':
  Added script generating additions to libgcc_compat.c from linker errors

10 years agoam ca566b31: Merge "Don\'t explicitly list the tzcode files."
Elliott Hughes [Fri, 7 Mar 2014 22:59:42 +0000 (22:59 +0000)]
am ca566b31: Merge "Don\'t explicitly list the tzcode files."

* commit 'ca566b31036704eb6cdde05a0bd9ee972d7a995d':
  Don't explicitly list the tzcode files.

10 years agoam d9459525: Merge "Fix signbit / infinite / isinf / isnan unit tests."
Narayan Kamath [Fri, 7 Mar 2014 19:41:17 +0000 (19:41 +0000)]
am d9459525: Merge "Fix signbit / infinite / isinf / isnan unit tests."

* commit 'd9459525b4133e825bf95d03b06e695433c124bd':
  Fix signbit / infinite / isinf / isnan unit tests.

10 years agoam 75f04d10: Merge "Remove the useless _C_LABEL from generated system calls."
Elliott Hughes [Fri, 7 Mar 2014 19:41:10 +0000 (19:41 +0000)]
am 75f04d10: Merge "Remove the useless _C_LABEL from generated system calls."

* commit '75f04d107695f17bc800024d03e03b602dc02ee1':
  Remove the useless _C_LABEL from generated system calls.

10 years agoam fbaddda9: Merge "Linker writes to wrong memory location when processing DT_MIPS_RL...
Elliott Hughes [Fri, 7 Mar 2014 19:41:03 +0000 (19:41 +0000)]
am fbaddda9: Merge "Linker writes to wrong memory location when processing DT_MIPS_RLD_MAP"

* commit 'fbaddda9f04fa504deb752bba819eb1fa5439baa':
  Linker writes to wrong memory location when processing DT_MIPS_RLD_MAP

10 years agoam b69c0b53: Merge "Make mips/mips64 syscall stubs more like the other architectures."
Elliott Hughes [Fri, 7 Mar 2014 19:41:02 +0000 (19:41 +0000)]
am b69c0b53: Merge "Make mips/mips64 syscall stubs more like the other architectures."

* commit 'b69c0b532e4f6d32e7c43a7be02a27e0b02e75c3':
  Make mips/mips64 syscall stubs more like the other architectures.

10 years agoam 6db95a86: Merge "Top-level documentation about working on bionic."
Elliott Hughes [Fri, 7 Mar 2014 19:40:59 +0000 (19:40 +0000)]
am 6db95a86: Merge "Top-level documentation about working on bionic."

* commit '6db95a869e5c57713632106878d854c7c0aff7a1':
  Top-level documentation about working on bionic.

10 years agoam e6c451f5: Merge "Make mips generated assembler more like the mips64 stuff."
Elliott Hughes [Fri, 7 Mar 2014 19:40:51 +0000 (19:40 +0000)]
am e6c451f5: Merge "Make mips generated assembler more like the mips64 stuff."

* commit 'e6c451f5f2e17fccccedaa1c2a90d8d9ba0c1917':
  Make mips generated assembler more like the mips64 stuff.

10 years agoam 44ef37c1: Merge "Use uid_t and gid_t for st_uid and st_gid in struct stat."
Elliott Hughes [Fri, 7 Mar 2014 19:40:11 +0000 (19:40 +0000)]
am 44ef37c1: Merge "Use uid_t and gid_t for st_uid and st_gid in struct stat."

* commit '44ef37c1b445e864068cdcd885ab3d7b17079ad3':
  Use uid_t and gid_t for st_uid and st_gid in struct stat.

10 years agoam 24ef4779: Merge "Fix build by avoiding the _C_LABEL macro."
Elliott Hughes [Fri, 7 Mar 2014 19:40:10 +0000 (19:40 +0000)]
am 24ef4779: Merge "Fix build by avoiding the _C_LABEL macro."

* commit '24ef4779eb47f23b8d4f4e678d677bd45a91373f':
  Fix build by avoiding the _C_LABEL macro.

10 years agoam 787c1f93: Merge "Add missing file from previous change."
Elliott Hughes [Fri, 7 Mar 2014 19:40:08 +0000 (19:40 +0000)]
am 787c1f93: Merge "Add missing file from previous change."

* commit '787c1f937a915feefb767d0c6a15ddb70e6de933':
  Add missing file from previous change.

10 years agoam b3602078: Merge "Implement some of the missing LFS64 support."
Elliott Hughes [Fri, 7 Mar 2014 19:40:05 +0000 (19:40 +0000)]
am b3602078: Merge "Implement some of the missing LFS64 support."

* commit 'b36020789ac860fcfbbeaf56d560926d8ee228f6':
  Implement some of the missing LFS64 support.

10 years agoam 3623d806: Merge "Fix x86 build."
Elliott Hughes [Fri, 7 Mar 2014 19:39:57 +0000 (19:39 +0000)]
am 3623d806: Merge "Fix x86 build."

* commit '3623d80675e5321b92c2d88a7b7ec6bd998d81d5':
  Fix x86 build.

10 years agoam ffe02668: Merge "bionic: fix __set_errno for arm64 syscalls that return a 64-bit...
Elliott Hughes [Fri, 7 Mar 2014 19:39:55 +0000 (19:39 +0000)]
am ffe02668: Merge "bionic: fix __set_errno for arm64 syscalls that return a 64-bit value"

* commit 'ffe026680edaba268330bc67dd986d2c900ecfc7':
  bionic: fix __set_errno for arm64 syscalls that return a 64-bit value

10 years agoam 7f15e28d: Merge "Clean up warnings in libstdc++."
Elliott Hughes [Fri, 7 Mar 2014 19:39:54 +0000 (19:39 +0000)]
am 7f15e28d: Merge "Clean up warnings in libstdc++."

* commit '7f15e28dd4184015a2c990b6e45c33c35b251935':
  Clean up warnings in libstdc++.

10 years agoam cd6748cd: Merge "Clean up various warnings in bionic."
Elliott Hughes [Fri, 7 Mar 2014 19:39:53 +0000 (19:39 +0000)]
am cd6748cd: Merge "Clean up various warnings in bionic."

* commit 'cd6748cdd7bcab702fe0bf6de943eb832f4fb762':
  Clean up various warnings in bionic.

10 years agoam d4bc9ef8: Merge "Remove duplicate definitions of MIN and MAX."
Elliott Hughes [Fri, 7 Mar 2014 19:39:37 +0000 (19:39 +0000)]
am d4bc9ef8: Merge "Remove duplicate definitions of MIN and MAX."

* commit 'd4bc9ef83b36916d5e63c4c3e4a092381473ea52':
  Remove duplicate definitions of MIN and MAX.

10 years agoam 95b808c4: Merge "build linker and linker64 on 64-bit architectures"
Colin Cross [Fri, 7 Mar 2014 19:33:36 +0000 (19:33 +0000)]
am 95b808c4: Merge "build linker and linker64 on 64-bit architectures"

* commit '95b808c4ae11ea5737fee63f7b61673483ea5e2d':
  build linker and linker64 on 64-bit architectures

10 years agoam fadc8a77: Merge "Restore sys_signame for LP64."
Elliott Hughes [Fri, 7 Mar 2014 02:30:04 +0000 (02:30 +0000)]
am fadc8a77: Merge "Restore sys_signame for LP64."

* commit 'fadc8a7777ca304c8a7de066a94effd3a5471ee6':
  Restore sys_signame for LP64.

10 years agoam fc48e8cf: Merge "Remove unused variables not spotted by GCC."
Elliott Hughes [Fri, 7 Mar 2014 02:30:00 +0000 (02:30 +0000)]
am fc48e8cf: Merge "Remove unused variables not spotted by GCC."

* commit 'fc48e8cf28b80ce0f95e288eeee459b4cb932afa':
  Remove unused variables not spotted by GCC.

10 years agoam 7b3876e2: Merge "Clean up sys_signame and sys_siglist a little."
Elliott Hughes [Fri, 7 Mar 2014 02:29:59 +0000 (02:29 +0000)]
am 7b3876e2: Merge "Clean up sys_signame and sys_siglist a little."

* commit '7b3876e2516fd55d61a48cb23a7080ea88b9617b':
  Clean up sys_signame and sys_siglist a little.

10 years agoam 9e572ca4: Merge "Fix missing args."
Ying Wang [Fri, 7 Mar 2014 02:29:54 +0000 (02:29 +0000)]
am 9e572ca4: Merge "Fix missing args."

* commit '9e572ca4163e42bcd053df2cb8557e4b61ad064d':
  Fix missing args.

10 years agoam c4c50b25: Merge "Reconfig libc\'s Android.mk to build for multilib"
Ying Wang [Fri, 7 Mar 2014 02:29:50 +0000 (02:29 +0000)]
am c4c50b25: Merge "Reconfig libc\'s Android.mk to build for multilib"

* commit 'c4c50b25f805b48338f3e8fb9ac137e81c187706':
  Reconfig libc's Android.mk to build for multilib

10 years agoam 819c132e: Merge "Fix NSIG."
Elliott Hughes [Fri, 7 Mar 2014 02:29:17 +0000 (02:29 +0000)]
am 819c132e: Merge "Fix NSIG."

* commit '819c132ebc18a458f651e6dacd75a0950269656b':
  Fix NSIG.

10 years agoam 022885e2: Merge "Clean up all the lint cpplint can find in the dynamic linker."
Elliott Hughes [Fri, 7 Mar 2014 02:27:33 +0000 (02:27 +0000)]
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.

10 years agoam 577fce01: Merge "[MIPS64] Dynamic linker"
Elliott Hughes [Fri, 7 Mar 2014 02:27:21 +0000 (02:27 +0000)]
am 577fce01: Merge "[MIPS64] Dynamic linker"

* commit '577fce0108feda58296beacfbc0ada4a6d6afbc2':
  [MIPS64] Dynamic linker

10 years agoam c856baee: Merge "Build syscall stubs in their own library."
Elliott Hughes [Fri, 7 Mar 2014 02:27:16 +0000 (02:27 +0000)]
am c856baee: Merge "Build syscall stubs in their own library."

* commit 'c856baeeade96c167400f179a86d50c426e81788':
  Build syscall stubs in their own library.

10 years agoam a206dde5: Merge "Clean up cacheflush."
Elliott Hughes [Fri, 7 Mar 2014 02:26:59 +0000 (02:26 +0000)]
am a206dde5: Merge "Clean up cacheflush."

* commit 'a206dde5bdf9b4d995bf578cc3b54fb8b85e02c5':
  Clean up cacheflush.

10 years agoam 71e4466b: Merge "Switch <elf.h> over to linux uapi under the covers."
Elliott Hughes [Fri, 7 Mar 2014 02:26:30 +0000 (02:26 +0000)]
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.

10 years agoam eeb9a9f5: Merge "Fix <link.h>."
Elliott Hughes [Fri, 7 Mar 2014 02:26:19 +0000 (02:26 +0000)]
am eeb9a9f5: Merge "Fix <link.h>."

* commit 'eeb9a9f59a58a2f042e8f6fd1a4911ae92ac5493':
  Fix <link.h>.

10 years agoam e74fc3a6: Merge "Fix socklen_t (on LP64 only)."
Elliott Hughes [Fri, 7 Mar 2014 02:25:34 +0000 (02:25 +0000)]
am e74fc3a6: Merge "Fix socklen_t (on LP64 only)."

* commit 'e74fc3a64fe9296813e5bd867d0c66bd8213be6a':
  Fix socklen_t (on LP64 only).

10 years agoam c16a4532: Merge "Remove <sys/_types.h>."
Elliott Hughes [Fri, 7 Mar 2014 02:25:28 +0000 (02:25 +0000)]
am c16a4532: Merge "Remove <sys/_types.h>."

* commit 'c16a4532917259fabc8018d681cdd1ad1b1b5e08':
  Remove <sys/_types.h>.

10 years agoam 4affcbf8: Merge "Make sure that the same tests are on all platforms."
Christopher Ferris [Fri, 7 Mar 2014 02:25:05 +0000 (02:25 +0000)]
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.

10 years agoam 8a80a23c: Merge "[MIPS64] libc/libm support"
Elliott Hughes [Fri, 7 Mar 2014 02:24:34 +0000 (02:24 +0000)]
am 8a80a23c: Merge "[MIPS64] libc/libm support"

* commit '8a80a23c930a41b62cfa47bed362732ee5833bf0':
  [MIPS64] libc/libm support

10 years agoam 5036935c: Merge "[MIPS64] Add syscall related files"
Elliott Hughes [Fri, 7 Mar 2014 02:24:32 +0000 (02:24 +0000)]
am 5036935c: Merge "[MIPS64] Add syscall related files"

* commit '5036935c41d9193cfbba606df2121cd4c6973116':
  [MIPS64] Add syscall related files

10 years agoam e163a398: Merge "Remove unused cruft from MIPS <machine/signal.h>."
Elliott Hughes [Fri, 7 Mar 2014 02:23:32 +0000 (02:23 +0000)]
am e163a398: Merge "Remove unused cruft from MIPS <machine/signal.h>."

* commit 'e163a3986aa7d1c67fe3274eb9204812be0a6245':
  Remove unused cruft from MIPS <machine/signal.h>.

10 years agoam 375aaa3f: Merge "Kill <machine/_types.h>."
Elliott Hughes [Fri, 7 Mar 2014 02:23:31 +0000 (02:23 +0000)]
am 375aaa3f: Merge "Kill <machine/_types.h>."

* commit '375aaa3f608d6089102b256f162e423638a16c47':
  Kill <machine/_types.h>.

10 years agoam 12e8b76e: Merge "Use arch-specific LOCAL_ variables to build libm."
Ying Wang [Fri, 7 Mar 2014 01:35:24 +0000 (01:35 +0000)]
am 12e8b76e: Merge "Use arch-specific LOCAL_ variables to build libm."

* commit '12e8b76e5f799b2b8407bf354a9675577529d34b':
  Use arch-specific LOCAL_ variables to build libm.

10 years agoam 53cc62c3: Merge "Add fallocate/fallocate64/posix_fallocate/posix_fallocate64."
Elliott Hughes [Fri, 7 Mar 2014 01:35:22 +0000 (01:35 +0000)]
am 53cc62c3: Merge "Add fallocate/fallocate64/posix_fallocate/posix_fallocate64."

* commit '53cc62c31bfb6c329299549b69fdadd2705f6497':
  Add fallocate/fallocate64/posix_fallocate/posix_fallocate64.

10 years agoam a122c376: Merge "Use __inline__ for fortify."
Elliott Hughes [Fri, 7 Mar 2014 01:35:19 +0000 (01:35 +0000)]
am a122c376: Merge "Use __inline__ for fortify."

* commit 'a122c376ef0737454a592cf44f50beabe154e9e3':
  Use __inline__ for fortify.

10 years agoam fb4da1e7: Merge "Regenerate binder header"
Arve Hjønnevåg [Fri, 7 Mar 2014 01:34:26 +0000 (01:34 +0000)]
am fb4da1e7: Merge "Regenerate binder header"

* commit 'fb4da1e7b749b4cf6843515517e839efa1ee24c7':
  Regenerate binder header

10 years agoam ed29345c: Merge "Clean up debugger.cpp slightly."
Elliott Hughes [Fri, 7 Mar 2014 01:33:42 +0000 (01:33 +0000)]
am ed29345c: Merge "Clean up debugger.cpp slightly."

* commit 'ed29345c22acec61e4ef8953baefc64dc750c812':
  Clean up debugger.cpp slightly.

10 years agoam 4939d6d8: Merge "LP64 binaries should talk to debuggerd64."
Elliott Hughes [Fri, 7 Mar 2014 01:33:36 +0000 (01:33 +0000)]
am 4939d6d8: Merge "LP64 binaries should talk to debuggerd64."

* commit '4939d6d8424d47e19823e5dfcfc5474e8a7e77b8':
  LP64 binaries should talk to debuggerd64.

10 years agoam 47ff6b9f: Merge "Add missing ucontext_t definition to bionic for arch-arm64."
Elliott Hughes [Fri, 7 Mar 2014 01:33:09 +0000 (01:33 +0000)]
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.

10 years agoam a14df4a9: Merge "[MIPS] SA_RESTORER support is not needed for MIPS"
Elliott Hughes [Fri, 7 Mar 2014 00:37:42 +0000 (00:37 +0000)]
am a14df4a9: Merge "[MIPS] SA_RESTORER support is not needed for MIPS"

* commit 'a14df4a98ad1c4018f63fea358dd30c7e6b51858':
  [MIPS] SA_RESTORER support is not needed for MIPS

10 years agoam 07f84025: Merge "Make ARM <user.h> more glibc-compatible."
Elliott Hughes [Thu, 6 Mar 2014 22:58:24 +0000 (22:58 +0000)]
am 07f84025: Merge "Make ARM <user.h> more glibc-compatible."

* commit '07f84025520a9530760a2f2535a1effde5ec51dd':
  Make ARM <user.h> more glibc-compatible.

10 years agoam 53a55c12: Merge "Add mips <sys/ucontext.h>."
Elliott Hughes [Thu, 6 Mar 2014 20:23:37 +0000 (20:23 +0000)]
am 53a55c12: Merge "Add mips <sys/ucontext.h>."

* commit '53a55c121b458e4131e025f1bbe0e4e2b1b232f7':
  Add mips <sys/ucontext.h>.

10 years agoam 807bbb75: Merge "Add arm <sys/ucontext.h>."
Elliott Hughes [Thu, 6 Mar 2014 20:23:35 +0000 (20:23 +0000)]
am 807bbb75: Merge "Add arm <sys/ucontext.h>."

* commit '807bbb75f14543a72b3f745d35f2c97a92752cd0':
  Add arm <sys/ucontext.h>.

10 years agoam 8f355275: Merge "Add x86 <sys/ucontext.h>."
Elliott Hughes [Thu, 6 Mar 2014 20:23:31 +0000 (20:23 +0000)]
am 8f355275: Merge "Add x86 <sys/ucontext.h>."

* commit '8f355275920f8be82f56e30087a57b1d5ce49771':
  Add x86 <sys/ucontext.h>.

10 years agoam 972c39c4: Merge "Add x86_64 ucontext.h for better compatibility"
Elliott Hughes [Thu, 6 Mar 2014 20:23:29 +0000 (20:23 +0000)]
am 972c39c4: Merge "Add x86_64 ucontext.h for better compatibility"

* commit '972c39c4fee85c5c532eecac409a1384c76b2cc6':
  Add x86_64 ucontext.h for better compatibility

10 years agoam abf91850: Merge "Fix dns searchdomain use in gethostbyname." into klp-dev
Robert Greenwalt [Wed, 5 Mar 2014 18:35:18 +0000 (18:35 +0000)]
am abf91850: Merge "Fix dns searchdomain use in gethostbyname." into klp-dev

* commit 'abf91850f96858a286de268267ca5cf337ec9a3b':
  Fix dns searchdomain use in gethostbyname.

10 years agoMerge "Fix dns searchdomain use in gethostbyname." into klp-dev
Robert Greenwalt [Wed, 5 Mar 2014 18:26:26 +0000 (18:26 +0000)]
Merge "Fix dns searchdomain use in gethostbyname." into klp-dev

10 years agoam 806f3bd7: Upgrade to tzdata2013i.
Elliott Hughes [Tue, 4 Mar 2014 18:22:45 +0000 (18:22 +0000)]
am 806f3bd7: Upgrade to tzdata2013i.

* commit '806f3bd7aaec5b7444b1b218b69b3952386cb92f':
  Upgrade to tzdata2013i.

10 years agoUpgrade to tzdata2013i.
Elliott Hughes [Fri, 20 Dec 2013 19:26:19 +0000 (11:26 -0800)]
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

10 years agoMerge "Fixed int fast types for LP64"
Calin Juravle [Fri, 21 Feb 2014 17:09:13 +0000 (17:09 +0000)]
Merge "Fixed int fast types for LP64"

10 years agoFixed int fast types for LP64
Calin Juravle [Thu, 20 Feb 2014 13:40:36 +0000 (13:40 +0000)]
Fixed int fast types for LP64

Bug: 13110474
Change-Id: Id5591603ad4ba7e149c0852f4abb25e4e5a5d065

10 years agoMerge "Stop asking GCC to cause trouble."
Elliott Hughes [Thu, 20 Feb 2014 22:49:41 +0000 (22:49 +0000)]
Merge "Stop asking GCC to cause trouble."

10 years agoStop asking GCC to cause trouble.
Elliott Hughes [Thu, 20 Feb 2014 22:35:20 +0000 (14:35 -0800)]
Stop asking GCC to cause trouble.

Why do we see so many bogus strict-aliasing warnings? Because we asked GCC to
cause trouble on arm and mips.

Change-Id: I25d7fd036b6afff7ccfa799abe0dc1579ead2847

10 years agoMerge "Move the upstream-netbsd libc files into the correct directory."
Elliott Hughes [Thu, 20 Feb 2014 22:23:21 +0000 (22:23 +0000)]
Merge "Move the upstream-netbsd libc files into the correct directory."

10 years agoMove the upstream-netbsd libc files into the correct directory.
Elliott Hughes [Thu, 20 Feb 2014 22:15:09 +0000 (14:15 -0800)]
Move the upstream-netbsd libc files into the correct directory.

I screwed up when I originally imported these files; they're in lib/libc/
in the upstream tree; there is no top-level libc/ (though there is a top-level
common/, so those files stay where they are).

Change-Id: I7c5e2224a4441ab0e33616a855a8c6aacfeac46f

10 years agoMerge "Remove two DNS files that weren't being built."
Elliott Hughes [Thu, 20 Feb 2014 22:14:35 +0000 (22:14 +0000)]
Merge "Remove two DNS files that weren't being built."

10 years agoMerge "Unify our assembler macros."
Elliott Hughes [Thu, 20 Feb 2014 22:13:17 +0000 (22:13 +0000)]
Merge "Unify our assembler macros."

10 years agoRemove two DNS files that weren't being built.
Elliott Hughes [Thu, 20 Feb 2014 21:59:20 +0000 (13:59 -0800)]
Remove two DNS files that weren't being built.

And switch the makefile to just building everything in the relevant directory.

Change-Id: Ia7785c4dcabb51639c2230026f8a8a9eff919a36

10 years agoUnify our assembler macros.
Elliott Hughes [Thu, 20 Feb 2014 00:53:20 +0000 (16:53 -0800)]
Unify our assembler macros.

Our <machine/asm.h> files were modified from upstream, to the extent
that no architecture was actually using the upstream ENTRY or END macros,
assuming that architecture even had such a macro upstream. This patch moves
everyone to the same macros, with just a few tweaks remaining in the
<machine/asm.h> files, which no one should now use directly.

I've removed most of the unused cruft from the <machine/asm.h> files, though
there's still rather a lot in the mips/mips64 ones.

Bug: 12229603
Change-Id: I2fff287dc571ac1087abe9070362fb9420d85d6d

10 years agoMerge "Fix mips64 crt build."
Elliott Hughes [Thu, 20 Feb 2014 19:58:23 +0000 (19:58 +0000)]
Merge "Fix mips64 crt build."

10 years agoFix mips64 crt build.
Elliott Hughes [Thu, 20 Feb 2014 19:57:25 +0000 (11:57 -0800)]
Fix mips64 crt build.

This was broken during the multi-arch makefile changes.

Change-Id: Id25cf3273f63c11fbca1cff944fc5e1bf765c636

10 years agoMerge "Remove useless _C_LABEL from our assembler source."
Elliott Hughes [Thu, 20 Feb 2014 19:52:36 +0000 (19:52 +0000)]
Merge "Remove useless _C_LABEL from our assembler source."

10 years agoRemove useless _C_LABEL from our assembler source.
Elliott Hughes [Thu, 20 Feb 2014 19:51:11 +0000 (11:51 -0800)]
Remove useless _C_LABEL from our assembler source.

Change-Id: I41a9181537c70ecc69ef8035132c9a83811a40d0

10 years agoMerge "Stop advertising an arm32-specific hack like it's a build system feature."
Elliott Hughes [Thu, 20 Feb 2014 19:41:15 +0000 (19:41 +0000)]
Merge "Stop advertising an arm32-specific hack like it's a build system feature."

10 years agoMerge "Added script generating additions to libgcc_compat.c from linker errors"
Dmitriy Ivanov [Thu, 20 Feb 2014 19:40:08 +0000 (19:40 +0000)]
Merge "Added script generating additions to libgcc_compat.c from linker errors"

10 years agoStop advertising an arm32-specific hack like it's a build system feature.
Elliott Hughes [Thu, 20 Feb 2014 19:36:55 +0000 (11:36 -0800)]
Stop advertising an arm32-specific hack like it's a build system feature.

Change-Id: I3a830b4a3516b6eb8e4f8e6e6b122a22a2e341df

10 years agoAdded script generating additions to libgcc_compat.c from linker errors
Dmitriy Ivanov [Thu, 20 Feb 2014 01:23:24 +0000 (17:23 -0800)]
Added script generating additions to libgcc_compat.c from linker errors

bug: 12234455
Change-Id: Icac35237f06e75745da5a91d9c4c941d7df4f84d

10 years agoMerge "Don't explicitly list the tzcode files."
Elliott Hughes [Thu, 20 Feb 2014 19:31:13 +0000 (19:31 +0000)]
Merge "Don't explicitly list the tzcode files."

10 years agoDon't explicitly list the tzcode files.
Elliott Hughes [Thu, 20 Feb 2014 19:28:20 +0000 (11:28 -0800)]
Don't explicitly list the tzcode files.

Change-Id: I3ac19899523ac1f5fd2fdd6c942aefce75a964a4

10 years agoMerge "Fix signbit / infinite / isinf / isnan unit tests."
Narayan Kamath [Thu, 20 Feb 2014 10:03:55 +0000 (10:03 +0000)]
Merge "Fix signbit / infinite / isinf / isnan unit tests."

10 years agoMerge "Remove the useless _C_LABEL from generated system calls."
Elliott Hughes [Thu, 20 Feb 2014 03:00:16 +0000 (03:00 +0000)]
Merge "Remove the useless _C_LABEL from generated system calls."

10 years agoRemove the useless _C_LABEL from generated system calls.
Elliott Hughes [Thu, 20 Feb 2014 02:59:19 +0000 (18:59 -0800)]
Remove the useless _C_LABEL from generated system calls.

Change-Id: Id1d2fd39972652831ea825f6f9cf940b08f42b5c

10 years agoMerge "Linker writes to wrong memory location when processing DT_MIPS_RLD_MAP"
Elliott Hughes [Wed, 19 Feb 2014 23:40:46 +0000 (23:40 +0000)]
Merge "Linker writes to wrong memory location when processing DT_MIPS_RLD_MAP"

10 years agoMerge "Make mips/mips64 syscall stubs more like the other architectures."
Elliott Hughes [Wed, 19 Feb 2014 23:35:31 +0000 (23:35 +0000)]
Merge "Make mips/mips64 syscall stubs more like the other architectures."

10 years agoMerge "Top-level documentation about working on bionic."
Elliott Hughes [Wed, 19 Feb 2014 22:58:04 +0000 (22:58 +0000)]
Merge "Top-level documentation about working on bionic."

10 years agoMake mips/mips64 syscall stubs more like the other architectures.
Elliott Hughes [Wed, 19 Feb 2014 22:54:31 +0000 (14:54 -0800)]
Make mips/mips64 syscall stubs more like the other architectures.

Change-Id: I55f8c1a95f643a6e484f12fbcc25e2c77e55b6b8

10 years agoMerge "Make mips generated assembler more like the mips64 stuff."
Elliott Hughes [Wed, 19 Feb 2014 20:28:33 +0000 (20:28 +0000)]
Merge "Make mips generated assembler more like the mips64 stuff."

10 years agoMake mips generated assembler more like the mips64 stuff.
Elliott Hughes [Wed, 19 Feb 2014 20:20:00 +0000 (12:20 -0800)]
Make mips generated assembler more like the mips64 stuff.

I broke the mips build yesterday because it doesn't use
<private/bionic_asm.h> like the other architectures, including mips64.
I want to move mips closer to mips64 to try to avoid this kind of thing
in future.

Change-Id: Idb985587ff355b9e5e765c1f5671dc0144cd2488

10 years agoFix signbit / infinite / isinf / isnan unit tests.
Narayan Kamath [Wed, 19 Feb 2014 15:42:58 +0000 (15:42 +0000)]
Fix signbit / infinite / isinf / isnan unit tests.

Turns out stlport isn't broken. <cmath> (included
transitively via gtest in our case) is not required
to make C99 math macros (like signbit) available, nor is
it required to preserve them if they're already defined.
It is only required to make the equivalent functions in
namespace std available.

I couldn't find any documentation of required behaviour for
programs that include both <math.h> and <cmath>.

I've verified experimentally that llvm's libc++ and gnu
stl behave the same as stlport.

bug: 12935307

Change-Id: I9dc5cc0fd9f4f259abc8eefb280177cdd092a94b

10 years agoTop-level documentation about working on bionic.
Elliott Hughes [Wed, 19 Feb 2014 06:08:56 +0000 (22:08 -0800)]
Top-level documentation about working on bionic.

Change-Id: If0a531865fa9c0d57486b98d4b78e3efcbf4e1d1

10 years agoMerge "Use uid_t and gid_t for st_uid and st_gid in struct stat."
Elliott Hughes [Wed, 19 Feb 2014 00:51:31 +0000 (00:51 +0000)]
Merge "Use uid_t and gid_t for st_uid and st_gid in struct stat."

10 years agoMerge "Fix build by avoiding the _C_LABEL macro."
Elliott Hughes [Wed, 19 Feb 2014 00:46:32 +0000 (00:46 +0000)]
Merge "Fix build by avoiding the _C_LABEL macro."

10 years agoUse uid_t and gid_t for st_uid and st_gid in struct stat.
Elliott Hughes [Wed, 19 Feb 2014 00:43:31 +0000 (16:43 -0800)]
Use uid_t and gid_t for st_uid and st_gid in struct stat.

Change-Id: Ide62dc714d76d881e3aa79e7a59ee6533a23dd00

10 years agoFix build by avoiding the _C_LABEL macro.
Elliott Hughes [Wed, 19 Feb 2014 00:42:36 +0000 (16:42 -0800)]
Fix build by avoiding the _C_LABEL macro.

Change-Id: Ide367c2b65071388bd95fbc81a4ed6ae94aec4e4

10 years agoLinker writes to wrong memory location when processing DT_MIPS_RLD_MAP
Benjamin Adolphi [Tue, 18 Feb 2014 23:50:32 +0000 (00:50 +0100)]
Linker writes to wrong memory location when processing DT_MIPS_RLD_MAP

When bionic's dynamic linker processes the .dynamic section of a MIPS ELF binary and encounters the DT_MIPS_RLD_MAP dynamic array tag, it calculates the address of where to write a pointer to the _r_debug structure. The current implementation simply reads the value given in the d_ptr field and writes the pointer address to that location. However, this value has to be adjusted to reflect the real load address of the binary. Otherwise the linker will write to a faulty location possibly resulting in a crash when linking a MIPS binary that includes DT_MIPS_RLD_MAP. This change corrects that problem.

Change-Id: I1a91874f7ab47289001fe72d9016660c14c70362
Signed-off-by: Benjamin Adolphi <b.adolphi@gmail.com>
10 years agoMerge "Add missing file from previous change."
Elliott Hughes [Tue, 18 Feb 2014 23:49:16 +0000 (23:49 +0000)]
Merge "Add missing file from previous change."

10 years agoAdd missing file from previous change.
Elliott Hughes [Tue, 18 Feb 2014 23:48:56 +0000 (15:48 -0800)]
Add missing file from previous change.

Change-Id: Id25000162a9ed76ce756842bdc09fe9afff9528f