Commit Graph

7213 Commits

Author SHA1 Message Date
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
5f0374ab4f am 71e4466b: Merge "Switch <elf.h> over to linux uapi under the covers."
* commit '71e4466b100359f36a29c8c0277888df6081a265':
  Switch <elf.h> over to linux uapi under the covers.
2014-02-11 02:32:57 +00:00
Elliott Hughes
71e4466b10 Merge "Switch <elf.h> over to linux uapi under the covers." 2014-02-11 02:22:45 +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
6b0da947e9 am eeb9a9f5: Merge "Fix <link.h>."
* commit 'eeb9a9f59a58a2f042e8f6fd1a4911ae92ac5493':
  Fix <link.h>.
2014-02-11 00:09:12 +00:00
Elliott Hughes
eeb9a9f59a Merge "Fix <link.h>." 2014-02-11 00:03:03 +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
Christopher Ferris
82e8794c78 am d12185bf: am 4affcbf8: Merge "Make sure that the same tests are on all platforms."
* commit 'd12185bf2c9ad343e44ff9aeb0247f4963222281':
  Make sure that the same tests are on all platforms.
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
e7b1e0e291 am e74fc3a6: Merge "Fix socklen_t (on LP64 only)."
* commit 'e74fc3a64fe9296813e5bd867d0c66bd8213be6a':
  Fix socklen_t (on LP64 only).
2014-02-08 01:11:54 +00:00
Elliott Hughes
e74fc3a64f Merge "Fix socklen_t (on LP64 only)." 2014-02-08 01:05:35 +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
1138e12812 am c16a4532: Merge "Remove <sys/_types.h>."
* commit 'c16a4532917259fabc8018d681cdd1ad1b1b5e08':
  Remove <sys/_types.h>.
2014-02-08 00:37:32 +00: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
Christopher Ferris
d12185bf2c am 4affcbf8: Merge "Make sure that the same tests are on all platforms."
* commit '4affcbf87769c43c4d03ecd60f902b0b6a6cb84a':
  Make sure that the same tests are on all platforms.
2014-02-07 19:43:29 +00:00
Christopher Ferris
4affcbf877 Merge "Make sure that the same tests are on all platforms." 2014-02-07 19:03:41 +00:00
Christopher Ferris
f04935c85e Make sure that the same tests are on all platforms.
In order to be able to generate a list of tests for cts, the same set of
tests must exist across all platforms. This CL adds empty tests where a
test was conditionally compiled out.

This CL creates a single library libBionicTests that includes all of
the tests found in bionic-unit-tests-static.

Also fix a few missing include files in some test files.

Tested by running and compiling the tests for every platform and
verifying the same number of tests are on each platform.

Change-Id: I9989d4bfebb0f9c409a0ce7e87169299eac605a2
2014-02-06 20:12:21 -08:00
Elliott Hughes
f03ea9d024 am 8a80a23c: Merge "[MIPS64] libc/libm support"
* commit '8a80a23c930a41b62cfa47bed362732ee5833bf0':
  [MIPS64] libc/libm support
2014-02-07 00:28:47 +00:00
Elliott Hughes
8a80a23c93 Merge "[MIPS64] libc/libm support" 2014-02-07 00:23:22 +00: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
Elliott Hughes
c2917297bd am 5036935c: Merge "[MIPS64] Add syscall related files"
* commit '5036935c41d9193cfbba606df2121cd4c6973116':
  [MIPS64] Add syscall related files
2014-02-06 23:45:28 +00:00
Elliott Hughes
5036935c41 Merge "[MIPS64] Add syscall related files" 2014-02-06 23:40:22 +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
03910c9ae1 am e163a398: Merge "Remove unused cruft from MIPS <machine/signal.h>."
* commit 'e163a3986aa7d1c67fe3274eb9204812be0a6245':
  Remove unused cruft from MIPS <machine/signal.h>.
2014-02-05 22:28:58 +00:00
Elliott Hughes
e163a3986a Merge "Remove unused cruft from MIPS <machine/signal.h>." 2014-02-05 22:24:53 +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
9eb69a3c72 am 375aaa3f: Merge "Kill <machine/_types.h>."
* commit '375aaa3f608d6089102b256f162e423638a16c47':
  Kill <machine/_types.h>.
2014-02-05 22:08:36 +00:00
Elliott Hughes
375aaa3f60 Merge "Kill <machine/_types.h>." 2014-02-05 22:04:39 +00: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
Ying Wang
0734c84699 am 616ea65d: am 12e8b76e: Merge "Use arch-specific LOCAL_ variables to build libm."
* commit '616ea65dbaa95c0aaf577e2169ccbe229c70f2a7':
  Use arch-specific LOCAL_ variables to build libm.
2014-02-04 02:13:47 +00:00
Ying Wang
616ea65dba am 12e8b76e: Merge "Use arch-specific LOCAL_ variables to build libm."
* commit '12e8b76e5f799b2b8407bf354a9675577529d34b':
  Use arch-specific LOCAL_ variables to build libm.
2014-02-04 02:05:54 +00:00
Ying Wang
12e8b76e5f Merge "Use arch-specific LOCAL_ variables to build libm." 2014-02-04 01:20:32 +00:00
Ying Wang
609526f97f Use arch-specific LOCAL_ variables to build libm.
Use arch-specific LOCAL_ variables to build libm for both
TARGET_ARCH and TARGET_2ND_ARCH.

Bug: 11654773
Change-Id: I6da794ba722bb68e7484d8869c6eb0425b7d17cb
2014-02-03 17:19:41 -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
6944fcf04e am 53cc62c3: Merge "Add fallocate/fallocate64/posix_fallocate/posix_fallocate64."
* commit '53cc62c31bfb6c329299549b69fdadd2705f6497':
  Add fallocate/fallocate64/posix_fallocate/posix_fallocate64.
2014-02-04 00:44:13 +00:00
Elliott Hughes
53cc62c31b Merge "Add fallocate/fallocate64/posix_fallocate/posix_fallocate64." 2014-02-04 00:39:30 +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
226f970a17 am a122c376: Merge "Use __inline__ for fortify."
* commit 'a122c376ef0737454a592cf44f50beabe154e9e3':
  Use __inline__ for fortify.
2014-02-03 23:59:29 +00:00
Elliott Hughes
a122c376ef Merge "Use __inline__ for fortify." 2014-02-03 23:55:14 +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
eb26da9af8 am fb4da1e7: Merge "Regenerate binder header"
* commit 'fb4da1e7b749b4cf6843515517e839efa1ee24c7':
  Regenerate binder header
2014-02-03 21:18:35 +00:00