Commit Graph

6837 Commits

Author SHA1 Message Date
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
Elliott Hughes
cb43f8474d Merge "Unify our assembler macros." 2014-02-20 22:13:18 +00:00
Elliott Hughes
d28b277952 Remove two DNS files that weren't being built.
And switch the makefile to just building everything in the relevant directory.

Change-Id: Ia7785c4dcabb51639c2230026f8a8a9eff919a36
2014-02-20 13:59:20 -08:00
Elliott Hughes
851e68a240 Unify our assembler macros.
Our <machine/asm.h> files were modified from upstream, to the extent
that no architecture was actually using the upstream ENTRY or END macros,
assuming that architecture even had such a macro upstream. This patch moves
everyone to the same macros, with just a few tweaks remaining in the
<machine/asm.h> files, which no one should now use directly.

I've removed most of the unused cruft from the <machine/asm.h> files, though
there's still rather a lot in the mips/mips64 ones.

Bug: 12229603
Change-Id: I2fff287dc571ac1087abe9070362fb9420d85d6d
2014-02-20 13:51:26 -08:00
Elliott Hughes
97dcfc06e7 am 22c6b7ff: Merge "Fix mips64 crt build."
* commit '22c6b7ffd36fe8b34b677eea94d00aef2624e4e8':
  Fix mips64 crt build.
2014-02-20 20:04:46 +00:00
Elliott Hughes
22c6b7ffd3 Merge "Fix mips64 crt build." 2014-02-20 19:58:23 +00:00
Elliott Hughes
632e242207 am 6a686556: Merge "Remove useless _C_LABEL from our assembler source."
* commit '6a686556b9f112fdf02ce404d680306ab1d901be':
  Remove useless _C_LABEL from our assembler source.
2014-02-20 19:58:15 +00:00
Elliott Hughes
c345caae9a Fix mips64 crt build.
This was broken during the multi-arch makefile changes.

Change-Id: Id25cf3273f63c11fbca1cff944fc5e1bf765c636
2014-02-20 11:57:25 -08:00
Elliott Hughes
6a686556b9 Merge "Remove useless _C_LABEL from our assembler source." 2014-02-20 19:52:37 +00:00
Elliott Hughes
09289d92f9 Remove useless _C_LABEL from our assembler source.
Change-Id: I41a9181537c70ecc69ef8035132c9a83811a40d0
2014-02-20 11:51:11 -08:00
Elliott Hughes
f5fd87f4f9 am bfa2b6fc: Merge "Stop advertising an arm32-specific hack like it\'s a build system feature."
* commit 'bfa2b6fc6a09df9815773890db94d6a126565289':
  Stop advertising an arm32-specific hack like it's a build system feature.
2014-02-20 19:46:24 +00:00
Dmitriy Ivanov
ac8049349f am 54d49ac7: Merge "Added script generating additions to libgcc_compat.c from linker errors"
* commit '54d49ac75b4b71f38eb154ab8e05f60b7c347a2b':
  Added script generating additions to libgcc_compat.c from linker errors
2014-02-20 19:46:23 +00:00
Elliott Hughes
bfa2b6fc6a Merge "Stop advertising an arm32-specific hack like it's a build system feature." 2014-02-20 19:41:15 +00:00
Dmitriy Ivanov
54d49ac75b Merge "Added script generating additions to libgcc_compat.c from linker errors" 2014-02-20 19:40:08 +00:00
Elliott Hughes
6e39ba73bf Stop advertising an arm32-specific hack like it's a build system feature.
Change-Id: I3a830b4a3516b6eb8e4f8e6e6b122a22a2e341df
2014-02-20 11:36:55 -08:00