Commit Graph

5154 Commits

Author SHA1 Message Date
Elliott Hughes
4501a00be3 am d2b6b5f2: Merge "Add an optional alias list to SYSCALLS.TXT"
* commit 'd2b6b5f2dbe56f19b6143f876e2677da1735bb5d':
  Add an optional alias list to SYSCALLS.TXT
2013-10-07 23:05:08 -07:00
Elliott Hughes
d2b6b5f2db Merge "Add an optional alias list to SYSCALLS.TXT" 2013-10-08 06:03:01 +00:00
Elliott Hughes
101a6987c1 am 5d40527a: Merge "libc: fix __cxa_atexit implicit declaration"
* commit '5d40527aba85bfbd19155a6d7a6ea3bb3a541cb6':
  libc: fix __cxa_atexit implicit declaration
2013-10-07 11:35:28 -07:00
Elliott Hughes
5d40527aba Merge "libc: fix __cxa_atexit implicit declaration" 2013-10-07 18:33:51 +00:00
synergydev
589eaa4c72 libc: fix __cxa_atexit implicit declaration
Change-Id: Iacad18b332a717e4485c83df4bd42a850ff7699f
2013-10-07 11:33:20 -07:00
Elliott Hughes
d8d60a92e7 am 04cdfa67: Merge "Clean up the x86 and x86_64 _exit_with_stack_teardown implementations."
* commit '04cdfa67c7e4755ddbcd1d907f00d3cbdf6cd1f2':
  Clean up the x86 and x86_64 _exit_with_stack_teardown implementations.
2013-10-07 10:51:24 -07:00
Elliott Hughes
04cdfa67c7 Merge "Clean up the x86 and x86_64 _exit_with_stack_teardown implementations." 2013-10-07 17:49:19 +00:00
H.J. Lu
6fe4e87954 Add an optional alias list to SYSCALLS.TXT
This patch adds an optional alias list to SYSCALLS.TXT.  It is used to
create aliases for a syscall.  For x86-64, lseek64 is an alias for lseek.

Change-Id: Icb11fd2bb461ea4f5f0a26bfc585471d7d7cc468
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2013-10-07 21:37:12 +04:00
Elliott Hughes
019d0f3347 am d262e17e: Merge "Don\'t define the meaningless SOFTFLOAT for x86."
* commit 'd262e17ec13b9a844940c12c90b30334f6ad744c':
  Don't define the meaningless SOFTFLOAT for x86.
2013-10-07 10:29:32 -07:00
Elliott Hughes
d262e17ec1 Merge "Don't define the meaningless SOFTFLOAT for x86." 2013-10-07 17:27:18 +00:00
Elliott Hughes
a97cc5b458 Clean up the x86 and x86_64 _exit_with_stack_teardown implementations.
Change-Id: I4bcbbc53893612bd94643ef07722becb00f91792
2013-10-07 10:25:11 -07:00
Elliott Hughes
ee489f6ad2 Don't define the meaningless SOFTFLOAT for x86.
Change-Id: I9f932ad5d9f731a0de18efb881d02cedf9fcbede
2013-10-07 09:53:44 -07:00
Elliott Hughes
dd384c3e7b am a6e9ae80: Merge "Fix MIPS build."
* commit 'a6e9ae80e51bffa40e600beb38e7796d2ef45242':
  Fix MIPS build.
2013-10-06 22:35:05 -07:00
Elliott Hughes
a6e9ae80e5 Merge "Fix MIPS build." 2013-10-07 05:32:56 +00:00
Elliott Hughes
21e7164335 Fix MIPS build.
Although 'register' is deprecated, we need to use v1, and there's
no way to do that through register constraints on the assembler
fragment itself.

Change-Id: Ib5b12c4c3652513d10cc61d4a4b11314ece25663
2013-10-06 22:29:17 -07:00
Elliott Hughes
06ac96d134 am 4e965d95: Merge "libc: Remove deprecated register"
* commit '4e965d95cfe19cc7d3aefd9b8d0ad607475793fe':
  libc: Remove deprecated register
2013-10-06 21:45:58 -07:00
Elliott Hughes
4e965d95cf Merge "libc: Remove deprecated register" 2013-10-07 04:43:57 +00:00
Elliott Hughes
8eafc786ea am fcfb6822: Merge "Upgrade to tzdata2013g."
* commit 'fcfb6822d1cd26d754d6f6f3bfd737b33c55b7db':
  Upgrade to tzdata2013g.
2013-10-06 20:00:14 -07:00
Elliott Hughes
fcfb6822d1 Merge "Upgrade to tzdata2013g." 2013-10-07 02:57:30 +00:00
synergydev
baa5874404 libc: Remove deprecated register
In c++11, register has been deprecated, and
libc is now built as gnu++11

From the documentation:
A register specifier is a hint to the implementation
that the variable so declared will be heavily used.
[ Note: The hint can be ignored and in most implementations
it will be ignored if the address of the variable is taken.
This use is deprecated (see D.2)

Change-Id: I459dc3f5f9de63fc09eeda3bc6700f31bdf20f6f
2013-10-06 13:25:02 -07:00
Elliott Hughes
40f072192f Upgrade to tzdata2013g.
From the release notes:

  Changes affecting current and near-future time stamps

    Morocco now observes DST from the last Sunday in March to the last
    Sunday in October, not April to September respectively.  (Thanks
    to Steffen Thorsen.)

Change-Id: I9a657a1b819ce17bb424474d4bcdae093f4c4dca
2013-10-06 11:35:34 -07:00
Elliott Hughes
b7d77a9eb1 am 56777421: Merge "Add arch-x86_64/include/machine."
* commit '5677742199456e96a5f5e006102a0bafa79747b2':
  Add arch-x86_64/include/machine.
2013-10-04 16:19:29 -07:00
Elliott Hughes
5677742199 Merge "Add arch-x86_64/include/machine." 2013-10-04 23:17:31 +00:00
Elliott Hughes
72645164b6 Add arch-x86_64/include/machine.
This is basically the other half of I5de76f6c46ac87779f207d568a86bb453e2414de
from Pavel Chupin <pavel.v.chupin@intel.com>, but taking the exact upstream
_types.h instead of the modified version. (I was confused when I suggested
otherwise.)

I've also cleaned up the internal_types.h situation; we weren't gaining
anything from these empty files, and there is no upstream internal_types.h
for x86_64.

Change-Id: I802a9a6a8df1c979e820659212c75a47c2ef392e
2013-10-04 16:10:13 -07:00
Elliott Hughes
fb8ce52837 am 8fb977ba: Merge "Add arch-x86_64/bionic."
* commit '8fb977ba114e3fcb4965bc0211d3f9a409915994':
  Add arch-x86_64/bionic.
2013-10-04 15:04:53 -07:00
Elliott Hughes
8fb977ba11 Merge "Add arch-x86_64/bionic." 2013-10-04 22:02:07 +00:00
Elliott Hughes
4906e5653c Add arch-x86_64/bionic.
This is basically half of I5de76f6c46ac87779f207d568a86bb453e2414de from
Pavel Chupin <pavel.v.chupin@intel.com>, but with the stock upstream
setjump/sigsetjmp and H.J. Lu's suggested changes to __rt_sigreturn.

Change-Id: I8167ec228faeb2065391e5bec0413cca662f3d33
2013-10-04 14:55:30 -07:00
Nick Kralevich
9da8b6829c am c417d0a5: Merge "Make error messages even better!"
* commit 'c417d0a5cd0743d691fc63cc1007979b836945a0':
  Make error messages even better!
2013-10-04 11:56:57 -07:00
Elliott Hughes
c89f1db0a9 am 7021e438: Merge "x86_64: Remove lseek64 for x86_64 for a while"
* commit '7021e438771f5328843e35e948838bf74392d353':
  x86_64: Remove lseek64 for x86_64 for a while
2013-10-04 11:56:56 -07:00
Nick Kralevich
c417d0a5cd Merge "Make error messages even better!" 2013-10-04 18:48:47 +00:00
Nick Kralevich
6861c6f85e Make error messages even better!
Change-Id: I72bd1eb1d526dc59833e5bc3c636171f7f9545af
2013-10-04 11:43:30 -07:00
Elliott Hughes
7021e43877 Merge "x86_64: Remove lseek64 for x86_64 for a while" 2013-10-04 18:30:56 +00:00
Pavel Chupin
9373bbb24b x86_64: Remove lseek64 for x86_64 for a while
Just to keep x86_64 libc buildable

Change-Id: I6e69abe2b699bc4ac12e41178ee080df5dac47b7
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2013-10-04 11:30:27 -07:00
Elliott Hughes
aa3c74d175 am 57d9cebb: Merge "Remove useless x86 fallbacks."
* commit '57d9cebbeaa63b9c3ca5c4f66938154fe7bb870c':
  Remove useless x86 fallbacks.
2013-10-04 11:07:03 -07:00
Elliott Hughes
57d9cebbea Merge "Remove useless x86 fallbacks." 2013-10-04 18:05:48 +00:00
Elliott Hughes
82d974c7ef am a81fd294: Merge "Fixed ASM_ALIGN macro"
* commit 'a81fd294be55f8781dbf22f381a3335212d8dbd9':
  Fixed ASM_ALIGN macro
2013-10-04 09:26:44 -07:00
Elliott Hughes
a81fd294be Merge "Fixed ASM_ALIGN macro" 2013-10-04 16:25:47 +00:00
Nick Kralevich
ed1f8ea036 am bf452313: Merge "FORTIFY_SOURCE: emphasize prevention in error messages."
* commit 'bf452313b0fcc2a14e55435b93eebd0ead73ad3e':
  FORTIFY_SOURCE: emphasize prevention in error messages.
2013-10-04 09:23:26 -07:00
Nick Kralevich
bf452313b0 Merge "FORTIFY_SOURCE: emphasize prevention in error messages." 2013-10-04 16:20:20 +00:00
Nick Kralevich
e2617290fc FORTIFY_SOURCE: emphasize prevention in error messages.
FORTIFY_SOURCE prevents buffer overflows from occurring.
However, the error message often implies that we only
detect it, not prevent it.

Bring more clarity to the error messages by emphasizing
prevention over detection.

Change-Id: I5f3e1478673bdfc589e6cc4199fce8e52e197a24
2013-10-04 08:57:17 -07:00
Pavel Chupin
719269db18 Fixed ASM_ALIGN macro
Got it all wrong on first patch. Somehow that didn't affect system
build, neither arm nor x86... something to think about.

Change-Id: I45416d843aad44af62841c6f6ab607ccf3f012ea
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2013-10-04 11:12:58 +04:00
Elliott Hughes
7e841ed688 Remove useless x86 fallbacks.
The NDK ABI requires that you support SSE2, and the build system won't let you
build with ARCH_X86_HAVE_SSE2 set to false. So let's stop pretending this
constant is actually a variable, and let's remove the corresponding dead code.

Also, the USE_SSE2 and USE_SSE3 macros are unused, so let's not bother
setting them.

Change-Id: I40b501d998530d22518ce1c4d14575513a8125bb
2013-10-03 23:30:33 -07:00
Elliott Hughes
71e0b240ed am 41ba05e2: Merge "x86_64: Fix get_tls and statvfs"
* commit '41ba05e22ed1829cc7431fd4899cfa5725c76044':
  x86_64: Fix get_tls and statvfs
2013-10-03 21:23:28 -07:00
Elliott Hughes
41ba05e22e Merge "x86_64: Fix get_tls and statvfs" 2013-10-04 00:34:50 +00:00
Pavel Chupin
1e52a54a47 x86_64: Fix get_tls and statvfs
* bionic_tls.h - Add x86_64 version of get_tls macro;
* statvfs.h - 64-bit kernels don't have __statfs64/__fstatfs64, applying
workaround;

Change-Id: I20d7ddad74c7b7243866373d0142da6627c08280
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2013-10-03 17:31:50 -07:00
Elliott Hughes
6d923d4973 am 14102932: Merge "Move common arch-* code to arch-common directory"
* commit '141029327cdc62629e248b3be1d7a58d4e9e5ba8':
  Move common arch-* code to arch-common directory
2013-10-03 16:20:28 -07:00
Elliott Hughes
141029327c Merge "Move common arch-* code to arch-common directory" 2013-10-03 23:17:58 +00:00
Nick Kralevich
687c7e3ece am e8dc673c: Merge "Don\'t export unnecessary symbol."
* commit 'e8dc673ca56556389ad06ce1bb55e6624b4db721':
  Don't export unnecessary symbol.
2013-10-03 15:54:27 -07:00
Nick Kralevich
2e819c58c9 am 2ff3c746: Merge "Check memory size on FD_* functions"
* commit '2ff3c746aeafeac9d1019bed97a99346515516af':
  Check memory size on FD_* functions
2013-10-03 15:54:27 -07:00
Nick Kralevich
e8dc673ca5 Merge "Don't export unnecessary symbol." 2013-10-03 22:52:02 +00:00