OSDN Git Service

android-x86/bionic.git
13 years agoMerge "f_mtp.h: Update for MTP_SEND_FILE_WITH_HEADER ioctl"
Mike Lockwood [Sat, 16 Jul 2011 13:11:23 +0000 (06:11 -0700)]
Merge "f_mtp.h: Update for MTP_SEND_FILE_WITH_HEADER ioctl"

13 years agoRevert "linker: get rid of the buddy allocator"
Nick Kralevich [Fri, 15 Jul 2011 23:12:45 +0000 (16:12 -0700)]
Revert "linker: get rid of the buddy allocator"

This reverts commit 7059b1f02ea9197728c851edd9ae0dd7688fa700.
Bug: 5036610

13 years agof_mtp.h: Update for MTP_SEND_FILE_WITH_HEADER ioctl
Mike Lockwood [Fri, 15 Jul 2011 01:02:30 +0000 (21:02 -0400)]
f_mtp.h: Update for MTP_SEND_FILE_WITH_HEADER ioctl

Change-Id: Ib5541625998805cbc23f34eb00f5a21cba6eef53
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agolinker: get rid of the buddy allocator
Nick Kralevich [Thu, 14 Jul 2011 19:45:40 +0000 (12:45 -0700)]
linker: get rid of the buddy allocator

Currently, the Android linker is placing shared libraries into
a well-known spot in memory.  This is interfering with the kernel's
ASLR support.

This change stops forcing non-prelinked libraries into a particular
address space.

Also, get rid of FLAG_PRELINKED.  As best I can tell, this flag
is never used.

Change-Id: I527af12fb54f821c2b5ca7693dbf63d022f8f4ae

13 years agoam 6b6ebeca: am 3a131026: resolved conflicts for merge of 50a83255 to gingerbread...
David 'Digit' Turner [Wed, 13 Jul 2011 21:53:56 +0000 (14:53 -0700)]
am 6b6ebeca: am 3a131026: resolved conflicts for merge of 50a83255 to gingerbread-plus-aosp

* commit '6b6ebeca985fb3843b56b507ac4ac1be44080a9c':
  enable support for large files (> 2G)
  Enable functional DSO object destruction
  x86: Enable -fstack-protector
  Update X86 Bionic CRT files for unwind/exceptions
  bionic, libthread_db x86 fixes
  Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list
  Remove an extra register move.
  Replace __atomic_XXX with GCC __sync_XXX intrinsics.
  move some typedefs to procfs.h required by gdbserver build
  use consistent guards for off_t and size_t defines for IA
  Simplify variable typing for IA builds
  sigsetmask.c was not processing the "mask" argument.
  Add defines for CAIF support
  Remove extra/unneeded copy of fenv.h
  Use proper variable typing
  Update ATOM string routines to latest
  Fix undefined reference to dl_iterate_phdr for x86
  Fix missing NL
  ptrace.c Fix source file format to unix from dos

13 years agoam f2ebd304: am 57aadbb0: Merge "enable support for large files (> 2G)"
David Turner [Wed, 13 Jul 2011 21:53:34 +0000 (14:53 -0700)]
am f2ebd304: am 57aadbb0: Merge "enable support for large files (> 2G)"

* commit 'f2ebd304c3c0822121e6a4d0f542a048a7fc3b20':
  enable support for large files (> 2G)

13 years agoMerge "Remove the simulator target from all makefiles. Bug: 5010576"
Jeff Brown [Tue, 12 Jul 2011 19:11:19 +0000 (12:11 -0700)]
Merge "Remove the simulator target from all makefiles. Bug: 5010576"

13 years agoRemove the simulator target from all makefiles.
Jeff Brown [Tue, 12 Jul 2011 05:11:41 +0000 (22:11 -0700)]
Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I9064e3221582fcf3d4210d67f1cf0a96e7e3aa86

13 years agoam 3a131026: resolved conflicts for merge of 50a83255 to gingerbread-plus-aosp
David 'Digit' Turner [Mon, 11 Jul 2011 20:25:01 +0000 (13:25 -0700)]
am 3a131026: resolved conflicts for merge of 50a83255 to gingerbread-plus-aosp

* commit '3a13102637c8be53edf28f96598ac11aaa3e14df':
  enable support for large files (> 2G)
  Enable functional DSO object destruction
  x86: Enable -fstack-protector
  Update X86 Bionic CRT files for unwind/exceptions
  bionic, libthread_db x86 fixes
  Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list
  Remove an extra register move.
  Replace __atomic_XXX with GCC __sync_XXX intrinsics.
  move some typedefs to procfs.h required by gdbserver build
  use consistent guards for off_t and size_t defines for IA
  Simplify variable typing for IA builds
  sigsetmask.c was not processing the "mask" argument.
  Add defines for CAIF support
  Remove extra/unneeded copy of fenv.h
  Use proper variable typing
  Update ATOM string routines to latest
  Fix undefined reference to dl_iterate_phdr for x86
  Fix missing NL
  ptrace.c Fix source file format to unix from dos

13 years agoresolved conflicts for merge of 50a83255 to gingerbread-plus-aosp
David 'Digit' Turner [Mon, 11 Jul 2011 19:39:06 +0000 (21:39 +0200)]
resolved conflicts for merge of 50a83255 to gingerbread-plus-aosp

Change-Id: Idf1971120bbdd52676f95aa3aa69f62342dc012e

13 years agobionic: update processed omap_ion.h
Iliyan Malchev [Mon, 11 Jul 2011 18:55:47 +0000 (11:55 -0700)]
bionic: update processed omap_ion.h

Change-Id: I72acee8d285247c9e5fe21014a6f5ce8af3f73e5
Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years agoam 57aadbb0: Merge "enable support for large files (> 2G)"
David Turner [Mon, 11 Jul 2011 17:46:00 +0000 (10:46 -0700)]
am 57aadbb0: Merge "enable support for large files (> 2G)"

* commit '57aadbb096a118dd33f9f16c67bd18dbb6b92c4a':
  enable support for large files (> 2G)

13 years agomerge intel x86 patches into gingerbread branch
David 'Digit' Turner [Sat, 9 Jul 2011 01:55:33 +0000 (03:55 +0200)]
merge intel x86 patches into gingerbread branch

13 years agoenable support for large files (> 2G)
Dragos Tatulea [Mon, 4 Jul 2011 15:37:50 +0000 (18:37 +0300)]
enable support for large files (> 2G)

bionic has an i386 ifdef guard for the O_LARGEFILE flag. The reason for this
is not traceable in the git history, but it's most likely due to some old
toolchain or emulator problem.

Bug Id: 10035

Change-Id: I742ee6e50220276c2cb268d66f89b5655ef689fc
Signed-off-by: Dragos Tatulea <dragos.tatulea@intel.com>
13 years agoMerge "enable support for large files (> 2G)"
David Turner [Sat, 9 Jul 2011 01:52:49 +0000 (18:52 -0700)]
Merge "enable support for large files (> 2G)"

13 years agobionic: update cleaned headers for ion
Iliyan Malchev [Thu, 7 Jul 2011 22:39:28 +0000 (15:39 -0700)]
bionic: update cleaned headers for ion

Change-Id: I5352e6c2b29a1c3c17eda531df397d8d3a63649a
Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years agoEnable functional DSO object destruction
Bruce Beare [Mon, 20 Jun 2011 17:29:50 +0000 (10:29 -0700)]
Enable functional DSO object destruction

Unfortunately, legacy .so files for ARM don't have a correct crtbegin file.
Consequently, we have to grandfather the old __dso_handle behaviour.
Add some ifdefs for ARM to allow it to use the old code until we can work
out a transition.

Change-Id: I6a28f368267d792c94e1d985d8344023bc632f6f
Author: H.J. Lu <hongjiu.lu@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agox86: Enable -fstack-protector
Bruce Beare [Wed, 4 May 2011 04:04:40 +0000 (21:04 -0700)]
x86: Enable -fstack-protector

Change-Id: Iff9e3a3ba0e2d0faa7c6d98154aa5be0cc8a6c50
Orig-Change-Id: Ib69514c3afcb4c1f5e5f3f8cd91acfd145a0866c
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoUpdate X86 Bionic CRT files for unwind/exceptions
Mark D Horn [Tue, 26 Apr 2011 21:05:30 +0000 (14:05 -0700)]
Update X86 Bionic CRT files for unwind/exceptions

Several updates to Bionic crt*.o files to implement Linux/x86
stack unwind/exception handling.
Mark __dso_handle as hidden.
Note: Requires complete rebuild due to CRT changes. Google will
need to regenerate and check-in all the prebuilt x86 CRT object
files and libraries which link to them.

Change-Id: I01c14c19ef7569c9ffed89495cae2a459972c04b
Orig-Change-Id: I191ce1afb0dee7bbc28dcd9694e5919226dbd070
Signed-off-by: Bruce J Beare <bruce.j.beare@intel.com>
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Author: Lu, Hongjiu <hongjiu.lu@intel.com>

13 years agobionic, libthread_db x86 fixes
James Rose [Tue, 31 May 2011 17:20:42 +0000 (10:20 -0700)]
bionic, libthread_db x86 fixes

Orig-Change-Id: I3be997f5f1f6a894a3c200d4f325cf3bfd428c66
Author: James Rose <james.rose@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoUpdated gcc 4.4.3 IA toolchain doesn't require the .ctors list
Bruce Beare [Thu, 27 Jan 2011 18:23:16 +0000 (10:23 -0800)]
Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list

Orig-Change-Id: Ia840a19a45257128eccdcf25d105f500f2d90741
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoRemove an extra register move.
Bruce Beare [Thu, 27 Jan 2011 18:25:33 +0000 (10:25 -0800)]
Remove an extra register move.

Orig-Change-Id: I63c217b73203b44b1a2e74950b58f2ec12989cab
Author: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoReplace __atomic_XXX with GCC __sync_XXX intrinsics.
Bruce Beare [Thu, 27 Jan 2011 18:24:52 +0000 (10:24 -0800)]
Replace __atomic_XXX with GCC __sync_XXX intrinsics.

Orig-Change-Id: I14f275392fcd70cc15e307470e0a099777c7c09e
Author: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agomove some typedefs to procfs.h required by gdbserver build
Bruce Beare [Thu, 27 Jan 2011 18:26:30 +0000 (10:26 -0800)]
move some typedefs to procfs.h required by gdbserver build

Orig-Change-Id: I51fba4ceb80b63e583f462a2a00f3f658c7cdd36
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agouse consistent guards for off_t and size_t defines for IA
Bruce Beare [Sun, 26 Dec 2010 17:29:57 +0000 (09:29 -0800)]
use consistent guards for off_t and size_t defines for IA

Orig-Change-Id: I9347ab4407c48c71c99f42583523ebe31a5e67ae
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoSimplify variable typing for IA builds
Bruce Beare [Sun, 26 Dec 2010 17:28:49 +0000 (09:28 -0800)]
Simplify variable typing for IA builds

Orig-Change-Id: I3f080b34360bfade0dbd5e2d8d0365e049162e4c
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agosigsetmask.c was not processing the "mask" argument.
Bruce Beare [Sat, 4 Dec 2010 00:48:47 +0000 (16:48 -0800)]
sigsetmask.c was not processing the "mask" argument.

Orig-Change-Id: I79b898ea5b882e8c0564e25466e827a9bedda6e8
Author: yhe19 <yunan.he@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoAdd defines for CAIF support
Bruce Beare [Sat, 4 Dec 2010 00:14:59 +0000 (16:14 -0800)]
Add defines for CAIF support

Orig-Change-Id: I32d2e02814f1965ebdcecb804e947ff303dbe230
Author: Mark Gross <mark.gross@intel.com>
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
13 years agoRemove extra/unneeded copy of fenv.h
Bruce Beare [Mon, 11 Oct 2010 19:01:14 +0000 (12:01 -0700)]
Remove extra/unneeded copy of fenv.h

Orig-Change-Id: I80da2521c50df7e8967af48164cc834abf499c50
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoUse proper variable typing
Bruce Beare [Mon, 11 Oct 2010 19:08:07 +0000 (12:08 -0700)]
Use proper variable typing

Orig-Change-Id: If5c33d90b33f538448ac12e7bee94b4b9173d39c
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoUpdate ATOM string routines to latest
Bruce Beare [Tue, 31 May 2011 16:56:55 +0000 (09:56 -0700)]
Update ATOM string routines to latest

Orig-Change-Id: I22a600e7f172681cfd38ff73a64e3fd07b284959
Signed-off-by: Lu, Hongjiu <hongjiu.lu@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 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

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

Orig-Change-Id: Ic210fe9f740b9a8235a66d479ad4eddc869998bb
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
13 years agoptrace.c Fix source file format to unix from dos
Bruce Beare [Tue, 31 May 2011 17:26:08 +0000 (10:26 -0700)]
ptrace.c Fix source file format to unix from dos

Orig-Change-Id: Ia771b457eec7f9575d4631fb1c12a7062ebcc7de
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoMerge b3773e9c
Jean-Baptiste Queru [Wed, 6 Jul 2011 20:00:03 +0000 (13:00 -0700)]
Merge b3773e9c

Change-Id: I5787d9ac5e745a08e1c891e9ce9efc4e7f97ace8

13 years agoMerge 784515ad
Jean-Baptiste Queru [Wed, 6 Jul 2011 19:59:46 +0000 (12:59 -0700)]
Merge 784515ad

Change-Id: I3e5b691d008e9548f43339635bafdd95bc2f56fe

13 years agoRevert "Revert "libc: Add logcat error message for memory corruption""
Jean-Baptiste Queru [Wed, 6 Jul 2011 19:58:56 +0000 (12:58 -0700)]
Revert "Revert "libc: Add logcat error message for memory corruption""

This reverts commit 368ee1e4d65c555fdb0fa4b3a91d75a397936908.

13 years agoam 9c95cbf7: Merge "Really fix the build."
David 'Digit' Turner [Wed, 6 Jul 2011 17:27:49 +0000 (10:27 -0700)]
am 9c95cbf7: Merge "Really fix the build."

* commit '9c95cbf75094c15d251bb3d57a55ce47d7c6c2c8':
  Really fix the build.

13 years agoMerge "Really fix the build."
David 'Digit' Turner [Wed, 6 Jul 2011 17:19:47 +0000 (10:19 -0700)]
Merge "Really fix the build."

13 years agoReally fix the build.
David 'Digit' Turner [Wed, 6 Jul 2011 17:02:15 +0000 (19:02 +0200)]
Really fix the build.

libcutils/mspace.c includes libc/bionic/dlmalloc.c, we need to
take care of the fact that any internal C library function cannot
be used from it.

Change-Id: I0bc81ae090b7ac2d464f26b97fc6b94a08cdad9c

13 years agoam 01eb7f72: Merge "Fix broken build"
David 'Digit' Turner [Wed, 6 Jul 2011 16:08:47 +0000 (09:08 -0700)]
am 01eb7f72: Merge "Fix broken build"

* commit '01eb7f72434830bb14cec906d885d2b7ee40d53b':
  Fix broken build

13 years agoMerge "Fix broken build"
David 'Digit' Turner [Wed, 6 Jul 2011 15:56:48 +0000 (08:56 -0700)]
Merge "Fix broken build"

13 years agoFix broken build
David 'Digit' Turner [Wed, 6 Jul 2011 15:54:35 +0000 (17:54 +0200)]
Fix broken build

Change-Id: Ia46b50aec51a55434c8828a73e07f4732f8f6c1c

13 years agoRevert "libc: Add logcat error message for memory corruption"
Mathew Inwood [Wed, 6 Jul 2011 15:51:54 +0000 (16:51 +0100)]
Revert "libc: Add logcat error message for memory corruption"

This fixes the build.

This reverts commit 7708a89c60e7b024d31c48c8034932c5e9f0aceb.

13 years agoam d25ea49e: am b73b6783: Merge "libc: Add logcat error message for memory corruption"
David 'Digit' Turner [Wed, 6 Jul 2011 14:53:10 +0000 (07:53 -0700)]
am d25ea49e: am b73b6783: Merge "libc: Add logcat error message for memory corruption"

* commit 'd25ea49e632c00d57d893563dac3f6dae5493b7e':
  libc: Add logcat error message for memory corruption

13 years agoam b73b6783: Merge "libc: Add logcat error message for memory corruption"
David 'Digit' Turner [Wed, 6 Jul 2011 14:46:40 +0000 (07:46 -0700)]
am b73b6783: Merge "libc: Add logcat error message for memory corruption"

* commit 'b73b6783a595cf4b1cef6463c23317a8b417f1e9':
  libc: Add logcat error message for memory corruption

13 years agoMerge "libc: Add logcat error message for memory corruption"
David 'Digit' Turner [Tue, 5 Jul 2011 18:59:42 +0000 (11:59 -0700)]
Merge "libc: Add logcat error message for memory corruption"

13 years agolibc: Add logcat error message for memory corruption
David 'Digit' Turner [Thu, 30 Jun 2011 16:32:03 +0000 (18:32 +0200)]
libc: Add logcat error message for memory corruption

Our dlmalloc implementation currently calls abort() when it detects
that the heap is corrupted, or that an invalid pointer is passed to
one of its functions.

The only way to detect this is because abort() will force-fully
crash the current program with a magic fault address of '0xdeadbaad'.

However, this is not really well documented, and a frequent topic
on the android-ndk forum (among others).

This change makes our dlmalloc code dump a simple message to the
log just before the abort() call (and hence before the stack trace)
to better help identify the problem.

Change-Id: Iebf7eb7fe26463ecadfaca8f247d237edb441e3c

13 years agoenable support for large files (> 2G)
Dragos Tatulea [Mon, 4 Jul 2011 15:37:50 +0000 (18:37 +0300)]
enable support for large files (> 2G)

bionic has an i386 ifdef guard for the O_LARGEFILE flag. The reason for this
is not traceable in the git history, but it's most likely due to some old
toolchain or emulator problem.

Bug Id: 10035

Change-Id: I742ee6e50220276c2cb268d66f89b5655ef689fc
Signed-off-by: Dragos Tatulea <dragos.tatulea@intel.com>
13 years agoam 946f3ad1: resolved conflicts for merge of 2f5c6d2d to honeycomb-plus-aosp
repo sync [Fri, 1 Jul 2011 16:21:18 +0000 (09:21 -0700)]
am 946f3ad1: resolved conflicts for merge of 2f5c6d2d to honeycomb-plus-aosp

* commit '946f3ad199e4c20606f4461751f510220b22e7b8':
  Update to tzdata2011h.

13 years agoresolved conflicts for merge of 2f5c6d2d to honeycomb-plus-aosp
repo sync [Fri, 1 Jul 2011 00:28:59 +0000 (17:28 -0700)]
resolved conflicts for merge of 2f5c6d2d to honeycomb-plus-aosp

Change-Id: I858210fce4a04531afd9337a098db1dbf2308c2c

13 years agoMerge "Update to tzdata2011h."
Elliott Hughes [Fri, 1 Jul 2011 00:00:17 +0000 (17:00 -0700)]
Merge "Update to tzdata2011h."

13 years agoUpdate to tzdata2011h.
Elliott Hughes [Thu, 30 Jun 2011 23:03:23 +0000 (16:03 -0700)]
Update to tzdata2011h.

This includes the Egyptian and Russian DST changes.

(Cherry pick of dd0ffc738e3f956cf4f0ae409cda22595a33f08b.)

Change-Id: Ibf4b6a1f004c997a0b8df66e78f8867425d15dbe

13 years agoMerge "Add cleaned headers for ion to bionic"
Rebecca Schultz Zavin [Thu, 30 Jun 2011 22:10:37 +0000 (15:10 -0700)]
Merge "Add cleaned headers for ion to bionic"

13 years agoUpdate to tzdata2011h.
Elliott Hughes [Thu, 30 Jun 2011 21:56:34 +0000 (14:56 -0700)]
Update to tzdata2011h.

This reflects the Russia and Curacao changes.

Change-Id: Id324b5b7690e0e7e46e1984f51647a6d6e7f0df3

13 years agoAdd cleaned headers for ion to bionic
Rebecca Schultz Zavin [Thu, 30 Jun 2011 21:16:17 +0000 (14:16 -0700)]
Add cleaned headers for ion to bionic

Change-Id: I0e2c35e8fb5cd20a796c4f588954205eacde0ae2
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agoam e0a4b678: am cc32fbc3: Merge "Add support for a dns cache per interface"
Robert Greenwalt [Mon, 27 Jun 2011 21:14:07 +0000 (14:14 -0700)]
am e0a4b678: am cc32fbc3: Merge "Add support for a dns cache per interface"

* commit 'e0a4b67811981ab4c04c437b23c36ae42c444bce':
  Add support for a dns cache per interface

13 years agox86: fix full_x86-eng build
David 'Digit' Turner [Sat, 25 Jun 2011 15:26:38 +0000 (17:26 +0200)]
x86: fix full_x86-eng build

The latest merge conflict resolution worked only for ARM, but not for x86
Both ARM and x86 builds have been tested with this fix.

Change-Id: I4ec1f1b0ea32fa86e7e2515b221133473d6550a3
NOTE: Care has been taken to not change the compiler flags for ARM builds.
      In particular, when building crtbegin_so.so, the -fPIC flag is only
      used for x86 (previous reports indicate that it breaks the ARM
      build at runtime for obscure reasons).

13 years agoam c643a4d4: am 2be3f09f: Merge "time: Improve C99 compliance"
David Turner [Sat, 25 Jun 2011 00:16:56 +0000 (17:16 -0700)]
am c643a4d4: am 2be3f09f: Merge "time: Improve C99 compliance"

* commit 'c643a4d4c71c2caaf016ab402fba99c1c9377567':
  time: Improve C99 compliance

13 years agoam cd9f1f0b: am ac56f5ca: Merge "strftime: Use snprintf() instead of sprintf()"
David Turner [Fri, 24 Jun 2011 17:50:37 +0000 (10:50 -0700)]
am cd9f1f0b: am ac56f5ca: Merge "strftime: Use snprintf() instead of sprintf()"

* commit 'cd9f1f0b2726fbaac75b47231eb80a91841231f9':
  strftime: Use snprintf() instead of sprintf()

13 years agoresolved conflicts for merge of b4896660 to master
David 'Digit' Turner [Fri, 24 Jun 2011 16:00:04 +0000 (18:00 +0200)]
resolved conflicts for merge of b4896660 to master

Change-Id: I40451873c006e5bbcbd17d3bddc1a44773ba16a0

13 years agoam cc32fbc3: Merge "Add support for a dns cache per interface"
Robert Greenwalt [Thu, 23 Jun 2011 18:12:19 +0000 (11:12 -0700)]
am cc32fbc3: Merge "Add support for a dns cache per interface"

* commit 'cc32fbc3050079aa020ac39afb1c84b5e72737a8':
  Add support for a dns cache per interface

13 years agoMerge "Add support for a dns cache per interface"
Robert Greenwalt [Thu, 23 Jun 2011 17:20:38 +0000 (10:20 -0700)]
Merge "Add support for a dns cache per interface"

13 years agoam 2be3f09f: Merge "time: Improve C99 compliance"
David Turner [Thu, 23 Jun 2011 17:01:11 +0000 (10:01 -0700)]
am 2be3f09f: Merge "time: Improve C99 compliance"

* commit '2be3f09f2d9b6d35b262f7a6148f51c164bb8cbb':
  time: Improve C99 compliance

13 years agoMerge "time: Improve C99 compliance"
David Turner [Thu, 23 Jun 2011 16:10:39 +0000 (09:10 -0700)]
Merge "time: Improve C99 compliance"

13 years agoam ac56f5ca: Merge "strftime: Use snprintf() instead of sprintf()"
David Turner [Thu, 23 Jun 2011 13:13:53 +0000 (06:13 -0700)]
am ac56f5ca: Merge "strftime: Use snprintf() instead of sprintf()"

* commit 'ac56f5ca2f4c54ddbd37b033f9465d89542c2cbe':
  strftime: Use snprintf() instead of sprintf()

13 years agoMerge "strftime: Use snprintf() instead of sprintf()"
David Turner [Thu, 23 Jun 2011 13:04:28 +0000 (06:04 -0700)]
Merge "strftime: Use snprintf() instead of sprintf()"

13 years agoam 1c0a0381: Merge "Enable functional DSO object destruction"
David Turner [Thu, 23 Jun 2011 12:28:13 +0000 (05:28 -0700)]
am 1c0a0381: Merge "Enable functional DSO object destruction"

* commit '1c0a0381dfb3648ffadef9537ec9383d63d62473':
  Enable functional DSO object destruction

13 years agoMerge "Enable functional DSO object destruction"
David Turner [Thu, 23 Jun 2011 11:39:04 +0000 (04:39 -0700)]
Merge "Enable functional DSO object destruction"

13 years agostrftime: Use snprintf() instead of sprintf()
Jim Huang [Thu, 16 Jun 2011 14:35:16 +0000 (22:35 +0800)]
strftime: Use snprintf() instead of sprintf()

Change-Id: I112ac012894eddc96e5f3e77cb87bb300596e3ce
Signed-off-by: Jim Huang <jserv@0xlab.org>
13 years agoMerge "Merge remote branch 'goog/dalvik-dev' into dalvik-dev-to-master"
Brian Carlstrom [Wed, 22 Jun 2011 21:45:07 +0000 (14:45 -0700)]
Merge "Merge remote branch 'goog/dalvik-dev' into dalvik-dev-to-master"

13 years agoMerge remote branch 'goog/dalvik-dev' into dalvik-dev-to-master
Brian Carlstrom [Wed, 22 Jun 2011 17:58:38 +0000 (10:58 -0700)]
Merge remote branch 'goog/dalvik-dev' into dalvik-dev-to-master

Change-Id: I795687c11ca2e8443f7c8c264e209501dab9b2c9

13 years agotime: Improve C99 compliance
Jim Huang [Thu, 16 Jun 2011 14:40:10 +0000 (22:40 +0800)]
time: Improve C99 compliance

Quote from Linux Programmer's Manual:
  "If t is non-NULL, the return value is also stored in the memory
   pointed to by t."

Change-Id: I8cb66b67e5f34c536ce2f0db76a6dc337c42ea3f
Signed-off-by: Jim Huang <jserv@0xlab.org>
13 years agoRe-generate resource.h from Linux 2.6.39
Glenn Kasten [Wed, 22 Jun 2011 00:49:32 +0000 (17:49 -0700)]
Re-generate resource.h from Linux 2.6.39

Change-Id: I22534914a4ae042ece4933bd372aafbc9129ab59

13 years agoEnable functional DSO object destruction
Bruce Beare [Mon, 20 Jun 2011 17:29:50 +0000 (10:29 -0700)]
Enable functional DSO object destruction

Unfortunately, legacy .so files for ARM don't have a correct crtbegin file.
Consequently, we have to grandfather the old __dso_handle behaviour.
Add some ifdefs for ARM to allow it to use the old code until we can work
out a transition.

Change-Id: I6a28f368267d792c94e1d985d8344023bc632f6f
Author: H.J. Lu <hongjiu.lu@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
13 years agoam d0909a87: am 4d9b75a9: Merge "libstdc++: make operator new call abort on failure."
David 'Digit' Turner [Fri, 17 Jun 2011 10:33:49 +0000 (03:33 -0700)]
am d0909a87: am 4d9b75a9: Merge "libstdc++: make operator new call abort on failure."

* commit 'd0909a874a0b4e2de1468021942c75712a4463fa':
  libstdc++: make operator new call abort on failure.

13 years agoam 4d9b75a9: Merge "libstdc++: make operator new call abort on failure."
David 'Digit' Turner [Fri, 17 Jun 2011 10:22:21 +0000 (03:22 -0700)]
am 4d9b75a9: Merge "libstdc++: make operator new call abort on failure."

* commit '4d9b75a9b08c19cef81b22f889edba61257fb356':
  libstdc++: make operator new call abort on failure.

13 years agoMerge "libstdc++: make operator new call abort on failure."
David 'Digit' Turner [Fri, 17 Jun 2011 09:51:58 +0000 (02:51 -0700)]
Merge "libstdc++: make operator new call abort on failure."

13 years agolibstdc++: make operator new call abort on failure.
David 'Digit' Turner [Tue, 14 Jun 2011 19:58:55 +0000 (21:58 +0200)]
libstdc++: make operator new call abort on failure.

This change ensures that operator new will call abort() in case
of memory allocation failure. Note that due to our usage of memory
overcommit, this can only happen under very rare circumstances
(i.e. trying to allocate memory larger than the larger free range
of virtual address space, or when memory is corrutped in various
ways).

Change-Id: I128b8bf626216e899c22a00f24492cd148a1fc94

13 years agoUpdate linux/input.h header to 2.6.39.
Jeff Brown [Mon, 13 Jun 2011 01:09:00 +0000 (18:09 -0700)]
Update linux/input.h header to 2.6.39.

Change-Id: I48e32adb78aac7e9a79163177fcea827159bd906

13 years agoFix build.
Elliott Hughes [Thu, 9 Jun 2011 20:03:03 +0000 (13:03 -0700)]
Fix build.

prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/stingray/obj/lib/libc.so: error: undefined reference to '_inet_pton'

Change-Id: Iee9f1ee87d0a37fa6aa91ecfb6283a7e03fb91c2

13 years agoam 09dc7fb1: am b127b1f2: Merge "libc: enable IPTOS_MINCOST, fixup gethostbyaddr...
Jean-Baptiste Queru [Thu, 9 Jun 2011 00:31:37 +0000 (17:31 -0700)]
am 09dc7fb1: am b127b1f2: Merge "libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto."

* commit '09dc7fb1b893221776ef5d35d9aaecd07f95eceb':
  libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto.

13 years agoam 1952c8f4: am e1bd6aa4: Merge "Update netlink-related kernel includes"
Jean-Baptiste Queru [Thu, 9 Jun 2011 00:31:34 +0000 (17:31 -0700)]
am 1952c8f4: am e1bd6aa4: Merge "Update netlink-related kernel includes"

* commit '1952c8f43087511fa54ee30a71abf6965597384b':
  Update netlink-related kernel includes

13 years agoam 2cc0f8e9: am 81ec4e43: Merge "Add icmp6.h and ip6.h files from current NetBSD...
Jean-Baptiste Queru [Thu, 9 Jun 2011 00:31:31 +0000 (17:31 -0700)]
am 2cc0f8e9: am 81ec4e43: Merge "Add icmp6.h and ip6.h files from current NetBSD libc."

* commit '2cc0f8e9b9e5df8439072f1548a90ee48dda0e63':
  Add icmp6.h and ip6.h files from current NetBSD libc.

13 years agoUpdate to the latest NetBSD inet_pton.c.
Elliott Hughes [Thu, 9 Jun 2011 00:17:53 +0000 (17:17 -0700)]
Update to the latest NetBSD inet_pton.c.

Bug: 4580520
Change-Id: I1079574b14e78e153e10ac527ca406ef560af310

13 years agoAdd support for a dns cache per interface
Mattias Falk [Mon, 4 Apr 2011 14:12:35 +0000 (16:12 +0200)]
Add support for a dns cache per interface

Initial commit for dns cache per interface.
Added a type that holds a reference to a
cache and name of associated interface,
address of interface, name server(s)
associated with an interface etc.

New functions to set default interface,
address of name servers etc.

Change-Id: Ie991bc5592fd998409853d8bf77d7fe69035dac5

13 years agoam b127b1f2: Merge "libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto."
Jean-Baptiste Queru [Tue, 7 Jun 2011 20:24:04 +0000 (13:24 -0700)]
am b127b1f2: Merge "libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto."

* commit 'b127b1f208e67d74a7ee94ad2bd0ffb2fed3af6b':
  libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto.

13 years agoam e1bd6aa4: Merge "Update netlink-related kernel includes"
Jean-Baptiste Queru [Tue, 7 Jun 2011 20:24:01 +0000 (13:24 -0700)]
am e1bd6aa4: Merge "Update netlink-related kernel includes"

* commit 'e1bd6aa4e10e6b05e74d915c52e11a3998217522':
  Update netlink-related kernel includes

13 years agoam 81ec4e43: Merge "Add icmp6.h and ip6.h files from current NetBSD libc."
Jean-Baptiste Queru [Tue, 7 Jun 2011 20:23:58 +0000 (13:23 -0700)]
am 81ec4e43: Merge "Add icmp6.h and ip6.h files from current NetBSD libc."

* commit '81ec4e437a192189d6abdf32988504c371e52c27':
  Add icmp6.h and ip6.h files from current NetBSD libc.

13 years agoam 4aa32153: am 2cae7967: Merge "libc: Fix prctl() declaration."
David 'Digit' Turner [Tue, 7 Jun 2011 17:49:32 +0000 (10:49 -0700)]
am 4aa32153: am 2cae7967: Merge "libc: Fix prctl() declaration."

* commit '4aa321538afde20a632ed666f83f40f892505550':
  libc: Fix prctl() declaration.

13 years agoRevert "Update X86 Bionic CRT files for unwind/exceptions"
Martijn Coenen [Tue, 7 Jun 2011 15:19:36 +0000 (17:19 +0200)]
Revert "Update X86 Bionic CRT files for unwind/exceptions"

This reverts commit dc3bc87b43d0d73d89cca59692b80de878e11a5d,
causes netd to crash.

13 years agoRevert "x86: Enable -fstack-protector"
Martijn Coenen [Tue, 7 Jun 2011 15:19:12 +0000 (17:19 +0200)]
Revert "x86: Enable -fstack-protector"

This reverts commit e0b4844a20ffd022a568abb4203b3f7c759c7ff5,
causes netd to crash.

13 years agoam 204d1f65: am b2c7e0c1: Merge "x86: Enable -fstack-protector"
David Turner [Mon, 6 Jun 2011 19:57:08 +0000 (12:57 -0700)]
am 204d1f65: am b2c7e0c1: Merge "x86: Enable -fstack-protector"

* commit '204d1f65dbfc6d5a14a90627d9d1efcfce8261ee':
  x86: Enable -fstack-protector

13 years agoam a57270b6: am 56baceca: Merge "Update X86 Bionic CRT files for unwind/exceptions"
David Turner [Mon, 6 Jun 2011 19:57:00 +0000 (12:57 -0700)]
am a57270b6: am 56baceca: Merge "Update X86 Bionic CRT files for unwind/exceptions"

* commit 'a57270b6ab2978764920ade17448f94875249001':
  Update X86 Bionic CRT files for unwind/exceptions

13 years agoam 2cae7967: Merge "libc: Fix prctl() declaration."
David 'Digit' Turner [Mon, 6 Jun 2011 19:27:10 +0000 (12:27 -0700)]
am 2cae7967: Merge "libc: Fix prctl() declaration."

* commit '2cae7967e6049e45eaef71207481b6f8b2456025':
  libc: Fix prctl() declaration.

13 years agoam b2c7e0c1: Merge "x86: Enable -fstack-protector"
David Turner [Mon, 6 Jun 2011 18:32:49 +0000 (11:32 -0700)]
am b2c7e0c1: Merge "x86: Enable -fstack-protector"

* commit 'b2c7e0c18b7ab04cfe306277c79165de0612a2d1':
  x86: Enable -fstack-protector

13 years agoam 56baceca: Merge "Update X86 Bionic CRT files for unwind/exceptions"
David Turner [Mon, 6 Jun 2011 18:32:38 +0000 (11:32 -0700)]
am 56baceca: Merge "Update X86 Bionic CRT files for unwind/exceptions"

* commit '56baceca024f1cc2a5e8ef8c5e7ba7ea463d1ae2':
  Update X86 Bionic CRT files for unwind/exceptions

13 years agoMerge commit 'a7f976c9de3c20cc8cdde4f3dfeeb48a1a89adb7' into honeycomb-mr2-release...
Brian Carlstrom [Fri, 3 Jun 2011 19:40:34 +0000 (12:40 -0700)]
Merge commit 'a7f976c9de3c20cc8cdde4f3dfeeb48a1a89adb7' into honeycomb-mr2-release-to-dalvik-dev

13 years agoMerge "libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto."
Jean-Baptiste Queru [Thu, 2 Jun 2011 22:31:01 +0000 (15:31 -0700)]
Merge "libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto."

13 years agolibc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto.
JP Abgrall [Wed, 18 May 2011 23:53:23 +0000 (16:53 -0700)]
libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto.

Make netinet/ip.h have IPTOS_MINCOST which matches what
  kernel/common/linux/ip.h has to say.
Fixup gethostbyaddr() 1st arg to match what man has to say.

Change-Id: Iff9647d4a46ea88b1fc32163eb69bb9b27cdf370