David 'Digit' Turner
5c734644ee
Fix debug output in the dynamic linker.
...
This provides a mini-printf implementation that reduces the
size of the dynamic linker by 25 KB, by preventing the drag of
formatting-related routines from the C library.
Also allow traces to be sent to the log, instead of stdout.
NOTE: You now need to modify Android.mk to enable/disable debug
output.
2010-02-11 10:46:48 -08:00
Iliyan Malchev
e100f52f4a
bionic/linker: rename ba_prelink to ba_nonprelink
...
-- fixes b/2432550
-- ba_prelink is used to manage non-prelinked libraries, hence ba_nonprelink is
a more appropriate name for it
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-02-10 19:14:35 -08:00
David Turner
16f7d16f9f
Merge "Fix <sys/epoll.h> and <sys/system_properties.h> to include proper C++ inclusion guards"
2010-02-09 14:50:57 -08:00
David 'Digit' Turner
49f0a8f23b
Fix <sys/epoll.h> and <sys/system_properties.h> to include proper C++ inclusion guards
2010-02-09 14:05:43 -08:00
Iliyan Malchev
53691d7df2
am 58060c50
: am ee424e23
: bionic: update processed kernel header a1026.h
...
Merge commit '58060c50bc4228a7d0253338cae0437211759959'
* commit '58060c50bc4228a7d0253338cae0437211759959':
bionic: update processed kernel header a1026.h
2010-02-09 09:32:25 -08:00
Iliyan Malchev
58060c50bc
am ee424e23
: bionic: update processed kernel header a1026.h
...
Merge commit 'ee424e23c10c051ee4760177c85f6003ff20108c' into eclair-plus-aosp
* commit 'ee424e23c10c051ee4760177c85f6003ff20108c':
bionic: update processed kernel header a1026.h
2010-02-09 09:25:57 -08:00
Iliyan Malchev
ee424e23c1
bionic: update processed kernel header a1026.h
...
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-02-08 15:57:09 -08:00
The Android Open Source Project
34e6991c97
am 1db87472
: am ba8bfedd
: reconcile main tree with open-source eclair
...
Merge commit '1db874720a58ff7e3684116d59ad08bc73db26d9'
* commit '1db874720a58ff7e3684116d59ad08bc73db26d9':
android-2.1_r1 snapshot
2010-02-05 14:14:46 -08:00
The Android Open Source Project
1db874720a
am ba8bfedd
: reconcile main tree with open-source eclair
...
Merge commit 'ba8bfedd04824eea944236ffc885f866c5e9c651' into eclair-plus-aosp
* commit 'ba8bfedd04824eea944236ffc885f866c5e9c651':
android-2.1_r1 snapshot
2010-02-05 08:44:18 -08:00
The Android Open Source Project
ba8bfedd04
reconcile main tree with open-source eclair
2010-02-05 08:09:31 -08:00
Iliyan Malchev
2721fbd208
am c0472409
: am d0996bb4
: bionic: update processed kernel header tpa2018d1.h
...
Merge commit 'c0472409d14eebf797df962dd78fc31afbc4bd07'
* commit 'c0472409d14eebf797df962dd78fc31afbc4bd07':
bionic: update processed kernel header tpa2018d1.h
2010-02-02 16:22:10 -08:00
Iliyan Malchev
34f411e5fd
am 7ec87a19
: am 276313ec
: bionic: add processed kernel headers a1026.h and tpa2018d1.h
...
Merge commit '7ec87a1926250d3c1f74193bf36417707e691e10'
* commit '7ec87a1926250d3c1f74193bf36417707e691e10':
bionic: add processed kernel headers a1026.h and tpa2018d1.h
2010-02-02 16:22:06 -08:00
Iliyan Malchev
c0472409d1
am d0996bb4
: bionic: update processed kernel header tpa2018d1.h
...
Merge commit 'd0996bb4cd6b6d0fa7c643a809f01e33adc2638d' into eclair-plus-aosp
* commit 'd0996bb4cd6b6d0fa7c643a809f01e33adc2638d':
bionic: update processed kernel header tpa2018d1.h
2010-02-02 14:21:05 -08:00
Iliyan Malchev
7ec87a1926
am 276313ec
: bionic: add processed kernel headers a1026.h and tpa2018d1.h
...
Merge commit '276313ec18c18a07e867dffe568a377583cfd905' into eclair-plus-aosp
* commit '276313ec18c18a07e867dffe568a377583cfd905':
bionic: add processed kernel headers a1026.h and tpa2018d1.h
2010-02-02 14:21:02 -08:00
Iliyan Malchev
d0996bb4cd
bionic: update processed kernel header tpa2018d1.h
...
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-02-02 13:42:55 -08:00
Iliyan Malchev
276313ec18
bionic: add processed kernel headers a1026.h and tpa2018d1.h
...
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-02-02 11:56:29 -08:00
Iliyan Malchev
cdcc2648ba
bionic: update processed kernel header msm_camera.h
...
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-01-31 17:22:25 -08:00
The Android Open Source Project
e964f3a095
reconcile android-2.1_r1 snapshot
2010-01-29 14:07:31 -08:00
David Turner
f597049b40
Merge "Implement clone() C library function properly."
2010-01-25 14:30:17 -08:00
David 'Digit' Turner
97cf7f3394
Implement clone() C library function properly.
...
Only provide an implementation for ARM at the moment, since
it requires specific assembly fragments (the standard syscall
stubs cannot be used because the child returns in a different
stack).
2010-01-25 11:18:30 -08:00
Doug Kwan
90f82e5868
Fix typo in a comment.
2010-01-25 11:09:31 -08:00
Doug Kwan
1a2917ca95
Align TEXT section to 4K boundary so that we can use both ld and gold.
2010-01-25 10:24:50 -08:00
David 'Digit' Turner
d6bf8f9229
Add Bionic Changelog in libc/docs/CHANGES.TXT
2010-01-21 16:25:38 -08:00
Colin Cross
fc10b24acc
Add implementation of fdprintf, clearenv, and stubs for ttyname_r, *usershell
...
Change-Id: I5fe7e8b6ee5edbb49e707c3b6737a58563781fa3
2010-01-15 16:52:35 -08:00
Colin Cross
8c59d96e24
Add killpg function
...
Change-Id: I9bc347d264fe38faf2d0f9935d2ebb43a353196e
2010-01-15 16:27:04 -08:00
Colin Cross
64ceac3f49
Add fts, err, and sys/queue for grep
...
Change-Id: Id47514a1812d828e95efa2fab0e9c15c5b682b58
2010-01-15 15:57:02 -08:00
Colin Cross
c29731a491
mntent.h requires stdio.h
...
Change-Id: If69f64cf088dedb19602bf47627d03400abb9095
2010-01-15 15:57:02 -08:00
Colin Cross
e9d08ba523
Add definition of rlim_t
...
Change-Id: Ie8c2451360cbcce9fc1587528a95aca09a03d0de
2010-01-15 15:57:02 -08:00
Colin Cross
2497f65fee
Import change from ctype.h revision 1.20 from openbsd
...
Fixes builds with gcc >= 4.3 with -std=gnu99
Change-Id: I8729b7f4237fd7a99a82b2fe60573a7afe66b435
2010-01-15 15:57:02 -08:00
Colin Cross
d1cfc947f9
Import include/arpa/telnet.h from BSD
...
Change-Id: I684251bfb8ef04f0706866ea55dceebcd2a5b0e1
2010-01-15 15:15:52 -08:00
Colin Cross
4fa7b10564
Import regex from OpenBSD
...
Change-Id: I7ad7d907ef65e4e345f94777d730813b1270a612
2010-01-15 15:01:44 -08:00
Colin Cross
3839580cd9
Merge "Use correct TLS codepath for linker"
2010-01-15 14:07:40 -08:00
Gary King
278d157f43
Use correct TLS codepath for linker
...
Replicate ARM libc build's HAVE_ARM_TLS_REGISTER preprocessor definition
logic, to ensure that the runtime linker uses the correct codepath for
accessing the TLS address
2010-01-12 17:37:44 -08:00
The Android Open Source Project
a809abb086
android-2.1_r1 snapshot
2010-01-12 15:18:05 -08:00
Colin Cross
6458c49c96
Fix ptsname_r(3) return type to match glibc
...
The gHardy man pages specify the return type of ptsname_r to be char*, but the
return value to be 0 on success, negative on error and the gHardy stdlib.h
defines extern int ptsname_r(...).
Busybox telnetd fails to run successfully without this change.
2010-01-12 12:58:12 -08:00
Elliott Hughes
0b5db51ea6
Merge "Fix usleep(3) return type to be POSIX-compliant."
2010-01-07 15:54:35 -08:00
Ben Cheng
ee84231886
Add user-space ptrace data structure to dump VFP registers and status word.
2009-12-17 12:46:45 -08:00
Android Git Automerger
70b5ddafd4
Merge commit 'goog/eclair-plus-aosp'
2009-12-15 00:44:05 -08:00
Elliott Hughes
99d7907611
Fix usleep(3) return type to be POSIX-compliant.
...
POSIX usleep(3) returns 0 on successful completion, -1 otherwise:
http://www.opengroup.org/onlinepubs/007908799/xsh/usleep.html
This was found by an external user porting native code:
http://groups.google.com/group/android-porting/browse_thread/thread/674848f001db0292
2009-12-14 17:07:19 -08:00
Mathias Agopian
278d960aae
am f197147a
: am ca07064c
: am 5f53a182
: Revert "Add qsort_r() implementation to the C library."
...
Merge commit 'f197147a787d7415e6e0a1bad15566836c55befb'
* commit 'f197147a787d7415e6e0a1bad15566836c55befb':
Revert "Add qsort_r() implementation to the C library."
2009-12-04 04:31:23 -08:00
David 'Digit' Turner
44358b9fed
am be71c814
: am 20b3097d
: am 754c178a
: Add qsort_r() implementation to the C library.
...
Merge commit 'be71c8142d4225dd9af4742ec050f30fcbc2aa5e'
* commit 'be71c8142d4225dd9af4742ec050f30fcbc2aa5e':
Add qsort_r() implementation to the C library.
2009-12-04 04:29:36 -08:00
Dima Zavin
4cf30fb534
am a0783df1
: am df55c642
: am e1e68492
: Merge change Ifa58a406 into eclair
...
Merge commit 'a0783df14eaf9b0d858dd42d4e8a64a738314900'
* commit 'a0783df14eaf9b0d858dd42d4e8a64a738314900':
libc: kernel: Update msm_kgsl.h header
2009-12-03 17:21:46 -08:00
Mathias Agopian
f197147a78
am ca07064c
: am 5f53a182
: Revert "Add qsort_r() implementation to the C library."
...
Merge commit 'ca07064c9ebd8523ed88fa09e97feaaafb7e9c15' into eclair-mr2-plus-aosp
* commit 'ca07064c9ebd8523ed88fa09e97feaaafb7e9c15':
Revert "Add qsort_r() implementation to the C library."
2009-12-03 17:15:16 -08:00
Mathias Agopian
caa17a905a
am 5f53a182
: Revert "Add qsort_r() implementation to the C library."
...
Merge commit '5f53a18204ec991f5a77872806eeaa185936aa8c' into eclair-plus-aosp
* commit '5f53a18204ec991f5a77872806eeaa185936aa8c':
Revert "Add qsort_r() implementation to the C library."
2009-12-03 17:10:45 -08:00
Mathias Agopian
ca07064c9e
am 5f53a182
: Revert "Add qsort_r() implementation to the C library."
...
Merge commit '5f53a18204ec991f5a77872806eeaa185936aa8c' into eclair-mr2
* commit '5f53a18204ec991f5a77872806eeaa185936aa8c':
Revert "Add qsort_r() implementation to the C library."
2009-12-03 17:10:14 -08:00
David 'Digit' Turner
be71c8142d
am 20b3097d
: am 754c178a
: Add qsort_r() implementation to the C library.
...
Merge commit '20b3097d4cc225d948dac38e778a9d3b3b1549db' into eclair-mr2-plus-aosp
* commit '20b3097d4cc225d948dac38e778a9d3b3b1549db':
Add qsort_r() implementation to the C library.
2009-12-03 16:44:43 -08:00
Doug Kwan
d548a265ca
Add missing symbol type directives.
2009-12-03 16:26:04 -08:00
Mathias Agopian
5f53a18204
Revert "Add qsort_r() implementation to the C library."
...
This reverts commit 754c178ae5
.
Turns out we don't need it afterall (needed a stable sort anyways).
So, we'll make that change in the dev branch instead.
2009-12-03 16:14:40 -08:00
David 'Digit' Turner
20b3097d4c
am 754c178a
: Add qsort_r() implementation to the C library.
...
Merge commit '754c178ae551aedcbbfd3bfd1c1c3b710d9ad989' into eclair-mr2
* commit '754c178ae551aedcbbfd3bfd1c1c3b710d9ad989':
Add qsort_r() implementation to the C library.
2009-12-03 16:00:48 -08:00
David 'Digit' Turner
f7ee5739fa
am 754c178a
: Add qsort_r() implementation to the C library.
...
Merge commit '754c178ae551aedcbbfd3bfd1c1c3b710d9ad989' into eclair-plus-aosp
* commit '754c178ae551aedcbbfd3bfd1c1c3b710d9ad989':
Add qsort_r() implementation to the C library.
2009-12-03 16:00:26 -08:00