Elliott Hughes
79ea3e3c74
am f7aa55d6
: am a206dde5
: Merge "Clean up cacheflush."
...
* commit 'f7aa55d684ecceab531856917745a52dc2eb05e1':
Clean up cacheflush.
2014-02-11 18:38:43 +00:00
Elliott Hughes
a6ecba4d23
Clean up cacheflush.
...
No cacheflush for LP64; use the GCC builtin instead. Clean up the
32-bit MIPS implementation now we no longer need to worry about
old versions of GCC.
Bug: 12924756
Change-Id: Ie23955b3ec194e226c4b2bce35b11d5e061f4753
2014-02-11 10:24:40 -08:00
Elliott Hughes
7949942e5e
am 5f0374ab
: am 71e4466b
: Merge "Switch <elf.h> over to linux uapi under the covers."
...
* commit '5f0374ab4ff198c658b3902ebf4cc8f818efc5fc':
Switch <elf.h> over to linux uapi under the covers.
2014-02-11 02:40:00 +00:00
Elliott Hughes
0266ae5f88
Switch <elf.h> over to linux uapi under the covers.
...
Remove the linker's reliance on BSD cruft and use the glibc-style
ElfW macro. (Other code too, but the linker contains the majority
of the code that needs to work for Elf32 and Elf64.)
All platforms need dl_iterate_phdr_static, so it doesn't make sense
to have that part of the per-architecture configuration.
Bug: 12476126
Change-Id: I1d7f918f1303a392794a6cd8b3512ff56bd6e487
2014-02-10 18:22:24 -08:00
Elliott Hughes
7fcdeb9570
am 6b0da947
: am eeb9a9f5
: Merge "Fix <link.h>."
...
* commit '6b0da947e9bc8badc739eece66cf3a9f66188dd4':
Fix <link.h>.
2014-02-11 00:18:38 +00:00
Elliott Hughes
3a9c5d66dc
Fix <link.h>.
...
Also move some of the stuff that should be in <link.h> out of the
private "linker.h", to make it clearer that these are public API
known to gdb that we can't change.
Bug: 12554197
Change-Id: I830e1260d3d8b833ed99bc1518f1c6b6102be8af
2014-02-10 13:31:13 -08:00
Elliott Hughes
db8e3c7dd2
am e7b1e0e2
: am e74fc3a6
: Merge "Fix socklen_t (on LP64 only)."
...
* commit 'e7b1e0e2919c65f352f4bf89cc4eb93151873453':
Fix socklen_t (on LP64 only).
2014-02-10 12:50:51 +00:00
Elliott Hughes
09be5e752c
am 1138e128
: am c16a4532
: Merge "Remove <sys/_types.h>."
...
* commit '1138e1281285ab17e2eb315e7d34e9c6bb752383':
Remove <sys/_types.h>.
2014-02-10 12:50:50 +00:00
Elliott Hughes
d5952e1bfa
am f03ea9d0
: am 8a80a23c
: Merge "[MIPS64] libc/libm support"
...
* commit 'f03ea9d02459c888fef26761e4139c1da065c821':
[MIPS64] libc/libm support
2014-02-08 07:22:15 +00:00
Elliott Hughes
ebd90b9ba9
Fix socklen_t (on LP64 only).
...
Too late to fix LP32 :-(
Bug: 12935461
Change-Id: Ib056ca1eaf9ae8712f88ae21ff94e91b08cf588b
2014-02-07 16:50:55 -08:00
Elliott Hughes
c16a453291
Merge "Remove <sys/_types.h>."
2014-02-08 00:23:50 +00:00
Elliott Hughes
9f87a0b285
Remove <sys/_types.h>.
...
Bug: 12213562
Change-Id: I0d10664f9da60739bdbad0408be0dd61eea3c1fe
2014-02-07 14:55:58 -08:00
Chris Dearman
645d0312c2
[MIPS64] libc/libm support
...
libc/libm support for MIPS64 targets
Change-Id: I8271941d418612a286be55495f0e95822f90004f
Signed-off-by: Chris Dearman <chris.dearman@imgtec.com>
Signed-off-by: Raghu Gandham <raghu.gandham@imgtec.com>
2014-02-06 16:22:20 -08:00
Elliott Hughes
175f230ffc
am c2917297
: am 5036935c
: Merge "[MIPS64] Add syscall related files"
...
* commit 'c2917297bd34c8345c9b384b874f122ec4597779':
[MIPS64] Add syscall related files
2014-02-07 00:02:24 +00:00
Chris Dearman
5043212b76
[MIPS64] Add syscall related files
...
Change-Id: I2f5d05df0e767538a6fe467ca0a2386325f8b71f
Signed-off-by: Chris Dearman <chris.dearman@imgtec.com>
Signed-off-by: Raghu Gandham <raghu.gandham@imgtec.com>
Signed-off-by: Duane Sand <duane.sand@imgtec.com>
2014-02-06 15:39:38 -08:00
Elliott Hughes
3e9d866b28
am 03910c9a
: am e163a398
: Merge "Remove unused cruft from MIPS <machine/signal.h>."
...
* commit '03910c9ae1ab504c3d542416eac741147cb89e0a':
Remove unused cruft from MIPS <machine/signal.h>.
2014-02-05 22:36:01 +00:00
Elliott Hughes
be97620a56
am 9eb69a3c
: am 375aaa3f
: Merge "Kill <machine/_types.h>."
...
* commit '9eb69a3c72c0ee23fd5f11997c2c0f7e5c0c58a3':
Kill <machine/_types.h>.
2014-02-05 22:15:57 +00:00
Elliott Hughes
ea0fab18ba
Remove unused cruft from MIPS <machine/signal.h>.
...
An extra (unused) struct sigcontext doesn't help anybody.
Change-Id: I73899fe7e1ccccf50a507c737945cf014d430396
2014-02-05 14:11:38 -08:00
Elliott Hughes
9afe2884c7
Kill <machine/_types.h>.
...
Most of <machine/_types.h> was either unused, wrong, or identical across
all 32-/64-bit architectures.
I'm not a huge fan of <sys/_types.h> either, but moving the bits we need
up into there is a step forward.
Bug: 12213562
Change-Id: Id13551c78966e324beee2dd90c5575e37d2a71e6
2014-02-04 19:26:31 -08:00
Elliott Hughes
8fac620e2f
am 6944fcf0
: am 53cc62c3
: Merge "Add fallocate/fallocate64/posix_fallocate/posix_fallocate64."
...
* commit '6944fcf04e76a76a467dd4ab61af123539f7ccf7':
Add fallocate/fallocate64/posix_fallocate/posix_fallocate64.
2014-02-04 00:49:45 +00:00
Elliott Hughes
f64b8ea09d
Add fallocate/fallocate64/posix_fallocate/posix_fallocate64.
...
Bug: 5287571
Bug: 12612860
Change-Id: I4501b9c6cdf9a830336ce0b3afc4ea716b6a0f6f
2014-02-03 16:20:46 -08:00
Elliott Hughes
2780476778
am 226f970a
: am a122c376
: Merge "Use __inline__ for fortify."
...
* commit '226f970a17bb212af11133fbcd92289cc88cc0c8':
Use __inline__ for fortify.
2014-02-04 00:06:08 +00:00
Elliott Hughes
8d60cc6316
Use __inline__ for fortify.
...
libunwind has #define inline /* empty */ which breaks our fortified headers.
glibc uses __inline but our BSD-derived headers often override that. __inline__
is the third alternative understood by GCC that -- as far as I know -- neither
the C library itself nor third-party code tries to mess with.
Bug: 12871594
Change-Id: I6677e70ea531bb7d4c46021b43af760d4ad8ecf7
2014-02-03 15:41:57 -08:00
Arve Hjønnevåg
ba7c3079bf
am eb26da9a
: am fb4da1e7
: Merge "Regenerate binder header"
...
* commit 'eb26da9af841c60e69f44a3affb46ec48fdaa6d3':
Regenerate binder header
2014-02-03 22:11:16 +00:00
Arve Hjønnevåg
fb4da1e7b7
Merge "Regenerate binder header"
2014-02-03 21:13:23 +00:00
Elliott Hughes
9304f2c461
am 0e0ae17d
: am 47ff6b9f
: Merge "Add missing ucontext_t definition to bionic for arch-arm64."
...
* commit '0e0ae17d3292951cbf74143c44b583916ebebff6':
Add missing ucontext_t definition to bionic for arch-arm64.
2014-01-31 22:38:27 +00:00
Elliott Hughes
47ff6b9faa
Merge "Add missing ucontext_t definition to bionic for arch-arm64."
2014-01-31 18:51:36 +00:00
Elliott Hughes
f970e07de3
am 8902d9a9
: am a14df4a9
: Merge "[MIPS] SA_RESTORER support is not needed for MIPS"
...
* commit '8902d9a944c377c63ce81d7dc16c1945ad715d18':
[MIPS] SA_RESTORER support is not needed for MIPS
2014-01-31 16:19:40 +00:00
Elliott Hughes
da958d2e14
am 64b519e2
: am 07f84025
: Merge "Make ARM <user.h> more glibc-compatible."
...
* commit '64b519e2d4546da414bb9a04de4c04ce3e137999':
Make ARM <user.h> more glibc-compatible.
2014-01-31 16:19:39 +00:00
Elliott Hughes
ab24c54d94
am dc84a5e6
: am 53a55c12
: Merge "Add mips <sys/ucontext.h>."
...
* commit 'dc84a5e66c9678619538b42709ab3637205c3bf2':
Add mips <sys/ucontext.h>.
2014-01-31 16:19:38 +00:00
Elliott Hughes
5c73920bdc
am d7f2ec93
: am 807bbb75
: Merge "Add arm <sys/ucontext.h>."
...
* commit 'd7f2ec93449a478710c286588818d00f8f219272':
Add arm <sys/ucontext.h>.
2014-01-31 16:19:38 +00:00
Elliott Hughes
ae4e016d7f
am 2f561425
: am 8f355275
: Merge "Add x86 <sys/ucontext.h>."
...
* commit '2f561425bf43676ab244738fb6ea4ed868208837':
Add x86 <sys/ucontext.h>.
2014-01-31 16:19:37 +00:00
Elliott Hughes
63704af86e
am 4dc8c880
: am 972c39c4
: Merge "Add x86_64 ucontext.h for better compatibility"
...
* commit '4dc8c880ca0677baad7950b0b3f5a9f035fea11b':
Add x86_64 ucontext.h for better compatibility
2014-01-31 16:19:36 +00:00
Ross McIlroy
7b95807fa0
Add missing ucontext_t definition to bionic for arch-arm64.
...
Change-Id: I1ee15230c63e00f01d2063cfffcffe7f1a1eeb6a
2014-01-31 04:45:53 +00:00
Chris Dearman
46f3db6bb8
[MIPS] SA_RESTORER support is not needed for MIPS
...
Change-Id: I1c000c94973e811193c80c9770da4f3157594f90
Signed-off-by: Chris Dearman <chris.dearman@imgtec.com>
Signed-off-by: Duane Sand <duane.sand@imgtec.com>
2014-01-30 20:39:53 -08:00
Elliott Hughes
3614424e10
Make ARM <user.h> more glibc-compatible.
...
Change-Id: I681930ad7f80a5e7bc40eb0f36872e415445f0f9
2014-01-30 10:39:02 -08:00
Elliott Hughes
02c661b883
Add mips <sys/ucontext.h>.
...
Change-Id: I2821f523f0c3bb4400b2ad5d36e21e5a3d6d777c
2014-01-29 18:37:15 -08:00
Elliott Hughes
4e72fcc3c2
Add arm <sys/ucontext.h>.
...
Change-Id: I14d435f9e3e82f77d8a7e886ff88c18f5d09d14a
2014-01-29 17:53:59 -08:00
Elliott Hughes
677a07cb9a
Add x86 <sys/ucontext.h>.
...
Change-Id: I43e72604f7a932f134733b78094b577415a5edb7
2014-01-29 16:46:00 -08:00
Pavel Chupin
e61d106008
Add x86_64 ucontext.h for better compatibility
...
As suggested here: https://android-review.googlesource.com/#/c/71267/
it may be used for x86_64 libunwind enabling.
Change-Id: I21623261a48ea7099e030d33932556e294d226ff
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2014-01-29 15:35:33 -08:00
Elliott Hughes
37958fea13
am 2db157c8
: am 3bd75303
: am c75e7726
: Merge "Remove a __system_property_get call from the DNS code."
...
* commit '2db157c853cb35243d49fd1e084c1fb444f9ba02':
Remove a __system_property_get call from the DNS code.
2014-01-29 12:20:44 +00:00
Arve Hjønnevåg
fbaa254016
Regenerate binder header
...
Adds 64 bit support
Change-Id: I6db3c4f68bf2c337bff753599af193e2b062ec05
2014-01-28 19:29:46 -08:00
Elliott Hughes
908e8c24ab
Remove a __system_property_get call from the DNS code.
...
Change-Id: I48082ad9eb1b56349c6746ab2c371728c8571a81
2014-01-28 14:54:11 -08:00
Elliott Hughes
a873595113
am 41ae96a1
: am 4bc229eb
: am 4449fe96
: Merge "Fix 32-bit mmap/mmap64 handling of negative offsets."
...
* commit '41ae96a1cc69fd2e1bc39fe55da22f15047beb50':
Fix 32-bit mmap/mmap64 handling of negative offsets.
2014-01-28 01:18:06 +00:00
Elliott Hughes
431166d995
Fix 32-bit mmap/mmap64 handling of negative offsets.
...
We don't actually need to worry about sign extension if we reject
negative values ourselves. Previously it was possible to come up
with negative but aligned values that we would pass to the kernel;
in the case of mmap (as opposed to mmap64) we'd incorrectly turn
those into large positive offsets.
Change-Id: I2aa583e0f892d59bb77429aea8730b72db32dcb0
2014-01-27 16:36:56 -08:00
Elliott Hughes
4332c9ebba
am e528d178
: am f3ea7917
: am 6f23ce36
: Merge "Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64)."
...
* commit 'e528d1787c80d4d6879c8fafa5487f9fd6ce4a29':
Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64).
2014-01-25 01:38:13 +00:00
Elliott Hughes
6f23ce36ce
Merge "Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64)."
2014-01-25 01:25:16 +00:00
Elliott Hughes
e2a292d278
Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64).
...
The various committees decided that everyone should get all these macros,
all the time.
Bug: 12708004
Change-Id: Ib56010dcba9b0656e5701546fefb7f78dc0bf916
2014-01-24 16:38:07 -08:00
Ben Cheng
d1e32e1c35
am 0bae4c4d
: am 50228472
: am 5acce960
: Merge "Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c."
...
* commit '0bae4c4d41acffa091680a5499e0381e1ea70f12':
Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c.
2014-01-25 00:26:01 +00:00
Ben Cheng
62ffe14a7e
Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c.
...
Change-Id: I0e66a73e849a01817d016a688d7291c2fb604e48
2014-01-24 15:20:11 -08:00