Commit Graph

7002 Commits

Author SHA1 Message Date
Calin Juravle
26349d8c2e Fix mips build
Change-Id: Ica843d387e115d0b27afd961af73237ec9109ed9
2014-02-26 21:33:36 +00:00
Calin Juravle
adc3d96fce am 35036961: Merge "Moved to a more openbsd-like fenv.h"
* commit '35036961f85945483b6b833b976d12e6a58c2313':
  Moved to a more openbsd-like fenv.h
2014-02-26 20:39:58 +00:00
Calin Juravle
35036961f8 Merge "Moved to a more openbsd-like fenv.h" 2014-02-26 20:34:41 +00:00
Calin Juravle
2d367905a2 Moved to a more openbsd-like fenv.h
Factored out common declarations to include/fenv.h and pushed
the implementation to .c files.

Bug: 11050744
Change-Id: I446b13cc4bc599d328343a8d392b07de280f6304
2014-02-26 12:30:44 +00:00
Elliott Hughes
ddcba6e8ee am 27c7dbee: Merge "Fix log_backtrace assertion failure caused by LP64 fix."
* commit '27c7dbeee6c5e0cee488ce5085cc0b8c5e0301bd':
  Fix log_backtrace assertion failure caused by LP64 fix.
2014-02-25 23:42:00 +00:00
Elliott Hughes
27c7dbeee6 Merge "Fix log_backtrace assertion failure caused by LP64 fix." 2014-02-25 23:36:43 +00:00
Elliott Hughes
ba76572789 Fix log_backtrace assertion failure caused by LP64 fix.
When libc.debug.malloc is enabled, stack backtraces fail with:

bionic/libc/bionic/libc_logging.cpp:378: assertion "conversion
    specifier unsupported" failed

The cause was a change to the format specifier from "%08x" to
"%0*x" to pass the field width as an additional parameter.
Unfortunately this modifier isn't supported by out_vformat() in
libc_logging.cpp.

Changed to use "%016x" if __LP64__ is defined; "%08x" otherwise.

Bug: 13177507
Change-Id: Ibf07263acf14da086d3c3788872f4b5477bd5708
2014-02-25 15:32:01 -08:00
Elliott Hughes
73efa96c06 am 901553aa: Merge "Switch to current OpenBSD system.c."
* commit '901553aaf4960c4ab21c9a090919aee8be5e62ab':
  Switch to current OpenBSD system.c.
2014-02-25 23:25:38 +00:00
Elliott Hughes
6c7935408e am c380385f: Merge "Fix LP64 builds after OpenBSD string changes."
* commit 'c380385f0b8826ab7c02429dd48b07670516f964':
  Fix LP64 builds after OpenBSD string changes.
2014-02-25 23:21:55 +00:00
Elliott Hughes
901553aaf4 Merge "Switch to current OpenBSD system.c." 2014-02-25 23:21:00 +00:00
Elliott Hughes
1e4378ea06 Switch to current OpenBSD system.c.
Change-Id: Ie2df60f0d55dca69149ffe064f10183411407987
2014-02-25 15:19:26 -08:00
Elliott Hughes
c380385f0b Merge "Fix LP64 builds after OpenBSD string changes." 2014-02-25 23:15:39 +00:00
Elliott Hughes
b6208836cb Fix LP64 builds after OpenBSD string changes.
Change-Id: I07202f6484e716d153d0387fcfc023e119438251
2014-02-25 15:12:29 -08:00
Elliott Hughes
806f3bd7aa Upgrade to tzdata2013i.
From the release notes:

  Changes affecting near-future time stamps:

    Jordan switches back to standard time at 00:00 on December 20, 2013.
    The 2006-2011 transition schedule is planned to resume in 2014.
    (Thanks to Steffen Thorsen.)

  Changes affecting past time stamps:

    In 2004, Cuba began DST on March 28, not April 4.
    (Thanks to Steffen Thorsen.)

Bug: 13193205
Change-Id: I8f26cc50f6b571804a18ff2113b4a47a22bc56dd
2014-02-25 22:47:29 +00:00
Elliott Hughes
6358fc2d0b am 5c7816f4: Merge "More OpenBSD cleanup (primarily string)."
* commit '5c7816f425cb70ca6920e816aba33ce3d691ef10':
  More OpenBSD cleanup (primarily string).
2014-02-25 21:47:41 +00:00
Elliott Hughes
5c7816f425 Merge "More OpenBSD cleanup (primarily string)." 2014-02-25 21:41:48 +00:00
Calin Juravle
5a600f59d7 am a92b57c7: Merge "Added ftw64, nftw64"
* commit 'a92b57c7f8230661d911f2fd6dd67a81e9a90cef':
  Added ftw64, nftw64
2014-02-25 10:47:38 +00:00
Calin Juravle
dfb02bcdf4 am 7c1efffc: Merge "Added mkstemp64"
* commit '7c1efffc249283b47309846abba8795f3fb91555':
  Added mkstemp64
2014-02-25 10:47:37 +00:00
Calin Juravle
a92b57c7f8 Merge "Added ftw64, nftw64" 2014-02-25 10:44:26 +00:00
Calin Juravle
7c1efffc24 Merge "Added mkstemp64" 2014-02-25 10:43:31 +00:00
Elliott Hughes
53e43292aa More OpenBSD cleanup (primarily string).
This patch removes the string/ and wchar/ directories.

Change-Id: Ia489904bc67047e4bc79acb1f3eec21aa3fe5f0d
2014-02-24 18:02:05 -08:00
Elliott Hughes
633502c177 am ba40a560: Merge "Remove <asm/page.h>."
* commit 'ba40a560176e6ea753d09a6a71343b81ea4c8c1e':
  Remove <asm/page.h>.
2014-02-25 00:06:51 +00:00
Elliott Hughes
ba40a56017 Merge "Remove <asm/page.h>." 2014-02-25 00:01:44 +00:00
Elliott Hughes
0e44bc3bae Remove <asm/page.h>.
If we have PAGE_SIZE/PAGESIZE, POSIX says they should be in <limits.h>.

Change-Id: I3c2d574ea2aea81f524874a156361411a4ffa18e
2014-02-24 15:55:31 -08:00
Calin Juravle
d4934a70e6 Added ftw64, nftw64
Bug: 13076637
Change-Id: I5b926526f935b00bba14c2807b61d85f95089c33
2014-02-24 20:22:11 +00:00
Calin Juravle
fe317a3775 Added mkstemp64
Bug: 13076637
Change-Id: I41bf28ab3e6c7325470781e9323eeec023483df5
2014-02-24 20:19:19 +00:00
Narayan Kamath
9b82372626 am b26e4944: Merge "Fix 64-bit build."
* commit 'b26e4944e2a5bf4b7e33fa38fb17a3b76c7fe0f7':
  Fix 64-bit build.
2014-02-24 14:25:31 +00:00
Narayan Kamath
e425856b1a am c6d96bb8: Merge "Move system_properties over to C++."
* commit 'c6d96bb8673a4f44d84f3beaa5ed4fec1484f0ad':
  Move system_properties over to C++.
2014-02-24 14:25:31 +00:00
Narayan Kamath
b26e4944e2 Merge "Fix 64-bit build." 2014-02-24 11:14:08 +00:00
Narayan Kamath
37e9570bce Fix 64-bit build.
A warning about signed vs unsigned comparison was converted
into an error here :

 ...
 struct stat st;
 if (st.st_size > sizeof(prop_area) {
 ...

st_size is either an off64_t, which is a signed type. It's
worth investigating why this didn't trigger a warning on 32 bit,
where it's signed as well.

Change-Id: Ib2622bd5c444ddcfa7fb2141f00332cbb4a0818b
2014-02-24 11:05:02 +00:00
Narayan Kamath
c6d96bb867 Merge "Move system_properties over to C++." 2014-02-24 10:47:54 +00:00
Narayan Kamath
c9ae21a5c3 Move system_properties over to C++.
This change constitutes the minimum amount of
work required to move the code over to C++, address
compiler warnings, and to make it const correct and
idiomatic (within the constraints of being called
from C code).

bug: 13058886

Change-Id: Ic78cf91b7c8e8f07b4ab0781333a9e243763298c
2014-02-24 10:45:35 +00:00
Elliott Hughes
5c266bca8f am 3572fbc8: Merge "Fix a typo in HACKING.txt."
* commit '3572fbc8cd01d90a7f0c65a15c79abf1ece144ef':
  Fix a typo in HACKING.txt.
2014-02-22 00:41:34 +00:00
Elliott Hughes
7b9e7a7093 am 9150dfb1: Merge "Clean up our OpenBSD usage."
* commit '9150dfb1c6928ceef228e640412c3653d5e87a10':
  Clean up our OpenBSD usage.
2014-02-22 00:41:32 +00:00
Elliott Hughes
3572fbc8cd Merge "Fix a typo in HACKING.txt." 2014-02-22 00:10:10 +00:00
Elliott Hughes
247904a235 Fix a typo in HACKING.txt.
Change-Id: If1cc18776d873cb5966186b65b8831677df77aaf
2014-02-21 16:09:27 -08: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
587399d23a am 90b01576: Merge "Fixed int fast types for LP64"
* commit '90b0157679a984f1829a72f8c642d17030aa7644':
  Fixed int fast types for LP64
2014-02-21 17:25:25 +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
31425c9fce am e65055af: Merge "Stop asking GCC to cause trouble."
* commit 'e65055af112780623f372aca6a1f78d2b2acb34f':
  Stop asking GCC to cause trouble.
2014-02-20 22:55:25 +00:00
Elliott Hughes
e65055af11 Merge "Stop asking GCC to cause trouble." 2014-02-20 22:49:42 +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
1df76ccc60 am 26172fa4: Merge "Move the upstream-netbsd libc files into the correct directory."
* commit '26172fa401a4323c8c9b4063a59ab6d08ca617bf':
  Move the upstream-netbsd libc files into the correct directory.
2014-02-20 22:28:48 +00:00
Elliott Hughes
26172fa401 Merge "Move the upstream-netbsd libc files into the correct directory." 2014-02-20 22:23:21 +00:00
Elliott Hughes
5052dcd488 am 8d0fe1c4: Merge "Remove two DNS files that weren\'t being built."
* commit '8d0fe1c49e83592372becc996accfe9d5948aa9b':
  Remove two DNS files that weren't being built.
2014-02-20 22:19:07 +00:00
Elliott Hughes
45352a065c am cb43f847: Merge "Unify our assembler macros."
* commit 'cb43f8474dafd7a4d3eb605d4a7c7f69ad7cef2e':
  Unify our assembler macros.
2014-02-20 22:19:07 +00: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