OSDN Git Service

android-x86/bionic.git
13 years agoam 5b81b918: libc: optimize memmove() with memcpy() if possible.
David 'Digit' Turner [Thu, 7 Oct 2010 21:48:31 +0000 (14:48 -0700)]
am 5b81b918: libc: optimize memmove() with memcpy() if possible.

Merge commit '5b81b918173b4bf446c1a85240c094e4dd77231f' into gingerbread-plus-aosp

* commit '5b81b918173b4bf446c1a85240c094e4dd77231f':
  libc: optimize memmove() with memcpy() if possible.

13 years agolibc: optimize memmove() with memcpy() if possible.
David 'Digit' Turner [Thu, 7 Oct 2010 09:03:32 +0000 (11:03 +0200)]
libc: optimize memmove() with memcpy() if possible.

Change-Id: I90e578fdc82e427caee8fa4157ce3f8c6c99926d

13 years agoam af00228b: Revert "libc: memmove(): non-overlapping block optim."
Marco Nelissen [Tue, 28 Sep 2010 17:29:50 +0000 (10:29 -0700)]
am af00228b: Revert "libc: memmove(): non-overlapping block optim."

Merge commit 'af00228b705b53165c132a22b30c2d6cbb9acd13' into gingerbread-plus-aosp

* commit 'af00228b705b53165c132a22b30c2d6cbb9acd13':
  Revert "libc: memmove(): non-overlapping block optim."

13 years agoRevert "libc: memmove(): non-overlapping block optim."
Marco Nelissen [Tue, 28 Sep 2010 17:24:20 +0000 (10:24 -0700)]
Revert "libc: memmove(): non-overlapping block optim."

This reverts commit 80fba9a2fe4eacaabee99cf0bbead872c2792231,
which caused the system to not boot anymore, aborting with:
"java.lang.RuntimeException: Missing static main on com.android.server.SystemServer".

Change-Id: I745e0a23c728cccf5f95a3c7642d544478a4e57e

13 years agoresolved conflicts for merge of defd1622 to gingerbread-plus-aosp
repo sync [Tue, 28 Sep 2010 10:23:55 +0000 (12:23 +0200)]
resolved conflicts for merge of defd1622 to gingerbread-plus-aosp

Conflicts:
libc/arch-arm/syscalls/eventfd.S
libc/include/sys/eventfd.h
libc/include/sys/linux-syscalls.h

Change-Id: I02f6e9536aa5478322240c199ff4c2f4367922d0

13 years agoam 9973a564: libc: Add missing waitid() implementation.
David 'Digit' Turner [Tue, 28 Sep 2010 07:22:25 +0000 (00:22 -0700)]
am 9973a564: libc: Add missing waitid() implementation.

Merge commit '9973a564222b842eb7497fd6e659fe8c8c49e2b3' into gingerbread-plus-aosp

* commit '9973a564222b842eb7497fd6e659fe8c8c49e2b3':
  libc: Add missing waitid() implementation.

13 years agolibc: add <sys/eventfd.h> and corresponding implementations.
David 'Digit' Turner [Sun, 26 Sep 2010 20:29:14 +0000 (22:29 +0200)]
libc: add <sys/eventfd.h> and corresponding implementations.

Change-Id: Ide040884c456190226e580513099fdb8377e015b

13 years agoam a3ae60d3: libc: Add missing fdatasync() implementation
David 'Digit' Turner [Tue, 28 Sep 2010 07:19:31 +0000 (00:19 -0700)]
am a3ae60d3: libc: Add missing fdatasync() implementation

Merge commit 'a3ae60d343661784e3f6f4566b276d8e6b8a06a7' into gingerbread-plus-aosp

* commit 'a3ae60d343661784e3f6f4566b276d8e6b8a06a7':
  libc: Add missing fdatasync() implementation

13 years agolibc: Add missing waitid() implementation.
David 'Digit' Turner [Mon, 27 Sep 2010 15:30:33 +0000 (17:30 +0200)]
libc: Add missing waitid() implementation.

Change-Id: I312ee608dbf9249e4886a10d45d13e3cda8a9042

13 years agolibc: Add missing fdatasync() implementation
David 'Digit' Turner [Mon, 27 Sep 2010 15:28:38 +0000 (17:28 +0200)]
libc: Add missing fdatasync() implementation

Change-Id: I04bb655d77e414021e1f2a973329167ad76ca1c4

13 years agoam 307aadb8: Merge "libc: Add missing C++ guards to <pathconf.h>" into gingerbread
David 'Digit' Turner [Tue, 28 Sep 2010 07:16:40 +0000 (00:16 -0700)]
am 307aadb8: Merge "libc: Add missing C++ guards to <pathconf.h>" into gingerbread

Merge commit '307aadb8473744c3d946add8b3e4947ada5481aa' into gingerbread-plus-aosp

* commit '307aadb8473744c3d946add8b3e4947ada5481aa':
  libc: Add missing C++ guards to <pathconf.h>

13 years agoam 79260746: Merge "libc: memmove(): non-overlapping block optim." into gingerbread
David 'Digit' Turner [Tue, 28 Sep 2010 07:16:38 +0000 (00:16 -0700)]
am 79260746: Merge "libc: memmove(): non-overlapping block optim." into gingerbread

Merge commit '79260746dbed91babab415ea86fba0e3eb086429' into gingerbread-plus-aosp

* commit '79260746dbed91babab415ea86fba0e3eb086429':
  libc: memmove(): non-overlapping block optim.

13 years agoMerge "libc: Add missing C++ guards to <pathconf.h>" into gingerbread
David 'Digit' Turner [Tue, 28 Sep 2010 07:15:23 +0000 (00:15 -0700)]
Merge "libc: Add missing C++ guards to <pathconf.h>" into gingerbread

13 years agoMerge "libc: memmove(): non-overlapping block optim." into gingerbread
David 'Digit' Turner [Tue, 28 Sep 2010 07:15:05 +0000 (00:15 -0700)]
Merge "libc: memmove(): non-overlapping block optim." into gingerbread

13 years agoam 032a7135: Merge "libc: add missing O_CLOEXEC from <fcntl.h>" into gingerbread
David 'Digit' Turner [Tue, 28 Sep 2010 07:13:49 +0000 (00:13 -0700)]
am 032a7135: Merge "libc: add missing O_CLOEXEC from <fcntl.h>" into gingerbread

Merge commit '032a713549c12b79b5dde6ef3dff323b7698110d' into gingerbread-plus-aosp

* commit '032a713549c12b79b5dde6ef3dff323b7698110d':
  libc: add missing O_CLOEXEC from <fcntl.h>

13 years agoam 223ddfcf: Merge "libc: Add missing pipe2() declaration and implementation." into...
David 'Digit' Turner [Tue, 28 Sep 2010 07:13:48 +0000 (00:13 -0700)]
am 223ddfcf: Merge "libc: Add missing pipe2() declaration and implementation." into gingerbread

Merge commit '223ddfcfc4cb354641e70da31a60556248db5036' into gingerbread-plus-aosp

* commit '223ddfcfc4cb354641e70da31a60556248db5036':
  libc: Add missing pipe2() declaration and implementation.

13 years agoam 9df22a5a: Merge "libm: remove aliasing issue." into gingerbread
David 'Digit' Turner [Tue, 28 Sep 2010 07:13:46 +0000 (00:13 -0700)]
am 9df22a5a: Merge "libm: remove aliasing issue." into gingerbread

Merge commit '9df22a5a5fc57d511bfde3338806ec98d0cc334f' into gingerbread-plus-aosp

* commit '9df22a5a5fc57d511bfde3338806ec98d0cc334f':
  libm: remove aliasing issue.

13 years agoam bd8d987b: libc: remove C++ comments from public headers.
David 'Digit' Turner [Tue, 28 Sep 2010 07:13:43 +0000 (00:13 -0700)]
am bd8d987b: libc: remove C++ comments from public headers.

Merge commit 'bd8d987b3c3aa6d9d00cede2cb091f00bdb42204' into gingerbread-plus-aosp

* commit 'bd8d987b3c3aa6d9d00cede2cb091f00bdb42204':
  libc: remove C++ comments from public headers.

13 years agoMerge "libc: add missing O_CLOEXEC from <fcntl.h>" into gingerbread
David 'Digit' Turner [Tue, 28 Sep 2010 07:12:13 +0000 (00:12 -0700)]
Merge "libc: add missing O_CLOEXEC from <fcntl.h>" into gingerbread

13 years agoMerge "libc: Add missing pipe2() declaration and implementation." into gingerbread
David 'Digit' Turner [Tue, 28 Sep 2010 07:12:08 +0000 (00:12 -0700)]
Merge "libc: Add missing pipe2() declaration and implementation." into gingerbread

13 years agoMerge "libm: remove aliasing issue." into gingerbread
David 'Digit' Turner [Tue, 28 Sep 2010 07:11:58 +0000 (00:11 -0700)]
Merge "libm: remove aliasing issue." into gingerbread

13 years agoam 3cf53d1a: Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64.
Elliott Hughes [Mon, 27 Sep 2010 18:39:39 +0000 (11:39 -0700)]
am 3cf53d1a: Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64.

Merge commit '3cf53d1a7814e1520df09d24b009c16f4f27db0d' into gingerbread-plus-aosp

* commit '3cf53d1a7814e1520df09d24b009c16f4f27db0d':
  Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64.

13 years agolibm: remove aliasing issue.
David 'Digit' Turner [Sun, 26 Sep 2010 21:17:21 +0000 (23:17 +0200)]
libm: remove aliasing issue.

See http://code.google.com/p/android/issues/detail?id=6697
for details about this change.

Change-Id: I516f00c6f3bc99b22be51669e4573246bdd6e33d

13 years agolibc: remove C++ comments from public headers.
David 'Digit' Turner [Sun, 26 Sep 2010 21:00:36 +0000 (23:00 +0200)]
libc: remove C++ comments from public headers.

Change-Id: I4af84f912062cd2ff34711c25122fb323f20c032

13 years agolibc: memmove(): non-overlapping block optim.
David 'Digit' Turner [Sun, 26 Sep 2010 20:40:02 +0000 (22:40 +0200)]
libc: memmove(): non-overlapping block optim.

Change-Id: I5652f4f97ca59d95176443fc27c737ef76258183

13 years agolibc: add missing O_CLOEXEC from <fcntl.h>
David 'Digit' Turner [Sun, 26 Sep 2010 18:03:16 +0000 (20:03 +0200)]
libc: add missing O_CLOEXEC from <fcntl.h>

Change-Id: Ie7ad57898e67800a9fe92bb52589d67ec30e1cd9

13 years agolibc: Add missing pipe2() declaration and implementation.
David 'Digit' Turner [Mon, 27 Sep 2010 15:33:08 +0000 (17:33 +0200)]
libc: Add missing pipe2() declaration and implementation.

Change-Id: Iacb914bd6ac5adc60c5671e6fef680ede21f9b0c

13 years agolibc: Add missing C++ guards to <pathconf.h>
David 'Digit' Turner [Mon, 27 Sep 2010 15:27:14 +0000 (17:27 +0200)]
libc: Add missing C++ guards to <pathconf.h>

Change-Id: I94dad48678181d8b02431b1c1f5d507beafb5406

13 years agoFixes for the ARM-specific bswap_16, bswap_32, and bswap_64.
Elliott Hughes [Sat, 25 Sep 2010 00:55:58 +0000 (17:55 -0700)]
Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64.

1. Make the feature test work by excluding known-deficient processors, so
we don't have to maintain a complete list of all the processors that support
REV and REV16.

2. Don't abuse 'register' to get an effect similar to GCC's +l constraint,
but which was unnecessarily restrictive.

3. Fix __swap64md so _x isn't clobbered, breaking 64-bit swaps.

4. Make <byteswap.h> (which declars bswap_16 and friends) use <endian.h>
rather than <sys/endian.h>, so we get the machine-dependent implementations.

Change-Id: I6a38fad7a9fbe394aff141489617eb3883e1e944

13 years agoam b9e49ad5: Use a recursive lock for pthread_once. DO NOT MERGE.
Wink Saville [Thu, 23 Sep 2010 08:43:43 +0000 (01:43 -0700)]
am b9e49ad5: Use a recursive lock for pthread_once. DO NOT MERGE.

Merge commit 'b9e49ad56e5776ace7c6eab2e997d5b7acb16792' into gingerbread-plus-aosp

* commit 'b9e49ad56e5776ace7c6eab2e997d5b7acb16792':
  Use a recursive lock for pthread_once. DO NOT MERGE.

13 years agoUse a recursive lock for pthread_once. DO NOT MERGE.
Wink Saville [Wed, 22 Sep 2010 21:51:53 +0000 (14:51 -0700)]
Use a recursive lock for pthread_once. DO NOT MERGE.

Backport change I9fc8b790 from Master to Gingerbread

Change-Id: I5cf48fcd4efb7991ed82f87d9365c19655dc9b7f

13 years agoam fedbcde6: add /vendor support
Brian Swetland [Sun, 19 Sep 2010 10:51:34 +0000 (03:51 -0700)]
am fedbcde6: add /vendor support

Merge commit 'fedbcde6ef552e84bf7ce7598bca7dddf1722d6a' into gingerbread-plus-aosp

* commit 'fedbcde6ef552e84bf7ce7598bca7dddf1722d6a':
  add /vendor support

13 years agoadd /vendor support
Brian Swetland [Sun, 19 Sep 2010 10:39:13 +0000 (03:39 -0700)]
add /vendor support

- add /vendor/lib to front of default library search path
- remove long-obsolete /lib from default library search path

Change-Id: I7d33bf899be018e7cc4c213d5790bbd991023a62

13 years agoam cb99ab98: Add wmemcmp to Android.mk
Kenny Root [Tue, 14 Sep 2010 19:31:03 +0000 (12:31 -0700)]
am cb99ab98: Add wmemcmp to Android.mk

Merge commit 'cb99ab98c99291a6c90043009ab8d64ec8058f9d' into gingerbread-plus-aosp

* commit 'cb99ab98c99291a6c90043009ab8d64ec8058f9d':
  Add wmemcmp to Android.mk

13 years agoam 312be567: Merge "Use ARMv6 instruction for handling byte order"
Jean-Baptiste Queru [Fri, 10 Sep 2010 23:37:38 +0000 (16:37 -0700)]
am 312be567: Merge "Use ARMv6 instruction for handling byte order"

Merge commit '312be567a03aaf851707a268807ee666b12f8c74' into gingerbread-plus-aosp

* commit '312be567a03aaf851707a268807ee666b12f8c74':
  Use ARMv6 instruction for handling byte order

13 years agoMerge "Use ARMv6 instruction for handling byte order"
Jean-Baptiste Queru [Fri, 10 Sep 2010 23:02:59 +0000 (16:02 -0700)]
Merge "Use ARMv6 instruction for handling byte order"

13 years agoam 3558834c: Merge "Move the atom optimization flags into TARGET_linux-x86.mk."
Jean-Baptiste Queru [Fri, 10 Sep 2010 20:03:15 +0000 (13:03 -0700)]
am 3558834c: Merge "Move the atom optimization flags into TARGET_linux-x86.mk."

Merge commit '3558834c565bbfe96dfcf233373c3814b4655347' into gingerbread-plus-aosp

* commit '3558834c565bbfe96dfcf233373c3814b4655347':
  Move the atom optimization flags into TARGET_linux-x86.mk.

13 years agoAdd wmemcmp to Android.mk
Kenny Root [Fri, 10 Sep 2010 19:20:58 +0000 (12:20 -0700)]
Add wmemcmp to Android.mk

Change-Id: I9dc96d72b2becdd31981b4d176a13358aef6dcb9

13 years agoMerge "Move the atom optimization flags into TARGET_linux-x86.mk."
Jean-Baptiste Queru [Thu, 9 Sep 2010 21:09:41 +0000 (14:09 -0700)]
Merge "Move the atom optimization flags into TARGET_linux-x86.mk."

13 years agoam 3a1bbee3: Add eventfd system call support
Keith Deacon [Wed, 8 Sep 2010 10:06:26 +0000 (03:06 -0700)]
am 3a1bbee3: Add eventfd system call support

Merge commit '3a1bbee36b773862e88c6f1895b607c0cd81b499' into gingerbread-plus-aosp

* commit '3a1bbee36b773862e88c6f1895b607c0cd81b499':
  Add eventfd system call support

13 years agoam 6e42398d: Merge "Fix return value." into gingerbread
rich cannings [Tue, 31 Aug 2010 22:52:47 +0000 (15:52 -0700)]
am 6e42398d: Merge "Fix return value." into gingerbread

Merge commit '6e42398dd66d1ec7d84257f78c07dcc7f29a2283' into gingerbread-plus-aosp

* commit '6e42398dd66d1ec7d84257f78c07dcc7f29a2283':
  Fix return value.

13 years agoMerge "Fix return value." into gingerbread
rich cannings [Tue, 31 Aug 2010 22:48:25 +0000 (15:48 -0700)]
Merge "Fix return value." into gingerbread

13 years agoFix return value.
rich cannings [Tue, 31 Aug 2010 22:19:38 +0000 (15:19 -0700)]
Fix return value.

Return a valid pointer (not NULL) when the character "c" is at the end of "src".

Change-Id: Iab0b677943f2c8a9fbb255c44689f5d6dc3535d7
Example:
  memccpy(dest, "xzy", 'y', 3) should return dest+3 rather than null.

13 years agoAdd eventfd system call support
Keith Deacon [Tue, 31 Aug 2010 21:16:01 +0000 (16:16 -0500)]
Add eventfd system call support

13 years agoam cc6b1829: Merge "Make timezones available to the host build." into gingerbread
Jesse Wilson [Tue, 31 Aug 2010 21:04:15 +0000 (14:04 -0700)]
am cc6b1829: Merge "Make timezones available to the host build." into gingerbread

Merge commit 'cc6b18291075a7960ad0d638d2047f41be1297e8' into gingerbread-plus-aosp

* commit 'cc6b18291075a7960ad0d638d2047f41be1297e8':
  Make timezones available to the host build.

13 years agoMerge "Make timezones available to the host build." into gingerbread
Jesse Wilson [Tue, 31 Aug 2010 21:01:13 +0000 (14:01 -0700)]
Merge "Make timezones available to the host build." into gingerbread

13 years agoMake timezones available to the host build.
Jesse Wilson [Tue, 31 Aug 2010 20:16:25 +0000 (13:16 -0700)]
Make timezones available to the host build.

Change-Id: Ib2c89ac13b03f07c6c712a544bc0d5d1c9dc57df

13 years agoMerge (ignore) from open-source master tree
Jean-Baptiste Queru [Tue, 31 Aug 2010 20:08:11 +0000 (13:08 -0700)]
Merge (ignore) from open-source master tree

Change-Id: Ie735c3282ddc17c1e28e1069b714f3a310c221a2

13 years agoUse ARMv6 instruction for handling byte order
Jim Huang [Tue, 31 Aug 2010 06:51:44 +0000 (14:51 +0800)]
Use ARMv6 instruction for handling byte order

ARMv6 ISA has several instructions to handle data in different byte order.
For endian conversion (byte swapping) of single data words, it might be a
good idea to use the REV/REV16 instruction simply.

Change-Id: Ic4a5ed6254e082763e54aa70d428f59a0088636e

13 years agoresolved conflicts for merge of 6a51defa to gingerbread-plus-aosp
David 'Digit' Turner [Mon, 30 Aug 2010 00:41:36 +0000 (17:41 -0700)]
resolved conflicts for merge of 6a51defa to gingerbread-plus-aosp

Change-Id: I0367bcffe9179904ca820e3b824dddfa47594f63

13 years agoFix __get_tls() in static C library to use kernel helpers.
David 'Digit' Turner [Fri, 27 Aug 2010 15:19:19 +0000 (08:19 -0700)]
Fix __get_tls() in static C library to use kernel helpers.

This is needed to fix gdbserver's handling of threaded programs,
among other things.

Change-Id: I823387c602cef9891532da946a01db14be780ab0

13 years agoadded missing ether_aton and ether_ntoa
Szymon Jakubczak [Wed, 9 Jun 2010 19:53:28 +0000 (15:53 -0400)]
added missing ether_aton and ether_ntoa

Change-Id: I32ee448abde4d5693d393030ed77ddc6d2ad1dfc

13 years agoam 22f1e3d4: Apply https://android-git.corp.google.com/g/60855 to dalvik-dev.
Brian Carlstrom [Wed, 18 Aug 2010 20:39:12 +0000 (13:39 -0700)]
am 22f1e3d4: Apply https://android-git.corp.google.com/g/60855 to dalvik-dev.

Merge commit '22f1e3d4fae7d45cc439da94690d786ed44756fb' into gingerbread-plus-aosp

* commit '22f1e3d4fae7d45cc439da94690d786ed44756fb':
  Apply https://android-git.corp.google.com/g/60855 to dalvik-dev.

13 years agoam a7161902: linker: fix overwriting the real linker error string
Dima Zavin [Wed, 18 Aug 2010 20:35:40 +0000 (13:35 -0700)]
am a7161902: linker: fix overwriting the real linker error string

Merge commit 'a716190241da07f42cf874b04bf044261f36381c' into gingerbread-plus-aosp

* commit 'a716190241da07f42cf874b04bf044261f36381c':
  linker: fix overwriting the real linker error string

13 years agoRevert "added missing ether_aton and ether_ntoa"
Jean-Baptiste Queru [Wed, 18 Aug 2010 18:15:39 +0000 (11:15 -0700)]
Revert "added missing ether_aton and ether_ntoa"

This reverts commit 4032c1e2dfcc99613fe3e509a8153191e35aec12.

13 years agoApply https://android-git.corp.google.com/g/60855 to dalvik-dev.
Brian Carlstrom [Wed, 18 Aug 2010 07:33:52 +0000 (00:33 -0700)]
Apply https://android-git.corp.google.com/g/60855 to dalvik-dev.

(We've been missing the zoneinfo.* files for the host dalvikvm. My fix for
gingerbread will have to wait for someone to return from vacation, but I can
commit here in advance, and I need to so that I can submit
https://android-git.corp.google.com/g/60790 which -- amongst other things --
makes lack of time zone data a hard failure, rather than just silently
pretending all time zones are UTC.)

Bug: 2870945

git cherry-pick --no-commit 18a859aff4e1b97d644429b7ecdb366b18d5a708

Change-Id: I66647e824c5fee9b8d2c63085e2a58e5910a5544

13 years agolinker: fix overwriting the real linker error string
Dima Zavin [Tue, 17 Aug 2010 22:56:40 +0000 (15:56 -0700)]
linker: fix overwriting the real linker error string

Change-Id: Ia9165fd9aa1951b2bb81d0ac8f5bb3057aded8bd
Signed-off-by: Dima Zavin <dima@android.com>
13 years agoam 52e7d3d9: Bulletproof leak dump against null hash entries
Christopher Tate [Tue, 10 Aug 2010 02:53:32 +0000 (19:53 -0700)]
am 52e7d3d9: Bulletproof leak dump against null hash entries

Merge commit '52e7d3d91ab6a5bab77c5dfb1ed47381fd52f9ba' into gingerbread-plus-aosp

* commit '52e7d3d91ab6a5bab77c5dfb1ed47381fd52f9ba':
  Bulletproof leak dump against null hash entries

13 years agoBulletproof leak dump against null hash entries
Christopher Tate [Mon, 9 Aug 2010 20:43:46 +0000 (13:43 -0700)]
Bulletproof leak dump against null hash entries

Previously, the malloc leak checking code would crash in qsort()
if null entries existed in its bookkeeping table.  This change
makes the comparison function detect null entries and sort them
to the end safely.

Change-Id: I88244a7df1e289dd9d7992ce29606d505bd63079

13 years agobionic: Rename _ARM_HAVE_LDREX_STREX to __ARM_HAVE_LDREX_STREX for consistency
Jim Huang [Sun, 8 Aug 2010 21:35:11 +0000 (05:35 +0800)]
bionic: Rename _ARM_HAVE_LDREX_STREX to __ARM_HAVE_LDREX_STREX for consistency

The patch follows the naming manner in existing macros with prefix
__ARM_HAVE.

Change-Id: I6763ce2bf3ee85fd1da112c719543061d8d19bf4

13 years agoam 18c5bcc6: Revert "Set SA_RESTORER in sigaction()"
Dima Zavin [Fri, 30 Jul 2010 21:19:08 +0000 (14:19 -0700)]
am 18c5bcc6: Revert "Set SA_RESTORER in sigaction()"

Merge commit '18c5bcc66a9a7b2178dcdcf04a0716958798ab81' into gingerbread-plus-aosp

* commit '18c5bcc66a9a7b2178dcdcf04a0716958798ab81':
  Revert "Set SA_RESTORER in sigaction()"

13 years agoRevert "Set SA_RESTORER in sigaction()"
Dima Zavin [Fri, 30 Jul 2010 02:12:04 +0000 (19:12 -0700)]
Revert "Set SA_RESTORER in sigaction()"

This reverts commit e4fa46e75cd0d433b5c6c064720ed7e195cba7c8.

13 years agoam 7ed132a1: bionic: update processed kernel header msm_camera.h
Wu-cheng Li [Tue, 27 Jul 2010 21:33:18 +0000 (14:33 -0700)]
am 7ed132a1: bionic: update processed kernel header msm_camera.h

Merge commit '7ed132a1ae6e00593918090a964f5d5b09d77f84' into gingerbread-plus-aosp

* commit '7ed132a1ae6e00593918090a964f5d5b09d77f84':
  bionic: update processed kernel header msm_camera.h

13 years agobionic: update processed kernel header msm_camera.h
Wu-cheng Li [Tue, 27 Jul 2010 21:26:21 +0000 (14:26 -0700)]
bionic: update processed kernel header msm_camera.h

Change-Id: If66422d538d0fb0c6ae8a7399c62911635d1fd13

13 years agoam cd7014fd: Update time zone data to the new version 2010k.
Eric Fischer [Tue, 27 Jul 2010 00:17:27 +0000 (17:17 -0700)]
am cd7014fd: Update time zone data to the new version 2010k.

Merge commit 'cd7014fd0634f1337fc3857f1c61e0d39443c4be' into gingerbread-plus-aosp

* commit 'cd7014fd0634f1337fc3857f1c61e0d39443c4be':
  Update time zone data to the new version 2010k.

13 years agoUpdate time zone data to the new version 2010k.
Eric Fischer [Mon, 26 Jul 2010 22:53:24 +0000 (15:53 -0700)]
Update time zone data to the new version 2010k.

Change-Id: If657e1783e3f96c52bfe613bad027482d8373c67

13 years agoresolved conflicts for merge of 6774809b to gingerbread-plus-aosp
David 'Digit' Turner [Mon, 26 Jul 2010 19:18:37 +0000 (12:18 -0700)]
resolved conflicts for merge of 6774809b to gingerbread-plus-aosp

Change-Id: I633c3067c874c215da0c6ede00af41d8e3587d8b

13 years agoMove the atom optimization flags into TARGET_linux-x86.mk.
Chih-Wei Huang [Mon, 26 Jul 2010 03:29:08 +0000 (11:29 +0800)]
Move the atom optimization flags into TARGET_linux-x86.mk.

Setting libc_crt_target_cflags to be non-recursive is necessary.

Change-Id: I5310d86e705f23da126c21ecb33a97a074da584a

14 years agoresolved conflicts for merge of 4f086aeb to gingerbread-plus-aosp
Jean-Baptiste Queru [Fri, 23 Jul 2010 20:53:19 +0000 (13:53 -0700)]
resolved conflicts for merge of 4f086aeb to gingerbread-plus-aosp

Change-Id: Ice2a6d41a7e9d04eca02e15ed189d648d61b5801

14 years agoImplemented pthread_atfork()
Matt Fischer [Fri, 25 Jun 2010 19:36:39 +0000 (14:36 -0500)]
Implemented pthread_atfork()

Change-Id: Ie6c0bf593315d3507b3c4a6c8903a74a1fa053db

14 years agolinker: Support dlopen(NULL, ...) properly.
David 'Digit' Turner [Wed, 21 Jul 2010 23:18:21 +0000 (16:18 -0700)]
linker: Support dlopen(NULL, ...) properly.

Change-Id: Icba37823cb350c34848cc466d144c3a0af87c94c

14 years agoam 9d1f5afc: bionic: update processed kernel header msm_camera.h
Wu-cheng Li [Mon, 19 Jul 2010 20:48:34 +0000 (13:48 -0700)]
am 9d1f5afc: bionic: update processed kernel header msm_camera.h

Merge commit '9d1f5afc34efb8c10672f765704941036fd40da8' into gingerbread-plus-aosp

* commit '9d1f5afc34efb8c10672f765704941036fd40da8':
  bionic: update processed kernel header msm_camera.h

14 years agomerge from open-source master
The Android Open Source Project [Mon, 19 Jul 2010 19:17:17 +0000 (12:17 -0700)]
merge from open-source master

Change-Id: Ib65087940790a8d3b72d8d345a11e7c9c53896cd

14 years agobionic: update processed kernel header msm_camera.h
Wu-cheng Li [Mon, 12 Jul 2010 17:32:11 +0000 (10:32 -0700)]
bionic: update processed kernel header msm_camera.h

Change-Id: I25598b08e9cafe98a86cdb2e40481d9aedc8dcee

14 years agoAdd kernel header file ipv6_route.h in bionic.
Banavathu, Srinivas Naik [Tue, 29 Jun 2010 18:57:29 +0000 (11:57 -0700)]
Add kernel header file ipv6_route.h in bionic.

The header file is needed to add route to an IPv6 host from user space

Change-Id: I25c8a8d8e48013f127542199bc027f976b9672c1

14 years agomerge from open-source master
The Android Open Source Project [Fri, 16 Jul 2010 19:59:04 +0000 (12:59 -0700)]
merge from open-source master

Change-Id: Iadd4a92f0384fdb8afa015613957b7d78b3d100a

14 years agoam b97c44dc: add meta-files about 3rd party projects
The Android Open Source Project [Fri, 16 Jul 2010 18:49:13 +0000 (11:49 -0700)]
am b97c44dc: add meta-files about 3rd party projects

Merge commit 'b97c44dc9ecbe38c3bcee5abe55df173cb0fdf18' into gingerbread-plus-aosp

* commit 'b97c44dc9ecbe38c3bcee5abe55df173cb0fdf18':
  add meta-files about 3rd party projects

14 years agoadd meta-files about 3rd party projects
The Android Open Source Project [Fri, 16 Jul 2010 18:41:33 +0000 (11:41 -0700)]
add meta-files about 3rd party projects

Change-Id: I399d7811a07f82a6819d3973681f8b35b655dbd1

14 years agoMerge "Fix undefined reference to dl_iterate_phdr for x86"
Jean-Baptiste Queru [Fri, 16 Jul 2010 14:17:48 +0000 (07:17 -0700)]
Merge "Fix undefined reference to dl_iterate_phdr for x86"

14 years agomerge from open-source master
The Android Open Source Project [Fri, 9 Jul 2010 17:48:45 +0000 (10:48 -0700)]
merge from open-source master

Change-Id: Id84ff747889d6f2c15c0510263e32fdfdd18dbed

14 years agomerge from open-source master
The Android Open Source Project [Fri, 9 Jul 2010 17:47:23 +0000 (10:47 -0700)]
merge from open-source master

Change-Id: Ia22080192681c2ac596582d6cfdac732b1ff4c9f

14 years agoam cb7e8c5e: libc: update alarm() implementation to return 0 on error.
David 'Digit' Turner [Fri, 9 Jul 2010 00:24:45 +0000 (17:24 -0700)]
am cb7e8c5e: libc: update alarm() implementation to return 0 on error.

Merge commit 'cb7e8c5ef3f5f60a848e469ed40610c8946fe7ac' into gingerbread-plus-aosp

* commit 'cb7e8c5ef3f5f60a848e469ed40610c8946fe7ac':
  libc: update alarm() implementation to return 0 on error.

14 years agoam ab8b5410: libc: fix fstatfs() implementation.
David 'Digit' Turner [Fri, 9 Jul 2010 00:22:08 +0000 (17:22 -0700)]
am ab8b5410: libc: fix fstatfs() implementation.

Merge commit 'ab8b54101eed0a4b92ebf8fa6994cd1b4f22d8f4' into gingerbread-plus-aosp

* commit 'ab8b54101eed0a4b92ebf8fa6994cd1b4f22d8f4':
  libc: fix fstatfs() implementation.

14 years agolibc: update alarm() implementation to return 0 on error.
David 'Digit' Turner [Fri, 9 Jul 2010 00:19:07 +0000 (17:19 -0700)]
libc: update alarm() implementation to return 0 on error.

This matches the GLibc behaviour, and allows alarm(0xFFFFFFFF) to return 0.

Change-Id: I419aa71b27d6bb2015d15ba6b6112bf62eadcbb8

14 years agolibc: fix fstatfs() implementation.
David 'Digit' Turner [Thu, 8 Jul 2010 23:52:27 +0000 (16:52 -0700)]
libc: fix fstatfs() implementation.

The syscall expects the size of the buffer as the second argument.

Change-Id: I99ede2fec7fcd385ca03ff022c2cffa4297bea8d

14 years agoMerge "Change-Id: I68cc462aeb2460345a53bdb9941ce4bfc10456fb bionic: fix clearenv...
Jean-Baptiste Queru [Thu, 8 Jul 2010 22:38:13 +0000 (15:38 -0700)]
Merge "Change-Id: I68cc462aeb2460345a53bdb9941ce4bfc10456fb bionic: fix clearenv() compiler warning and related comment typos"

14 years agoFix undefined reference to dl_iterate_phdr for x86
Bruce Beare [Thu, 8 Jul 2010 21:47:50 +0000 (14:47 -0700)]
Fix undefined reference to dl_iterate_phdr for x86

Change-Id: I22410b27939e8f54da932d7a1104102550c4685f
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
14 years agoFix missing NL
Bruce Beare [Fri, 25 Jun 2010 16:02:10 +0000 (09:02 -0700)]
Fix missing NL

Change-Id: Ic210fe9f740b9a8235a66d479ad4eddc869998bb
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
14 years agoam d466780c: Add missing SMP barriers to libstdc++
David 'Digit' Turner [Wed, 7 Jul 2010 21:20:35 +0000 (14:20 -0700)]
am d466780c: Add missing SMP barriers to libstdc++

Merge commit 'd466780c7cedb41edcf13f28ad900556c6aaa5b2' into gingerbread-plus-aosp

* commit 'd466780c7cedb41edcf13f28ad900556c6aaa5b2':
  Add missing SMP barriers to libstdc++

14 years agoAdd missing SMP barriers to libstdc++
David 'Digit' Turner [Fri, 11 Jun 2010 20:18:41 +0000 (13:18 -0700)]
Add missing SMP barriers to libstdc++

Change-Id: I20a8dcd2e3316ac60237e800c682cacc8e59e187

14 years agoam 51976326: libc: Fix sem_post() implementation to wake up all waiting threads.
David 'Digit' Turner [Fri, 2 Jul 2010 22:12:00 +0000 (15:12 -0700)]
am 51976326: libc: Fix sem_post() implementation to wake up all waiting threads.

Merge commit '519763265ec0b634bd9c264a0aca034882458ecc' into gingerbread-plus-aosp

* commit '519763265ec0b634bd9c264a0aca034882458ecc':
  libc: Fix sem_post() implementation to wake up all waiting threads.

14 years agolibc: Fix sem_post() implementation to wake up all waiting threads.
David 'Digit' Turner [Mon, 28 Jun 2010 21:10:14 +0000 (14:10 -0700)]
libc: Fix sem_post() implementation to wake up all waiting threads.

This also allows us to optimize the case where we increment an
uncontended semaphore (no need to call futex_wake() then).

Change-Id: Iad48efe8551dc66dc89d3e3f18c001e5a6c1939f

14 years agomerge from open-source master
The Android Open Source Project [Fri, 2 Jul 2010 18:40:01 +0000 (11:40 -0700)]
merge from open-source master

Change-Id: I895b74454b35da7eba6c0f6250fe2ca6c9907f1d

14 years agomerge from open-source master
The Android Open Source Project [Fri, 2 Jul 2010 18:37:54 +0000 (11:37 -0700)]
merge from open-source master

Change-Id: I6a15428fd9ce1f1dbbb702ff13c6af8da8f54a1e

14 years agoMerge "Regenerate linux/netfilter_ipv6/ip6_tables.h."
Jean-Baptiste Queru [Fri, 2 Jul 2010 17:34:04 +0000 (10:34 -0700)]
Merge "Regenerate linux/netfilter_ipv6/ip6_tables.h."

14 years agoAllow dlclose() to properly call static C++ destructors.
David 'Digit' Turner [Fri, 2 Jul 2010 06:09:28 +0000 (23:09 -0700)]
Allow dlclose() to properly call static C++ destructors.

With this patch _and_ an upcoming build/ patch, the destruction
of static C++ objects contained in shared libraries will happen
properly when dlclose() is called.

Note that this change introduces crtbegin_so.S and crtend_so.S which
are currently ignored by the build system.

+ move definition of __dso_handle to the right place
(before that, all shared libraries used the __dso_handle
global variable from the C library).

Note that we keep a 'weak' __dso_handle in aeabi.c to avoid
breaking the build until the next patch to build/core/combo/
appears. We will be able to remove that later.

+ move bionic/aeabi.c to arch-arm/bionic/ (its proper location)

NOTE: The NDK will need to be modified to enable this feature in
         the shared libraries that are generated through it.

Change-Id: I99cd801375bbaef0581175893d1aa0943211b9bc

14 years agoam a02b93bd: libc: add sanity checks to pthread_mutex_destroy()
David 'Digit' Turner [Tue, 29 Jun 2010 19:53:13 +0000 (12:53 -0700)]
am a02b93bd: libc: add sanity checks to pthread_mutex_destroy()

Merge commit 'a02b93bd75a9d156117264d88069566e447397e2' into gingerbread-plus-aosp

* commit 'a02b93bd75a9d156117264d88069566e447397e2':
  libc: add sanity checks to pthread_mutex_destroy()

14 years agolibc: add sanity checks to pthread_mutex_destroy()
David 'Digit' Turner [Mon, 28 Jun 2010 21:20:22 +0000 (14:20 -0700)]
libc: add sanity checks to pthread_mutex_destroy()

Change-Id: Iddb2204fa792fa9aca5f19838926dddbb09b74a2

14 years agoam 0621a279: libstdc++: use extern "C++" in all our C++ system headers.
David 'Digit' Turner [Mon, 28 Jun 2010 18:27:32 +0000 (11:27 -0700)]
am 0621a279: libstdc++: use extern "C++" in all our C++ system headers.

Merge commit '0621a279adfb981ea1f0564e7fc8280cda78e043' into gingerbread-plus-aosp

* commit '0621a279adfb981ea1f0564e7fc8280cda78e043':
  libstdc++: use extern "C++" in all our C++ system headers.

14 years agoRegenerate linux/netfilter_ipv6/ip6_tables.h.
Vilmos Nebehaj [Mon, 28 Jun 2010 13:13:23 +0000 (15:13 +0200)]
Regenerate linux/netfilter_ipv6/ip6_tables.h.

Add ip6t_get_target() to kernel_known_generic_statics in
libc/kernel/tools/defaults.py to be able to build ip6tables.

Change-Id: Iadb885db3faa85b2d0070dc2e0ac493af6e62bb6