Commit Graph

6329 Commits

Author SHA1 Message Date
Serban Constantinescu
feaa89a1bc AArch64: Add support for AArch64 to the syscall interface
This patch adds support for AArch64 to the syscall interface. The kernel
implementation exports a set of canonical syscalls, therefore some of
the userspace exported syscalls are implemented as stubs based on the
canonical set.

Change-Id: Ia965d71e97769b8be9d7655193fc40303964c4df
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
2013-10-28 16:16:34 -07:00
Elliott Hughes
07d3c6cecc Merge "Fix the *rand48 functions on LP64." 2013-10-28 23:09:49 +00:00
Elliott Hughes
60fd3450bf Fix the *rand48 functions on LP64.
I reported the mrand48 bug upstream, and 'matt' fixed the whole family
of functions!

Change-Id: I07fbc034e86499ce89599c3026a741738fd0cfc0
2013-10-28 15:24:26 -07:00
Elliott Hughes
c5ed7d4d6a am 85d8536f: am 6ec070a0: am 020bcdae: Merge "Update <sys/exec_elf.h> to get the DF_* flags."
* commit '85d8536f34895a2d18fcc2dcbe7f79d3ed97b58c':
  Update <sys/exec_elf.h> to get the DF_* flags.
2013-10-28 15:09:03 -07:00
Elliott Hughes
85d8536f34 am 6ec070a0: am 020bcdae: Merge "Update <sys/exec_elf.h> to get the DF_* flags."
* commit '6ec070a01509c3477be6d36cd46b81c9b3876733':
  Update <sys/exec_elf.h> to get the DF_* flags.
2013-10-28 15:06:58 -07:00
Elliott Hughes
6ec070a015 am 020bcdae: Merge "Update <sys/exec_elf.h> to get the DF_* flags."
* commit '020bcdaef349b6bd82302a0656fdf9aaff30bdb3':
  Update <sys/exec_elf.h> to get the DF_* flags.
2013-10-28 15:05:49 -07:00
Elliott Hughes
020bcdaef3 Merge "Update <sys/exec_elf.h> to get the DF_* flags." 2013-10-28 22:03:55 +00:00
Elliott Hughes
74ce45972d Update <sys/exec_elf.h> to get the DF_* flags.
Change-Id: Ia9e785f6b95122f94ee3b01a312db1d5bb91a72e
2013-10-28 14:59:41 -07:00
Elliott Hughes
50cadd942c am 92c6e988: am 224aee2f: am 486d99f0: Merge "Don\'t allow text relocations on 64-bit."
* commit '92c6e988cda228f7255c9050dfa9ea10a2082432':
  Don't allow text relocations on 64-bit.
2013-10-28 14:45:08 -07:00
Elliott Hughes
92c6e988cd am 224aee2f: am 486d99f0: Merge "Don\'t allow text relocations on 64-bit."
* commit '224aee2f5cebcccf832c8a204163192bc752c5a1':
  Don't allow text relocations on 64-bit.
2013-10-28 14:41:45 -07:00
Elliott Hughes
224aee2f5c am 486d99f0: Merge "Don\'t allow text relocations on 64-bit."
* commit '486d99f050a609c16641614edc72d71746ce859a':
  Don't allow text relocations on 64-bit.
2013-10-28 14:39:05 -07:00
Elliott Hughes
486d99f050 Merge "Don't allow text relocations on 64-bit." 2013-10-28 21:36:23 +00:00
Elliott Hughes
e4d792adb8 Don't allow text relocations on 64-bit.
I've also updated our <sys/exec_elf.h> to match upstream.

Change-Id: I52f9fce3167541811208d273ff23ceaa112f7135
2013-10-28 14:34:56 -07:00
Elliott Hughes
aa97d508dc am d1c7766a: am e9f6c480: am 3ec5d895: Merge "Fix utime/utimes when passed a NULL pointer."
* commit 'd1c7766aea5a4a6c864f6ad7ac097cf6bc2a587a':
  Fix utime/utimes when passed a NULL pointer.
2013-10-28 13:36:25 -07:00
Elliott Hughes
d1c7766aea am e9f6c480: am 3ec5d895: Merge "Fix utime/utimes when passed a NULL pointer."
* commit 'e9f6c4800816df3acec0d5683667b5aac290f049':
  Fix utime/utimes when passed a NULL pointer.
2013-10-28 13:34:32 -07:00
Elliott Hughes
e9f6c48008 am 3ec5d895: Merge "Fix utime/utimes when passed a NULL pointer."
* commit '3ec5d8954b41f2e51d6ff7851533f1db1eba9a09':
  Fix utime/utimes when passed a NULL pointer.
2013-10-28 13:32:44 -07:00
Elliott Hughes
3ec5d8954b Merge "Fix utime/utimes when passed a NULL pointer." 2013-10-28 20:29:24 +00:00
Elliott Hughes
27586ebe1a Fix utime/utimes when passed a NULL pointer.
Bug: 11383777
Change-Id: If944a42f3adfa8a6ce91c167c249e009ed63300a
2013-10-28 13:21:06 -07:00
Elliott Hughes
2c78f0838d am 8129a36d: am c98827e7: am d4e9f076: Merge "Clean up linker architecture macros."
* commit '8129a36dc68eb17497ebbac823de58716473b4f8':
  Clean up linker architecture macros.
2013-10-28 11:09:54 -07:00
Elliott Hughes
8129a36dc6 am c98827e7: am d4e9f076: Merge "Clean up linker architecture macros."
* commit 'c98827e70ab2a3798f2369a4b5a23e3afc18552c':
  Clean up linker architecture macros.
2013-10-28 11:08:40 -07:00
Elliott Hughes
c98827e70a am d4e9f076: Merge "Clean up linker architecture macros."
* commit 'd4e9f076d621dcf6450acba178e65d63c076ae6e':
  Clean up linker architecture macros.
2013-10-28 11:06:47 -07:00
Elliott Hughes
d4e9f076d6 Merge "Clean up linker architecture macros." 2013-10-28 18:04:22 +00:00
Elliott Hughes
4eeb1f12a8 Clean up linker architecture macros.
We don't need our own architecture macros; the standard ones will do.

This patch also fixes some __x86_64__ tests to be USE_RELA tests instead,
because they're not actually x86_64-specific.

I've cleaned up architecture-specific code slightly so where possible
all the code corresponding to a particular architecture is together.

This patch also fixes a bug in LP64 DT_PLTGOT handling, which should be
an error rather than falling through into DT_DEBUG! There was another #ifdef
bug where we'd only report unexpected DT_ entries on MIPS.

Change-Id: Id1d04e372611f641c1aa278a18e379f28af9eaf5
2013-10-28 11:02:49 -07:00
Elliott Hughes
82eb3539f0 am 7ef84c7d: am d9916301: am f7f6b268: Merge "Upgrade to tzdata2013h."
* commit '7ef84c7d3d191afc96c8d3dc65c885f3cdf6b8c2':
  Upgrade to tzdata2013h.
2013-10-28 10:04:43 -07:00
Elliott Hughes
7ef84c7d3d am d9916301: am f7f6b268: Merge "Upgrade to tzdata2013h."
* commit 'd9916301a926c925439efa3cd1bba53e49f10dfc':
  Upgrade to tzdata2013h.
2013-10-28 10:03:20 -07:00
Elliott Hughes
d9916301a9 am f7f6b268: Merge "Upgrade to tzdata2013h."
* commit 'f7f6b2686d466d695d813593a8b268abdf7ca29d':
  Upgrade to tzdata2013h.
2013-10-28 10:01:51 -07:00
Elliott Hughes
f7f6b2686d Merge "Upgrade to tzdata2013h." 2013-10-28 17:00:16 +00:00
Elliott Hughes
3df3879bd6 Upgrade to tzdata2013h.
From the release notes:

  Changes affecting current and future time stamps:

    Libya has switched its time zone back to UTC+2 without DST,
    instead of UTC+1 with DST.  (Thanks to Even Scharning.)

    Western Sahara (Africa/El_Aaiun) uses Morocco's DST rules.
    (Thanks to Gwillim Law.)

  Changes affecting future time stamps:

    Acre and (we guess) western Amazonas will switch from UTC-4 to UTC-5
    on 2013-11-10.  This affects America/Rio_Branco and America/Eirunepe.
    (Thanks to Steffen Thorsen.)

    Add entries for DST transitions in Morocco in the year 2038.
    This avoids some year-2038 glitches introduced in 2013g.
    (Thanks to Yoshito Umaoka for reporting the problem.)

Change-Id: Ic855df19773e3fbf13b941b5bfa91dcee9e181e1
2013-10-28 09:38:00 -07:00
Christopher Ferris
1f7088a52e am a9b95baa: am 763fe341: am 93fcfeee: Merge "Update running bionic unit tests on host."
* commit 'a9b95baaced558e10c4dc9f26c0e69e6ab557480':
  Update running bionic unit tests on host.
2013-10-25 10:43:41 -07:00
Christopher Ferris
a9b95baace am 763fe341: am 93fcfeee: Merge "Update running bionic unit tests on host."
* commit '763fe3419c677e28d209ec319f743d65ff0e69c4':
  Update running bionic unit tests on host.
2013-10-25 10:40:26 -07:00
Christopher Ferris
763fe3419c am 93fcfeee: Merge "Update running bionic unit tests on host."
* commit '93fcfeee2b4de4c65fc766bf10601397592341d7':
  Update running bionic unit tests on host.
2013-10-25 10:38:41 -07:00
Christopher Ferris
93fcfeee2b Merge "Update running bionic unit tests on host." 2013-10-25 17:37:02 +00:00
Christopher Ferris
b38e4d536f Update running bionic unit tests on host.
Add a bionic-unit-tests-glibc-run target to run the glibc bionic unit tests.

Modify the bionic-unit-tests-run-on-host to make sure that the /system/bin
directory is created properly.

Also remove the EXTERNAL_STORAGE variable which isn't used any more.

Bug: 11234772
Change-Id: I9aea501d05700b29e938f672474d550b1872a78b
2013-10-25 10:23:12 -07:00
Elliott Hughes
bbd2a6fa4d am 53327463: am 155f5c5f: am ad8fb26a: Merge "Fix the exit syscall stub\'s name."
* commit '5332746383dcfb6d1572451ea895ac301867482a':
  Simplify defining the linker architecture macro.
  Fix the exit syscall stub's name.
2013-10-25 09:31:54 -07:00
Elliott Hughes
5332746383 am 155f5c5f: am ad8fb26a: Merge "Fix the exit syscall stub\'s name."
* commit '155f5c5ff9a86ed5319570ae13cc9a061930b0cb':
  Fix the exit syscall stub's name.
2013-10-25 09:29:38 -07:00
Elliott Hughes
155f5c5ff9 am ad8fb26a: Merge "Fix the exit syscall stub\'s name."
* commit 'ad8fb26aff16b239fd79fd7223435bdae2462f72':
  Fix the exit syscall stub's name.
2013-10-25 09:28:15 -07:00
Elliott Hughes
ad8fb26aff Merge "Fix the exit syscall stub's name." 2013-10-25 16:25:22 +00:00
Elliott Hughes
fbd6776355 am 6b7fc098: am 421e911a: Merge "Simplify defining the linker architecture macro."
* commit '6b7fc098c4f2f9e9683fac119f344e9c890bae1a':
  Simplify defining the linker architecture macro.
2013-10-25 09:06:55 -07:00
Elliott Hughes
6b7fc098c4 am 421e911a: Merge "Simplify defining the linker architecture macro."
* commit '421e911a0bebd24bf197b092d17a3000cfec2c15':
  Simplify defining the linker architecture macro.
2013-10-25 09:04:31 -07:00
Elliott Hughes
421e911a0b Merge "Simplify defining the linker architecture macro." 2013-10-25 16:01:20 +00:00
Elliott Hughes
60d5b06ece Simplify defining the linker architecture macro.
Like the new TODO says, though, do we need this at all? Wouldn't we be better
off just using the regular architecture-specific macros? This is a dynamic
linker, so there's never a possibility of cross-linking.

Change-Id: I7be6b8663f5e585c4024a49aae383430c86a3c1b
2013-10-24 23:18:13 -07:00
Elliott Hughes
6b53c2349a Fix the exit syscall stub's name.
I've left the exit_group syscall as _exit because otherwise we'd have to
convince the compiler that our _exit (which just calls __exit_group) is
actually "noreturn", and it seems like that would be less clean than just
cutting out the middleman.

We'll just have to trust ourselves not to add anything to SYSCALLS.TXT
that ought to be private but that only has a single leading underscore.
Hopefully we can manage that.

Change-Id: Iac47faea9f516186e1774381846c54cafabc4354
2013-10-24 22:41:50 -07:00
Elliott Hughes
7cf6d88f7e am de2df542: am fa262c13: am bbefbf1a: Merge "Use hidden visibility for generated stubs whose names begin with underscores."
* commit 'de2df5421d6b6a36a1bdc6995297cfbe9e706403':
  Use hidden visibility for generated stubs whose names begin with underscores.
2013-10-24 17:30:31 -07:00
Elliott Hughes
de2df5421d am fa262c13: am bbefbf1a: Merge "Use hidden visibility for generated stubs whose names begin with underscores."
* commit 'fa262c13d9115cd84545ad4a0898d18770702e15':
  Use hidden visibility for generated stubs whose names begin with underscores.
2013-10-24 17:26:22 -07:00
Elliott Hughes
4a27075511 am 0a9d0db6: am c2404f6c: am d60a625d: Merge "Start moving 32-bit cruft somewhere it won\'t pollute 64-bit."
* commit '0a9d0db6b33cbd3a0c72ac8f6133a4867e8f228f':
  Start moving 32-bit cruft somewhere it won't pollute 64-bit.
2013-10-24 17:24:25 -07:00
Elliott Hughes
fa262c13d9 am bbefbf1a: Merge "Use hidden visibility for generated stubs whose names begin with underscores."
* commit 'bbefbf1a75052e4c887309299fb4532705aa843d':
  Use hidden visibility for generated stubs whose names begin with underscores.
2013-10-24 17:23:16 -07:00
Elliott Hughes
0a9d0db6b3 am c2404f6c: am d60a625d: Merge "Start moving 32-bit cruft somewhere it won\'t pollute 64-bit."
* commit 'c2404f6c1d29a47c0bc6cdf510c91e43f8a1e424':
  Start moving 32-bit cruft somewhere it won't pollute 64-bit.
2013-10-24 17:22:35 -07:00
Elliott Hughes
bbefbf1a75 Merge "Use hidden visibility for generated stubs whose names begin with underscores." 2013-10-25 00:20:24 +00:00
Elliott Hughes
c2404f6c1d am d60a625d: Merge "Start moving 32-bit cruft somewhere it won\'t pollute 64-bit."
* commit 'd60a625dd5e544fb49056d864898ff82bca99950':
  Start moving 32-bit cruft somewhere it won't pollute 64-bit.
2013-10-24 17:19:54 -07:00
Elliott Hughes
d60a625dd5 Merge "Start moving 32-bit cruft somewhere it won't pollute 64-bit." 2013-10-25 00:18:15 +00:00