Dmitriy Ivanov
ac8049349f
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
2014-02-20 19:46:23 +00:00
Elliott Hughes
bfa2b6fc6a
Merge "Stop advertising an arm32-specific hack like it's a build system feature."
2014-02-20 19:41:15 +00:00
Dmitriy Ivanov
54d49ac75b
Merge "Added script generating additions to libgcc_compat.c from linker errors"
2014-02-20 19:40:08 +00:00
Elliott Hughes
6e39ba73bf
Stop advertising an arm32-specific hack like it's a build system feature.
...
Change-Id: I3a830b4a3516b6eb8e4f8e6e6b122a22a2e341df
2014-02-20 11:36:55 -08:00
Elliott Hughes
8a498e4ab2
am ca566b31
: Merge "Don\'t explicitly list the tzcode files."
...
* commit 'ca566b31036704eb6cdde05a0bd9ee972d7a995d':
Don't explicitly list the tzcode files.
2014-02-20 19:35:21 +00:00
Dmitriy Ivanov
adab51aefd
Added script generating additions to libgcc_compat.c from linker errors
...
bug: 12234455
Change-Id: Icac35237f06e75745da5a91d9c4c941d7df4f84d
2014-02-20 11:34:08 -08:00
Elliott Hughes
ca566b3103
Merge "Don't explicitly list the tzcode files."
2014-02-20 19:31:13 +00:00
Elliott Hughes
1fbe6213cd
Don't explicitly list the tzcode files.
...
Change-Id: I3ac19899523ac1f5fd2fdd6c942aefce75a964a4
2014-02-20 11:28:20 -08:00
Elliott Hughes
7809d7f4cb
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
2014-02-20 14:01:20 +00:00
Elliott Hughes
2bed56599f
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.
2014-02-20 14:01:19 +00:00
Narayan Kamath
8b6579d02b
am d9459525
: Merge "Fix signbit / infinite / isinf / isnan unit tests."
...
* commit 'd9459525b4133e825bf95d03b06e695433c124bd':
Fix signbit / infinite / isinf / isnan unit tests.
2014-02-20 10:08:22 +00:00
Narayan Kamath
d9459525b4
Merge "Fix signbit / infinite / isinf / isnan unit tests."
2014-02-20 10:03:56 +00:00
Elliott Hughes
f0e9d652fa
am 75f04d10
: Merge "Remove the useless _C_LABEL from generated system calls."
...
* commit '75f04d107695f17bc800024d03e03b602dc02ee1':
Remove the useless _C_LABEL from generated system calls.
2014-02-20 03:06:31 +00:00
Elliott Hughes
75f04d1076
Merge "Remove the useless _C_LABEL from generated system calls."
2014-02-20 03:00:16 +00:00
Elliott Hughes
d465eb4e76
Remove the useless _C_LABEL from generated system calls.
...
Change-Id: Id1d2fd39972652831ea825f6f9cf940b08f42b5c
2014-02-19 18:59:19 -08:00
Elliott Hughes
6a734b6df5
am 79183d7f
: am 6db95a86
: Merge "Top-level documentation about working on bionic."
...
* commit '79183d7ff46d5f2f1d465890da57aa4c510bb131':
Top-level documentation about working on bionic.
2014-02-20 00:33:56 +00:00
Elliott Hughes
42049f4b9c
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
2014-02-19 23:45:49 +00:00
Elliott Hughes
bde420bb86
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.
2014-02-19 23:42:17 +00:00
Elliott Hughes
fbaddda9f0
Merge "Linker writes to wrong memory location when processing DT_MIPS_RLD_MAP"
2014-02-19 23:40:46 +00:00
Elliott Hughes
b69c0b532e
Merge "Make mips/mips64 syscall stubs more like the other architectures."
2014-02-19 23:35:31 +00:00
Elliott Hughes
79183d7ff4
am 6db95a86
: Merge "Top-level documentation about working on bionic."
...
* commit '6db95a869e5c57713632106878d854c7c0aff7a1':
Top-level documentation about working on bionic.
2014-02-19 23:03:39 +00:00
Elliott Hughes
6db95a869e
Merge "Top-level documentation about working on bionic."
2014-02-19 22:58:04 +00:00
Elliott Hughes
9abbbdc534
Make mips/mips64 syscall stubs more like the other architectures.
...
Change-Id: I55f8c1a95f643a6e484f12fbcc25e2c77e55b6b8
2014-02-19 14:54:31 -08:00
Elliott Hughes
dae87c0c74
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.
2014-02-19 20:42:33 +00:00
Elliott Hughes
ace8dfab1f
am e6c451f5
: Merge "Make mips generated assembler more like the mips64 stuff."
...
* commit 'e6c451f5f2e17fccccedaa1c2a90d8d9ba0c1917':
Make mips generated assembler more like the mips64 stuff.
2014-02-19 20:34:25 +00:00
Elliott Hughes
e6c451f5f2
Merge "Make mips generated assembler more like the mips64 stuff."
2014-02-19 20:28:34 +00:00
Elliott Hughes
eae27dc55a
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
2014-02-19 12:20:00 -08:00
Narayan Kamath
5f6f4a956c
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
2014-02-19 18:50:30 +00:00
Elliott Hughes
560cee6bff
Top-level documentation about working on bionic.
...
Change-Id: If0a531865fa9c0d57486b98d4b78e3efcbf4e1d1
2014-02-18 22:08:56 -08:00
Elliott Hughes
b3183def04
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.
2014-02-19 01:02:24 +00:00
Elliott Hughes
8a6ad03d0c
am f7e642b9
: am 24ef4779
: Merge "Fix build by avoiding the _C_LABEL macro."
...
* commit 'f7e642b9ff2c0c70d9a800d0873880a58a33e424':
Fix build by avoiding the _C_LABEL macro.
2014-02-19 00:58:59 +00:00
Elliott Hughes
112e3a9a8c
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.
2014-02-19 00:56:51 +00:00
Elliott Hughes
f7e642b9ff
am 24ef4779
: Merge "Fix build by avoiding the _C_LABEL macro."
...
* commit '24ef4779eb47f23b8d4f4e678d677bd45a91373f':
Fix build by avoiding the _C_LABEL macro.
2014-02-19 00:52:24 +00:00
Elliott Hughes
44ef37c1b4
Merge "Use uid_t and gid_t for st_uid and st_gid in struct stat."
2014-02-19 00:51:31 +00:00
Elliott Hughes
24ef4779eb
Merge "Fix build by avoiding the _C_LABEL macro."
2014-02-19 00:46:32 +00:00
Elliott Hughes
6b5559315d
Use uid_t and gid_t for st_uid and st_gid in struct stat.
...
Change-Id: Ide62dc714d76d881e3aa79e7a59ee6533a23dd00
2014-02-18 16:43:31 -08:00
Elliott Hughes
986f906710
Fix build by avoiding the _C_LABEL macro.
...
Change-Id: Ide367c2b65071388bd95fbc81a4ed6ae94aec4e4
2014-02-18 16:42:36 -08:00
Elliott Hughes
5dfe323310
am f25d0c1d
: am 787c1f93
: Merge "Add missing file from previous change."
...
* commit 'f25d0c1d4dc0f757dc7bf342b1964e875c439933':
Add missing file from previous change.
2014-02-19 00:02:11 +00:00
Elliott Hughes
f25d0c1d4d
am 787c1f93
: Merge "Add missing file from previous change."
...
* commit '787c1f937a915feefb767d0c6a15ddb70e6de933':
Add missing file from previous change.
2014-02-18 23:55:16 +00:00
Elliott Hughes
781236e321
am a676a54e
: am b3602078
: Merge "Implement some of the missing LFS64 support."
...
* commit 'a676a54e5dbb1ddda0c0045d990a920558671233':
Implement some of the missing LFS64 support.
2014-02-18 23:54:43 +00:00
Benjamin Adolphi
006f9ad891
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>
2014-02-19 00:50:32 +01:00
Elliott Hughes
787c1f937a
Merge "Add missing file from previous change."
2014-02-18 23:49:16 +00:00
Elliott Hughes
1d18e9cc0a
Add missing file from previous change.
...
Change-Id: Id25000162a9ed76ce756842bdc09fe9afff9528f
2014-02-18 15:48:56 -08:00
Elliott Hughes
a676a54e5d
am b3602078
: Merge "Implement some of the missing LFS64 support."
...
* commit 'b36020789ac860fcfbbeaf56d560926d8ee228f6':
Implement some of the missing LFS64 support.
2014-02-18 23:47:56 +00:00
Elliott Hughes
b36020789a
Merge "Implement some of the missing LFS64 support."
2014-02-18 23:40:56 +00:00
Elliott Hughes
db1ea34748
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
2014-02-18 15:39:24 -08:00
Elliott Hughes
f998473357
am df3d56db
: am 3623d806
: Merge "Fix x86 build."
...
* commit 'df3d56db663a19d0de8f743102d13e62343c874c':
Fix x86 build.
2014-02-18 20:47:29 +00:00
Elliott Hughes
a1ac8a60da
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
2014-02-18 20:42:57 +00:00
Elliott Hughes
df3d56db66
am 3623d806
: Merge "Fix x86 build."
...
* commit '3623d80675e5321b92c2d88a7b7ec6bd998d81d5':
Fix x86 build.
2014-02-18 20:40:54 +00:00
Elliott Hughes
d49247be27
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
2014-02-18 20:36:25 +00:00