OSDN Git Service

android-x86/bionic.git
10 years agoam e425856b: am c6d96bb8: Merge "Move system_properties over to C++."
Narayan Kamath [Mon, 24 Feb 2014 14:32:17 +0000 (14:32 +0000)]
am e425856b: am c6d96bb8: Merge "Move system_properties over to C++."

* commit 'e425856b1a943c32acf0bede50555d500eaf00ca':
  Move system_properties over to C++.

10 years agoam c6d96bb8: Merge "Move system_properties over to C++."
Narayan Kamath [Mon, 24 Feb 2014 14:25:31 +0000 (14:25 +0000)]
am c6d96bb8: Merge "Move system_properties over to C++."

* commit 'c6d96bb8673a4f44d84f3beaa5ed4fec1484f0ad':
  Move system_properties over to C++.

10 years agoMerge "Move system_properties over to C++."
Narayan Kamath [Mon, 24 Feb 2014 10:47:54 +0000 (10:47 +0000)]
Merge "Move system_properties over to C++."

10 years agoMove system_properties over to C++.
Narayan Kamath [Wed, 19 Feb 2014 17:59:05 +0000 (17:59 +0000)]
Move system_properties over to C++.

This change constitutes the minimum amount of
work required to move the code over to C++, address
compiler warnings, and to make it const correct and
idiomatic (within the constraints of being called
from C code).

bug: 13058886

Change-Id: Ic78cf91b7c8e8f07b4ab0781333a9e243763298c

10 years agoam 5c266bca: am 3572fbc8: Merge "Fix a typo in HACKING.txt."
Elliott Hughes [Sat, 22 Feb 2014 00:58:45 +0000 (00:58 +0000)]
am 5c266bca: am 3572fbc8: Merge "Fix a typo in HACKING.txt."

* commit '5c266bca8f8c0a6820de8eccde25118b8d2331eb':
  Fix a typo in HACKING.txt.

10 years agoam 7b9e7a70: am 9150dfb1: Merge "Clean up our OpenBSD usage."
Elliott Hughes [Sat, 22 Feb 2014 00:58:44 +0000 (00:58 +0000)]
am 7b9e7a70: am 9150dfb1: Merge "Clean up our OpenBSD usage."

* commit '7b9e7a709365c490d5ff73e6a74dfa32ffd8be25':
  Clean up our OpenBSD usage.

10 years agoam 3572fbc8: Merge "Fix a typo in HACKING.txt."
Elliott Hughes [Sat, 22 Feb 2014 00:41:34 +0000 (00:41 +0000)]
am 3572fbc8: Merge "Fix a typo in HACKING.txt."

* commit '3572fbc8cd01d90a7f0c65a15c79abf1ece144ef':
  Fix a typo in HACKING.txt.

10 years agoam 9150dfb1: Merge "Clean up our OpenBSD usage."
Elliott Hughes [Sat, 22 Feb 2014 00:41:32 +0000 (00:41 +0000)]
am 9150dfb1: Merge "Clean up our OpenBSD usage."

* commit '9150dfb1c6928ceef228e640412c3653d5e87a10':
  Clean up our OpenBSD usage.

10 years agoMerge "Fix a typo in HACKING.txt."
Elliott Hughes [Sat, 22 Feb 2014 00:10:10 +0000 (00:10 +0000)]
Merge "Fix a typo in HACKING.txt."

10 years agoFix a typo in HACKING.txt.
Elliott Hughes [Sat, 22 Feb 2014 00:09:27 +0000 (16:09 -0800)]
Fix a typo in HACKING.txt.

Change-Id: If1cc18776d873cb5966186b65b8831677df77aaf

10 years agoMerge "Clean up our OpenBSD usage."
Elliott Hughes [Fri, 21 Feb 2014 23:46:52 +0000 (23:46 +0000)]
Merge "Clean up our OpenBSD usage."

10 years agoClean up our OpenBSD usage.
Elliott Hughes [Fri, 21 Feb 2014 02:04:58 +0000 (18:04 -0800)]
Clean up our OpenBSD usage.

Also undo some of the mess where we have OpenBSD <stdio.h> but a mix of
different BSD's implementations.

In this first pass, I've only moved easy OpenBSD stuff.

Change-Id: Iae67b02cde6dba9d8d06fedeb53efbfdac0a8cf6

10 years agoam 587399d2: am 90b01576: Merge "Fixed int fast types for LP64"
Calin Juravle [Fri, 21 Feb 2014 17:32:17 +0000 (17:32 +0000)]
am 587399d2: am 90b01576: Merge "Fixed int fast types for LP64"

* commit '587399d23a3dced6202e4b4abfa52b5b9621f134':
  Fixed int fast types for LP64

10 years agoam 90b01576: Merge "Fixed int fast types for LP64"
Calin Juravle [Fri, 21 Feb 2014 17:25:25 +0000 (17:25 +0000)]
am 90b01576: Merge "Fixed int fast types for LP64"

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

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 agoam 31425c9f: am e65055af: Merge "Stop asking GCC to cause trouble."
Elliott Hughes [Fri, 21 Feb 2014 13:54:02 +0000 (13:54 +0000)]
am 31425c9f: am e65055af: Merge "Stop asking GCC to cause trouble."

* commit '31425c9fce2d48699322b6eb3284b06d1f706336':
  Stop asking GCC to cause trouble.

10 years agoam 1df76ccc: am 26172fa4: Merge "Move the upstream-netbsd libc files into the correct...
Elliott Hughes [Fri, 21 Feb 2014 04:19:46 +0000 (04:19 +0000)]
am 1df76ccc: am 26172fa4: Merge "Move the upstream-netbsd libc files into the correct directory."

* commit '1df76ccc6022ad57c6cc8f4322be14b9c104192e':
  Move the upstream-netbsd libc files into the correct directory.

10 years agoam 5052dcd4: am 8d0fe1c4: Merge "Remove two DNS files that weren\'t being built."
Elliott Hughes [Fri, 21 Feb 2014 04:19:29 +0000 (04:19 +0000)]
am 5052dcd4: am 8d0fe1c4: Merge "Remove two DNS files that weren\'t being built."

* commit '5052dcd48897641e40256c8665441bde68a230da':
  Remove two DNS files that weren't being built.

10 years agoam 45352a06: am cb43f847: Merge "Unify our assembler macros."
Elliott Hughes [Fri, 21 Feb 2014 04:19:21 +0000 (04:19 +0000)]
am 45352a06: am cb43f847: Merge "Unify our assembler macros."

* commit '45352a065cb66885a7d3e648664dbb2d16e7e529':
  Unify our assembler macros.

10 years agoam 97dcfc06: am 22c6b7ff: Merge "Fix mips64 crt build."
Elliott Hughes [Thu, 20 Feb 2014 23:15:32 +0000 (23:15 +0000)]
am 97dcfc06: am 22c6b7ff: Merge "Fix mips64 crt build."

* commit '97dcfc06e7502b53fc7f76ab6c88a6d030aceafa':
  Fix mips64 crt build.

10 years agoam 632e2422: am 6a686556: Merge "Remove useless _C_LABEL from our assembler source."
Elliott Hughes [Thu, 20 Feb 2014 23:15:31 +0000 (23:15 +0000)]
am 632e2422: am 6a686556: Merge "Remove useless _C_LABEL from our assembler source."

* commit '632e242207f337fb8d4e1ec80994a4eadb2ccfb8':
  Remove useless _C_LABEL from our assembler source.

10 years agoam f5fd87f4: am bfa2b6fc: Merge "Stop advertising an arm32-specific hack like it...
Elliott Hughes [Thu, 20 Feb 2014 23:15:30 +0000 (23:15 +0000)]
am f5fd87f4: am bfa2b6fc: Merge "Stop advertising an arm32-specific hack like it\'s a build system feature."

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

10 years agoam ac804934: am 54d49ac7: Merge "Added script generating additions to libgcc_compat...
Dmitriy Ivanov [Thu, 20 Feb 2014 23:15:29 +0000 (23:15 +0000)]
am ac804934: am 54d49ac7: Merge "Added script generating additions to libgcc_compat.c from linker errors"

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

10 years agoam 8a498e4a: am ca566b31: Merge "Don\'t explicitly list the tzcode files."
Elliott Hughes [Thu, 20 Feb 2014 23:15:26 +0000 (23:15 +0000)]
am 8a498e4a: am ca566b31: Merge "Don\'t explicitly list the tzcode files."

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

10 years agoam e65055af: Merge "Stop asking GCC to cause trouble."
Elliott Hughes [Thu, 20 Feb 2014 22:55:25 +0000 (22:55 +0000)]
am e65055af: Merge "Stop asking GCC to cause trouble."

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

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 agoam 26172fa4: Merge "Move the upstream-netbsd libc files into the correct directory."
Elliott Hughes [Thu, 20 Feb 2014 22:28:48 +0000 (22:28 +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 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 agoam 8d0fe1c4: Merge "Remove two DNS files that weren\'t being built."
Elliott Hughes [Thu, 20 Feb 2014 22:19:07 +0000 (22:19 +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 [Thu, 20 Feb 2014 22:19:07 +0000 (22:19 +0000)]
am cb43f847: Merge "Unify our assembler macros."

* commit 'cb43f8474dafd7a4d3eb605d4a7c7f69ad7cef2e':
  Unify our assembler macros.

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 agoam 8b6579d0: am d9459525: Merge "Fix signbit / infinite / isinf / isnan unit tests."
Narayan Kamath [Thu, 20 Feb 2014 21:28:05 +0000 (21:28 +0000)]
am 8b6579d0: am d9459525: Merge "Fix signbit / infinite / isinf / isnan unit tests."

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

10 years agoam f0e9d652: am 75f04d10: Merge "Remove the useless _C_LABEL from generated system...
Elliott Hughes [Thu, 20 Feb 2014 21:27:52 +0000 (21:27 +0000)]
am f0e9d652: am 75f04d10: Merge "Remove the useless _C_LABEL from generated system calls."

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

10 years agoam 22c6b7ff: Merge "Fix mips64 crt build."
Elliott Hughes [Thu, 20 Feb 2014 20:04:46 +0000 (20:04 +0000)]
am 22c6b7ff: Merge "Fix mips64 crt build."

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

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 agoam 6a686556: Merge "Remove useless _C_LABEL from our assembler source."
Elliott Hughes [Thu, 20 Feb 2014 19:58:15 +0000 (19:58 +0000)]
am 6a686556: Merge "Remove useless _C_LABEL from our assembler source."

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

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 agoam bfa2b6fc: Merge "Stop advertising an arm32-specific hack like it\'s a build system...
Elliott Hughes [Thu, 20 Feb 2014 19:46:24 +0000 (19:46 +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 [Thu, 20 Feb 2014 19:46:23 +0000 (19:46 +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 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 agoam ca566b31: Merge "Don\'t explicitly list the tzcode files."
Elliott Hughes [Thu, 20 Feb 2014 19:35:21 +0000 (19:35 +0000)]
am ca566b31: Merge "Don\'t explicitly list the tzcode files."

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

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 agoam 42049f4b: am fbaddda9: Merge "Linker writes to wrong memory location when processi...
Elliott Hughes [Thu, 20 Feb 2014 14:01:20 +0000 (14:01 +0000)]
am 42049f4b: am fbaddda9: Merge "Linker writes to wrong memory location when processing DT_MIPS_RLD_MAP"

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

10 years agoam bde420bb: am b69c0b53: Merge "Make mips/mips64 syscall stubs more like the other...
Elliott Hughes [Thu, 20 Feb 2014 14:01:19 +0000 (14:01 +0000)]
am bde420bb: am b69c0b53: Merge "Make mips/mips64 syscall stubs more like the other architectures."

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

10 years agoam d9459525: Merge "Fix signbit / infinite / isinf / isnan unit tests."
Narayan Kamath [Thu, 20 Feb 2014 10:08:22 +0000 (10:08 +0000)]
am d9459525: Merge "Fix signbit / infinite / isinf / isnan unit tests."

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

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 agoam 75f04d10: Merge "Remove the useless _C_LABEL from generated system calls."
Elliott Hughes [Thu, 20 Feb 2014 03:06:31 +0000 (03:06 +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 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 agoam 79183d7f: am 6db95a86: Merge "Top-level documentation about working on bionic."
Elliott Hughes [Thu, 20 Feb 2014 00:33:56 +0000 (00:33 +0000)]
am 79183d7f: am 6db95a86: Merge "Top-level documentation about working on bionic."

* commit '79183d7ff46d5f2f1d465890da57aa4c510bb131':
  Top-level documentation about working on bionic.

10 years agoam fbaddda9: Merge "Linker writes to wrong memory location when processing DT_MIPS_RL...
Elliott Hughes [Wed, 19 Feb 2014 23:45:49 +0000 (23:45 +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 [Wed, 19 Feb 2014 23:42:17 +0000 (23:42 +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 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 agoam 6db95a86: Merge "Top-level documentation about working on bionic."
Elliott Hughes [Wed, 19 Feb 2014 23:03:39 +0000 (23:03 +0000)]
am 6db95a86: Merge "Top-level documentation about working on bionic."

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

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 agoam ace8dfab: am e6c451f5: Merge "Make mips generated assembler more like the mips64...
Elliott Hughes [Wed, 19 Feb 2014 20:42:33 +0000 (20:42 +0000)]
am ace8dfab: am e6c451f5: Merge "Make mips generated assembler more like the mips64 stuff."

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

10 years agoam e6c451f5: Merge "Make mips generated assembler more like the mips64 stuff."
Elliott Hughes [Wed, 19 Feb 2014 20:34:25 +0000 (20:34 +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 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 agoam 112e3a9a: am 44ef37c1: Merge "Use uid_t and gid_t for st_uid and st_gid in struct...
Elliott Hughes [Wed, 19 Feb 2014 01:02:24 +0000 (01:02 +0000)]
am 112e3a9a: am 44ef37c1: Merge "Use uid_t and gid_t for st_uid and st_gid in struct stat."

* commit '112e3a9a8c4c89b1cce366bc0c7a7f15fae862c2':
  Use uid_t and gid_t for st_uid and st_gid in struct stat.

10 years agoam f7e642b9: am 24ef4779: Merge "Fix build by avoiding the _C_LABEL macro."
Elliott Hughes [Wed, 19 Feb 2014 00:58:59 +0000 (00:58 +0000)]
am f7e642b9: am 24ef4779: Merge "Fix build by avoiding the _C_LABEL macro."

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

10 years agoam 44ef37c1: Merge "Use uid_t and gid_t for st_uid and st_gid in struct stat."
Elliott Hughes [Wed, 19 Feb 2014 00:56:51 +0000 (00:56 +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 [Wed, 19 Feb 2014 00:52:24 +0000 (00:52 +0000)]
am 24ef4779: Merge "Fix build by avoiding the _C_LABEL macro."

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

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 agoam f25d0c1d: am 787c1f93: Merge "Add missing file from previous change."
Elliott Hughes [Wed, 19 Feb 2014 00:02:11 +0000 (00:02 +0000)]
am f25d0c1d: am 787c1f93: Merge "Add missing file from previous change."

* commit 'f25d0c1d4dc0f757dc7bf342b1964e875c439933':
  Add missing file from previous change.

10 years agoam 787c1f93: Merge "Add missing file from previous change."
Elliott Hughes [Tue, 18 Feb 2014 23:55:16 +0000 (23:55 +0000)]
am 787c1f93: Merge "Add missing file from previous change."

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

10 years agoam a676a54e: am b3602078: Merge "Implement some of the missing LFS64 support."
Elliott Hughes [Tue, 18 Feb 2014 23:54:43 +0000 (23:54 +0000)]
am a676a54e: am b3602078: Merge "Implement some of the missing LFS64 support."

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

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

10 years agoam b3602078: Merge "Implement some of the missing LFS64 support."
Elliott Hughes [Tue, 18 Feb 2014 23:47:56 +0000 (23:47 +0000)]
am b3602078: Merge "Implement some of the missing LFS64 support."

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

10 years agoMerge "Implement some of the missing LFS64 support."
Elliott Hughes [Tue, 18 Feb 2014 23:40:55 +0000 (23:40 +0000)]
Merge "Implement some of the missing LFS64 support."

10 years agoImplement some of the missing LFS64 support.
Elliott Hughes [Sat, 18 Jan 2014 02:42:49 +0000 (18:42 -0800)]
Implement some of the missing LFS64 support.

This gives us:

* <dirent.h>
  struct dirent64
  readdir64, readdir64_r, alphasort64, scandir64

* <fcntl.h>
  creat64, openat64, open64.

* <sys/stat.h>
  struct stat64
  fstat64, fstatat64, lstat64, stat64.

* <sys/statvfs.h>
  struct statvfs64
  statvfs64, fstatvfs64.

* <sys/vfs.h>
  struct statfs64
  statfs64, fstatfs64.

This also removes some of the incorrect #define hacks we've had in the
past (for stat64, for example, which we promised to clean up way back
in bug 8472078).

Bug: 11865851
Bug: 8472078
Change-Id: Ia46443521918519f2dfa64d4621027dfd13ac566

10 years agoam df3d56db: am 3623d806: Merge "Fix x86 build."
Elliott Hughes [Tue, 18 Feb 2014 20:47:29 +0000 (20:47 +0000)]
am df3d56db: am 3623d806: Merge "Fix x86 build."

* commit 'df3d56db663a19d0de8f743102d13e62343c874c':
  Fix x86 build.

10 years agoam d49247be: am ffe02668: Merge "bionic: fix __set_errno for arm64 syscalls that...
Elliott Hughes [Tue, 18 Feb 2014 20:42:57 +0000 (20:42 +0000)]
am d49247be: am ffe02668: Merge "bionic: fix __set_errno for arm64 syscalls that return a 64-bit value"

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

10 years agoam 3623d806: Merge "Fix x86 build."
Elliott Hughes [Tue, 18 Feb 2014 20:40:54 +0000 (20:40 +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 [Tue, 18 Feb 2014 20:36:25 +0000 (20:36 +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 agoMerge "Fix x86 build."
Elliott Hughes [Tue, 18 Feb 2014 20:35:15 +0000 (20:35 +0000)]
Merge "Fix x86 build."

10 years agoFix x86 build.
Elliott Hughes [Tue, 18 Feb 2014 20:34:51 +0000 (12:34 -0800)]
Fix x86 build.

Change-Id: Iee6e5884288f7da6c955694cfe32fecfd9c9e263

10 years agoMerge "bionic: fix __set_errno for arm64 syscalls that return a 64-bit value"
Elliott Hughes [Tue, 18 Feb 2014 20:31:01 +0000 (20:31 +0000)]
Merge "bionic: fix __set_errno for arm64 syscalls that return a 64-bit value"

10 years agoam 29eed9cc: am 7f15e28d: Merge "Clean up warnings in libstdc++."
Elliott Hughes [Tue, 18 Feb 2014 20:18:18 +0000 (20:18 +0000)]
am 29eed9cc: am 7f15e28d: Merge "Clean up warnings in libstdc++."

* commit '29eed9cc3aaee9236ec3c6397b41d5421e9b0c91':
  Clean up warnings in libstdc++.