Commit graph

730 commits

Author SHA1 Message Date
Jean-Baptiste Queru
b05aa15000 Merge "Replace all occurrances of asm with __asm__ in the output headers" 2010-12-28 11:10:31 -08:00
David Turner
a4f6d2281f Merge "Add a method for replacing tokens in the preprocessed headers" 2010-12-20 02:43:26 -08:00
Jean-Baptiste Queru
c99892f155 am a9e5bbfd: Merge "Support usage of __ARM_HAVE_LDREX_STREX"
* commit 'a9e5bbfd3d321bf52226d3fd57ed390925ab6a3d':
  Support usage of __ARM_HAVE_LDREX_STREX
2010-12-15 09:29:06 -08:00
Jean-Baptiste Queru
a9e5bbfd3d Merge "Support usage of __ARM_HAVE_LDREX_STREX" 2010-12-15 09:21:34 -08:00
David Turner
572fced5b0 am 9691ecc9: Merge "Remove extra/unneeded copy of fenv.h"
* commit '9691ecc9a768e7e08cb6af0b454029195ffc285f':
  Remove extra/unneeded copy of fenv.h
2010-12-14 07:19:17 -08:00
David Turner
9691ecc9a7 Merge "Remove extra/unneeded copy of fenv.h" 2010-12-14 07:09:35 -08:00
Martin Storsjo
c9205dba43 Replace all occurrances of asm with __asm__ in the output headers
asm() conflicts with userland code compiled with -std=c99, the userland
libc should only use __asm__() instead. Therefore, this transformation
has to be applied to all exported headers.

This only changes arch-arm/asm/byteorder.h.

Change-Id: I1cf88c37201c3a91668d387293a18885c316d53c
2010-12-08 11:41:37 +01:00
Martin Storsjo
d32c8052fc Add a method for replacing tokens in the preprocessed headers
Change-Id: I14cf6337945560b012732ae0fe7a247074810678
2010-12-08 11:40:59 +01:00
David Turner
48bebaeca8 am 4efbf95d: Merge "Use proper variable typing"
* commit '4efbf95d8c88a3a203d687d9048b51e256ef3641':
  Use proper variable typing
2010-12-07 06:38:26 -08:00
David Turner
4efbf95d8c Merge "Use proper variable typing" 2010-12-07 06:27:23 -08:00
David Turner
e05762a531 am 8e6435ea: Merge "Add defines for CAIF support"
* commit '8e6435ead5b118f1fd458d4acbdd0bf86754ab1b':
  Add defines for CAIF support
2010-12-06 13:31:43 -08:00
David Turner
8e6435ead5 Merge "Add defines for CAIF support" 2010-12-06 13:18:37 -08:00
Jean-Baptiste Queru
b11d7c3eca am bcb0a925: Merge "sigsetmask.c was not processing the "mask" argument."
* commit 'bcb0a925b0d6d545bbd9a4ebd9ac61bdacbfa2fe':
  sigsetmask.c was not processing the "mask" argument.
2010-12-06 10:55:14 -08:00
Jean-Baptiste Queru
bcb0a925b0 Merge "sigsetmask.c was not processing the "mask" argument." 2010-12-06 10:42:08 -08:00
Bruce Beare
9a9c1619b8 sigsetmask.c was not processing the "mask" argument.
Change-Id: I79b898ea5b882e8c0564e25466e827a9bedda6e8
Author: yhe19 <yunan.he@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
2010-12-03 16:48:47 -08:00
Bruce Beare
2bf3ec03c3 Add defines for CAIF support
Change-Id: I32d2e02814f1965ebdcecb804e947ff303dbe230
Author: Mark Gross <mark.gross@intel.com>
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
2010-12-03 16:14:59 -08:00
Jean-Baptiste Queru
24dc936346 resolved conflicts for merge of 1bc98ccb to gingerbread-plus-aosp
Change-Id: Ief9ec3d0472660e26864e082e03c26e09a043b9d
2010-11-22 13:34:59 -08:00
Jean-Baptiste Queru
1bc98ccb76 Merge "bionic: Add ARM optimized strcpy()" 2010-11-22 13:02:25 -08:00
Jim Huang
73c04b3269 bionic: Add ARM optimized strcpy()
Reference results of the experiments on Qualcomm MSM7x25 (524MHz):

[original C code]
             prc thr   usecs/call      samples   errors cnt/samp
size
strcpy_1k      1   1     14.56159           99        0     1000
1024

[ARM optimized code]
             prc thr   usecs/call      samples   errors cnt/samp
size
strcpy_1k      1   1      3.46653           99        0     1000
1024

The work was derived from ARM Ltd.

Change-Id: I906ac53bb7a7285e14693c77d3ce8d4ed6f98bfd
2010-11-22 13:01:32 -08:00
Jean-Baptiste Queru
9f1a7f933d am ea0fe856: Merge "Bionic: Aliasing problems with frexpf"
* commit 'ea0fe8563db2a5854d30b3c770c406356f55cfe8':
  Bionic: Aliasing problems with frexpf
2010-11-18 22:39:15 -08:00
Jean-Baptiste Queru
ea0fe8563d Merge "Bionic: Aliasing problems with frexpf" 2010-11-17 18:15:58 -08:00
Rodrigo Obregon
fddaafceda Bionic: Aliasing problems with frexpf
This patch fixes a known bug in bionic libm
due to aliasing issues in gcc 4.2 and 4.4; more
specifically in frexpf.

The function frexpf is used to extract the
mantissa and exponent from a double precision number.

The bug has already been reported here:
https://code.google.com/p/android/issues/detail?id=6697

Change-Id: I2e1f2e0a45906642d2225b9d150ed391d2bf331c
Signed-off-by: Rodrigo Obregon <robregon@ti.com>
2010-11-05 12:15:26 -05:00
Nick Pelly
61c9b8e14a am 7bbd4580: Add pn544.h clean kernel header
* commit '7bbd4580afe0347892a0680b5917ec7df38c003a':
  Add pn544.h clean kernel header
2010-11-01 14:02:02 -07:00
Nick Pelly
7bbd4580af Add pn544.h clean kernel header
Allows pn544 hardware reset

Change-Id: I6d6d22b16c228f03a70a14a4655a41005761b5d6
Signed-off-by: Nick Pelly <npelly@google.com>
2010-11-01 15:49:19 -05:00
Jean-Baptiste Queru
f2c05baac4 am 96c03c7d: Merge "Remove duplicated _rand48 implementation. Use stdlib version instead"
Merge commit '96c03c7dcc8cad59f2b8f3e6fef6a77a43750756' into gingerbread-plus-aosp

* commit '96c03c7dcc8cad59f2b8f3e6fef6a77a43750756':
  Remove duplicated _rand48 implementation. Use stdlib version instead
2010-10-25 17:32:13 -07:00
Jean-Baptiste Queru
96c03c7dcc Merge "Remove duplicated _rand48 implementation. Use stdlib version instead" 2010-10-25 16:28:03 -07:00
Jim Huang
70478100d5 Remove duplicated _rand48 implementation. Use stdlib version instead
Originally, there are _rand48 (in libc/bionic/_rand48.c) and __rand48
(in libc/stdlib/_rand48.c) implemented in bionic.  Besides the naming,
the functionality is identical.  This patch removes the duplicated
_rand48.  Also, drand48 and erand48 are modified accordingly.

Change-Id: Ie5761a0a97f45df8538222a77edacb7c3e0125d7
2010-10-25 16:27:47 -07:00
David 'Digit' Turner
f7ad13b0ce am 1df986c2: libc: fix executable destruction support.
Merge commit '1df986c21ee52c6756846b4a5e45cb316f772112' into gingerbread-plus-aosp

* commit '1df986c21ee52c6756846b4a5e45cb316f772112':
  libc: fix executable destruction support.
2010-10-21 09:43:19 -07:00
David 'Digit' Turner
1df986c21e libc: fix executable destruction support.
This change allows an executable to call its destructor functions
(declared with __attribute__((destructor))) to be properly called
when it normally exits.

Note that this is different from calling the destructors of a shared
library when it is unloaded with dlclose() or through program exit,
which are already supported.

Bug: 3106500
Change-Id: I1412ef5407f13b613fc6cb6103e0a691dbee4b1a
2010-10-21 04:16:50 +02:00
Jean-Baptiste Queru
aeb41ec103 am b2061a30: Merge "resolv: make internal symbols static/hidden"
Merge commit 'b2061a30da29ee531c16862a5be3566e3b860839' into gingerbread-plus-aosp

* commit 'b2061a30da29ee531c16862a5be3566e3b860839':
  resolv: make internal symbols static/hidden
2010-10-20 19:10:09 -07:00
Jean-Baptiste Queru
001a321897 am 4afe0f47: Merge "time64: make helper functions static"
Merge commit '4afe0f4724b3d7180d67eae29bfdad5f815857cb' into gingerbread-plus-aosp

* commit '4afe0f4724b3d7180d67eae29bfdad5f815857cb':
  time64: make helper functions static
2010-10-20 18:57:55 -07:00
Jean-Baptiste Queru
6ac5660e1c am ade2a929: Merge "bionic: stubs: Make internal symbol static"
Merge commit 'ade2a92991d1c7edc32c4a300bd83d622fa1567d' into gingerbread-plus-aosp

* commit 'ade2a92991d1c7edc32c4a300bd83d622fa1567d':
  bionic: stubs: Make internal symbol static
2010-10-20 18:57:53 -07:00
Jean-Baptiste Queru
1203671b47 am 2215c113: Merge "pthread-timers: Hide internal symbol __timer_table_start_stop"
Merge commit '2215c11325d0af07cde67bfee7bafa09ee5556a7' into gingerbread-plus-aosp

* commit '2215c11325d0af07cde67bfee7bafa09ee5556a7':
  pthread-timers: Hide internal symbol __timer_table_start_stop
2010-10-20 18:57:51 -07:00
Jean-Baptiste Queru
b2061a30da Merge "resolv: make internal symbols static/hidden" 2010-10-20 18:55:52 -07:00
Jean-Baptiste Queru
4afe0f4724 Merge "time64: make helper functions static" 2010-10-20 18:54:17 -07:00
Jean-Baptiste Queru
ade2a92991 Merge "bionic: stubs: Make internal symbol static" 2010-10-20 18:52:10 -07:00
Jean-Baptiste Queru
2215c11325 Merge "pthread-timers: Hide internal symbol __timer_table_start_stop" 2010-10-20 18:49:51 -07:00
Jean-Baptiste Queru
958214aa99 am 8ad63d74: Merge "stdlib: strtod: Hide internal symbol __dtoa"
Merge commit '8ad63d745d4ec1edea0bbd04fd0644983ad77bf5' into gingerbread-plus-aosp

* commit '8ad63d745d4ec1edea0bbd04fd0644983ad77bf5':
  stdlib: strtod: Hide internal symbol __dtoa
2010-10-19 15:22:22 -07:00
Jean-Baptiste Queru
1a6939d27b am 1e0a4e18: Merge "stdio: make internal symbols static/hidden"
Merge commit '1e0a4e18927805a2a1b602659c512916df345bde' into gingerbread-plus-aosp

* commit '1e0a4e18927805a2a1b602659c512916df345bde':
  stdio: make internal symbols static/hidden
2010-10-19 15:22:20 -07:00
Jean-Baptiste Queru
bcd9404445 am 847223de: Merge "__set_errno: Hide internal symbol __set_syscall_errno"
Merge commit '847223de9ceff6db468a8246792542517a12d39f' into gingerbread-plus-aosp

* commit '847223de9ceff6db468a8246792542517a12d39f':
  __set_errno: Hide internal symbol __set_syscall_errno
2010-10-19 15:22:17 -07:00
Jean-Baptiste Queru
d29b8a51a5 am 5109146f: Merge "Reconcile assembly-only macros in <machine/cpu-features.h>"
Merge commit '5109146f954d8cca39d34689bff2762e15bc6933' into gingerbread-plus-aosp

* commit '5109146f954d8cca39d34689bff2762e15bc6933':
  Reconcile assembly-only macros in <machine/cpu-features.h>
2010-10-19 15:21:57 -07:00
Jean-Baptiste Queru
8ad63d745d Merge "stdlib: strtod: Hide internal symbol __dtoa" 2010-10-19 15:02:44 -07:00
Jean-Baptiste Queru
1e0a4e1892 Merge "stdio: make internal symbols static/hidden" 2010-10-19 14:58:11 -07:00
Jean-Baptiste Queru
847223de9c Merge "__set_errno: Hide internal symbol __set_syscall_errno" 2010-10-19 14:53:28 -07:00
Jean-Baptiste Queru
5109146f95 Merge "Reconcile assembly-only macros in <machine/cpu-features.h>" 2010-10-19 14:49:28 -07:00
Jean-Baptiste Queru
82775ae0ac resolved conflicts for merge of 347db52a to gingerbread-plus-aosp
Change-Id: I706a5158e781cbbc00344a72badca1543bcbca15
2010-10-15 12:52:21 -07:00
Jean-Baptiste Queru
347db52a1d Merge "Update ATOM string routines to latest" 2010-10-15 09:38:46 -07:00
Jim Huang
cd9c98dfda __set_errno: Hide internal symbol __set_syscall_errno
Change-Id: I21e7ef6bf0bca288069275add43bd53294c0760d
2010-10-15 03:07:22 +08:00
Jim Huang
c9a41a6997 pthread-timers: Hide internal symbol __timer_table_start_stop
Change-Id: If99c5816fe6fa9107aa6bef4697048fabf92283f
2010-10-15 02:28:22 +08:00
Jim Huang
c940945155 bionic: stubs: Make internal symbol static
Thread-specific state for the stubs functions should not be exposed to
applications.

Change-Id: I4d35dab6009dab8db7781671ac5cc9b5f6904e84
2010-10-15 02:23:00 +08:00