Elliott Hughes
a842eb7c95
am 7b9e7a70: am 9150dfb1: Merge "Clean up our OpenBSD usage."
...
* commit '7b9e7a709365c490d5ff73e6a74dfa32ffd8be25':
Clean up our OpenBSD usage.
2014-02-22 00:58:44 +00:00
Elliott Hughes
9150dfb1c6
Merge "Clean up our OpenBSD usage."
2014-02-21 23:46:52 +00:00
Elliott Hughes
0133944b09
Clean up our OpenBSD usage.
...
Also undo some of the mess where we have OpenBSD <stdio.h> but a mix of
different BSD's implementations.
In this first pass, I've only moved easy OpenBSD stuff.
Change-Id: Iae67b02cde6dba9d8d06fedeb53efbfdac0a8cf6
2014-02-21 14:30:18 -08:00
Calin Juravle
79733ca2e7
am 587399d2: am 90b01576: Merge "Fixed int fast types for LP64"
...
* commit '587399d23a3dced6202e4b4abfa52b5b9621f134':
Fixed int fast types for LP64
2014-02-21 17:32:17 +00:00
Calin Juravle
90b0157679
Merge "Fixed int fast types for LP64"
2014-02-21 17:09:13 +00:00
Calin Juravle
da030de702
Fixed int fast types for LP64
...
Bug: 13110474
Change-Id: Id5591603ad4ba7e149c0852f4abb25e4e5a5d065
2014-02-21 16:27:21 +00:00
Elliott Hughes
a12d556d42
am 31425c9f: am e65055af: Merge "Stop asking GCC to cause trouble."
...
* commit '31425c9fce2d48699322b6eb3284b06d1f706336':
Stop asking GCC to cause trouble.
2014-02-21 13:54:02 +00:00
Elliott Hughes
2244cd0155
am 1df76ccc: am 26172fa4: Merge "Move the upstream-netbsd libc files into the correct directory."
...
* commit '1df76ccc6022ad57c6cc8f4322be14b9c104192e':
Move the upstream-netbsd libc files into the correct directory.
2014-02-21 04:19:46 +00:00
Elliott Hughes
77bd275640
am 5052dcd4: am 8d0fe1c4: Merge "Remove two DNS files that weren\'t being built."
...
* commit '5052dcd48897641e40256c8665441bde68a230da':
Remove two DNS files that weren't being built.
2014-02-21 04:19:29 +00:00
Elliott Hughes
dfc86ed244
am 45352a06: am cb43f847: Merge "Unify our assembler macros."
...
* commit '45352a065cb66885a7d3e648664dbb2d16e7e529':
Unify our assembler macros.
2014-02-21 04:19:21 +00:00
Elliott Hughes
578fa4e561
am 97dcfc06: am 22c6b7ff: Merge "Fix mips64 crt build."
...
* commit '97dcfc06e7502b53fc7f76ab6c88a6d030aceafa':
Fix mips64 crt build.
2014-02-20 23:15:32 +00:00
Elliott Hughes
756f60da1d
am 632e2422: am 6a686556: Merge "Remove useless _C_LABEL from our assembler source."
...
* commit '632e242207f337fb8d4e1ec80994a4eadb2ccfb8':
Remove useless _C_LABEL from our assembler source.
2014-02-20 23:15:31 +00:00
Elliott Hughes
4708421b40
am f5fd87f4: am bfa2b6fc: Merge "Stop advertising an arm32-specific hack like it\'s a build system feature."
...
* commit 'f5fd87f4f993dee1ca728aac31bb927b34b6cb88':
Stop advertising an arm32-specific hack like it's a build system feature.
2014-02-20 23:15:30 +00:00
Dmitriy Ivanov
ebf85ec7a7
am ac804934: am 54d49ac7: Merge "Added script generating additions to libgcc_compat.c from linker errors"
...
* commit 'ac8049349f056f87137ff9749877cb6f83fc3f10':
Added script generating additions to libgcc_compat.c from linker errors
2014-02-20 23:15:29 +00:00
Elliott Hughes
21f6705147
am 8a498e4a: am ca566b31: Merge "Don\'t explicitly list the tzcode files."
...
* commit '8a498e4ab223466d6dc7c31dda025e7755b7a05c':
Don't explicitly list the tzcode files.
2014-02-20 23:15:26 +00:00
Elliott Hughes
b8dc9bbd90
Stop asking GCC to cause trouble.
...
Why do we see so many bogus strict-aliasing warnings? Because we asked GCC to
cause trouble on arm and mips.
Change-Id: I25d7fd036b6afff7ccfa799abe0dc1579ead2847
2014-02-20 14:35:20 -08:00
Elliott Hughes
677b6e605b
Move the upstream-netbsd libc files into the correct directory.
...
I screwed up when I originally imported these files; they're in lib/libc/
in the upstream tree; there is no top-level libc/ (though there is a top-level
common/, so those files stay where they are).
Change-Id: I7c5e2224a4441ab0e33616a855a8c6aacfeac46f
2014-02-20 14:16:58 -08:00
Elliott Hughes
8d0fe1c49e
Merge "Remove two DNS files that weren't being built."
2014-02-20 22:14:35 +00:00
Elliott Hughes
d28b277952
Remove two DNS files that weren't being built.
...
And switch the makefile to just building everything in the relevant directory.
Change-Id: Ia7785c4dcabb51639c2230026f8a8a9eff919a36
2014-02-20 13:59:20 -08:00
Elliott Hughes
851e68a240
Unify our assembler macros.
...
Our <machine/asm.h> files were modified from upstream, to the extent
that no architecture was actually using the upstream ENTRY or END macros,
assuming that architecture even had such a macro upstream. This patch moves
everyone to the same macros, with just a few tweaks remaining in the
<machine/asm.h> files, which no one should now use directly.
I've removed most of the unused cruft from the <machine/asm.h> files, though
there's still rather a lot in the mips/mips64 ones.
Bug: 12229603
Change-Id: I2fff287dc571ac1087abe9070362fb9420d85d6d
2014-02-20 13:51:26 -08:00
Elliott Hughes
08cf84db4e
am f0e9d652: am 75f04d10: Merge "Remove the useless _C_LABEL from generated system calls."
...
* commit 'f0e9d652fa30c381295589f839a8f5f248a949f0':
Remove the useless _C_LABEL from generated system calls.
2014-02-20 21:27:52 +00:00
Elliott Hughes
c345caae9a
Fix mips64 crt build.
...
This was broken during the multi-arch makefile changes.
Change-Id: Id25cf3273f63c11fbca1cff944fc5e1bf765c636
2014-02-20 11:57:25 -08:00
Elliott Hughes
09289d92f9
Remove useless _C_LABEL from our assembler source.
...
Change-Id: I41a9181537c70ecc69ef8035132c9a83811a40d0
2014-02-20 11:51:11 -08: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
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
1fbe6213cd
Don't explicitly list the tzcode files.
...
Change-Id: I3ac19899523ac1f5fd2fdd6c942aefce75a964a4
2014-02-20 11:28:20 -08: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
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
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
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
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
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
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
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
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
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
ffe026680e
Merge "bionic: fix __set_errno for arm64 syscalls that return a 64-bit value"
2014-02-18 20:31:01 +00:00
Elliott Hughes
b8662c63b4
am d4c049e0: am cd6748cd: Merge "Clean up various warnings in bionic."
...
* commit 'd4c049e0234b0447b4da4369f2e2e509fe3ac549':
Clean up various warnings in bionic.
2014-02-18 20:18:17 +00:00
Colin Cross
3d19a8319b
bionic: fix __set_errno for arm64 syscalls that return a 64-bit value
...
bionic/libc/arch-arm64/syscalls/read.S ends with:
b.hi __set_errno
ret
END(read)
If __set_errno returns int, it will set w0 to 0xFFFFFFFF, which means
x0 is 0x00000000FFFFFFFF. When interpreted as a ssize_t that is
INT_MAX, not -1.
Change __set_errno to return long, which will cause x0 to be set instead
of w0.
Change-Id: I9f9ea0f2995928d2ea240eb2ff7758ecdf0ff412
2014-02-18 12:11:38 -08:00
Elliott Hughes
a38cb08861
Clean up various warnings in bionic.
...
Change-Id: Ic57541d0a567fd4ae79f0ad59b2ffde1130eb7d2
2014-02-18 12:04:54 -08:00
Elliott Hughes
1135bf27eb
am 447d5655: am d4bc9ef8: Merge "Remove duplicate definitions of MIN and MAX."
...
* commit '447d5655498f1dc2a20269e252fd0442d78b4ff2':
Remove duplicate definitions of MIN and MAX.
2014-02-17 19:10:32 +00:00
Elliott Hughes
cfbfe7059c
Remove duplicate definitions of MIN and MAX.
...
These were needed when bionic's header files were missing these macros (though
it would have made a lot more sense to just fix the header files!) but cause
warnings now.
Change-Id: I65a677122f4f6bd07dffc3f37a0c4c0e823d1bb0
2014-02-17 10:57:56 -08:00
Elliott Hughes
db01286237
am 57f42f77: am fadc8a77: Merge "Restore sys_signame for LP64."
...
* commit '57f42f773dac7cbe374ec8449b1b57599367a878':
Restore sys_signame for LP64.
2014-02-13 11:27:26 +00:00
Elliott Hughes
796d2b1971
am f2e3964d: am 7b3876e2: Merge "Clean up sys_signame and sys_siglist a little."
...
* commit 'f2e3964d4e060d1b76be34bdc7847fad5c11ca63':
Clean up sys_signame and sys_siglist a little.
2014-02-13 11:27:18 +00:00
Ying Wang
bf543d12de
am 00956d03: am 9e572ca4: Merge "Fix missing args."
...
* commit '00956d039fb4ceafe92d5ffade51725b95da38d4':
Fix missing args.
2014-02-13 11:27:18 +00:00