Christopher Ferris
0292c1c81d
am 3901b1bd
: Merge "Remove the __ARM_FEATURE_DSP check."
...
* commit '3901b1bdd939973a72e01272177757b2524995d3':
Remove the __ARM_FEATURE_DSP check.
2013-10-02 23:25:08 -07:00
Christopher Ferris
3901b1bdd9
Merge "Remove the __ARM_FEATURE_DSP check."
2013-10-03 06:22:27 +00:00
Christopher Ferris
aec1b3540a
Remove the __ARM_FEATURE_DSP check.
...
The check for __ARM_FEATURE_DSP being defined is pointless since it
is always defined.
Bug: 10971279
Merge from internal master.
(cherry-picked from d2642fa70c
)
Change-Id: If23ab3271f4da0c38cd531ffdc9a7e5eed6ec5dc
2013-10-02 23:14:01 -07:00
Christopher Ferris
23517fb8f3
Merge "Remove the __ARM_FEATURE_DSP check."
2013-10-03 06:11:36 +00:00
Elliott Hughes
9f379b3d84
am fa9fb5cb
: am 2a3d760e
: am 00a816e5
: Merge "Fix 32-bit issues in tests, and add a trivial test for the FD_* macros."
...
* commit 'fa9fb5cb01986ac77ea4f7c54b2f419ac47989d3':
Fix 32-bit issues in tests, and add a trivial test for the FD_* macros.
2013-10-02 21:06:26 -07:00
Elliott Hughes
fa9fb5cb01
am 2a3d760e
: am 00a816e5
: Merge "Fix 32-bit issues in tests, and add a trivial test for the FD_* macros."
...
* commit '2a3d760e0fc0cbd2cac03754949457c062ced5f5':
Fix 32-bit issues in tests, and add a trivial test for the FD_* macros.
2013-10-02 21:04:32 -07:00
Elliott Hughes
2a3d760e0f
am 00a816e5
: Merge "Fix 32-bit issues in tests, and add a trivial test for the FD_* macros."
...
* commit '00a816e5874153ae3103af869182a81b31445388':
Fix 32-bit issues in tests, and add a trivial test for the FD_* macros.
2013-10-02 21:02:43 -07:00
Elliott Hughes
00a816e587
Merge "Fix 32-bit issues in tests, and add a trivial test for the FD_* macros."
2013-10-03 04:00:30 +00:00
Elliott Hughes
306bc829c7
am b8b8b6dc
: am 14d5e22f
: am 66b18dd4
: Merge "Fix the x86_64 fenv.h."
...
* commit 'b8b8b6dc2e602b153837a85ebc59814ecfbed018':
Fix the x86_64 fenv.h.
2013-10-02 20:53:38 -07:00
Elliott Hughes
b8b8b6dc2e
am 14d5e22f
: am 66b18dd4
: Merge "Fix the x86_64 fenv.h."
...
* commit '14d5e22feef2f097bf7139c2f452d2810970651a':
Fix the x86_64 fenv.h.
2013-10-02 20:51:50 -07:00
Elliott Hughes
14d5e22fee
am 66b18dd4
: Merge "Fix the x86_64 fenv.h."
...
* commit '66b18dd4e4294de72728f51af61b79f6f7885a2f':
Fix the x86_64 fenv.h.
2013-10-02 20:50:21 -07:00
Elliott Hughes
66b18dd4e4
Merge "Fix the x86_64 fenv.h."
2013-10-03 03:48:19 +00:00
Nick Kralevich
4551a6e643
am 670f3724
: am b6201932
: am 2c701a1b
: Merge "libc: don\'t export unnecessary symbols"
...
* commit '670f372470cc6f885fd035495b14b8890763f665':
libc: don't export unnecessary symbols
2013-10-02 20:28:01 -07:00
Christopher Ferris
d2642fa70c
Remove the __ARM_FEATURE_DSP check.
...
The check for __ARM_FEATURE_DSP being defined is pointless since it
is always defined.
Bug: 10971279
Change-Id: Id3f709cf9fd0e5a001be1a7dab5f249bcc16fe4c
2013-10-02 17:05:00 -07:00
Nick Kralevich
670f372470
am b6201932
: am 2c701a1b
: Merge "libc: don\'t export unnecessary symbols"
...
* commit 'b6201932838c46a567e3411047719fd5c2797e96':
libc: don't export unnecessary symbols
2013-10-02 17:03:42 -07:00
Elliott Hughes
361847f9ac
Fix the x86_64 fenv.h.
...
We should clean all the fenv.h files up, but not now. I've raised
bug 11050744 as a reminder.
Change-Id: I640c15b0f0477ec1a7891c031860404875bbe4b5
2013-10-02 17:02:58 -07:00
Nick Kralevich
b620193283
am 2c701a1b
: Merge "libc: don\'t export unnecessary symbols"
...
* commit '2c701a1bac2bd852b68f5a2e50c2c60fa82266e0':
libc: don't export unnecessary symbols
2013-10-02 17:01:22 -07:00
Nick Kralevich
2c701a1bac
Merge "libc: don't export unnecessary symbols"
2013-10-02 23:59:23 +00:00
Elliott Hughes
5b9310e502
Fix 32-bit issues in tests, and add a trivial test for the FD_* macros.
...
Change-Id: Ia3f21ce1f0ed9236527fe44d36ccb7de6bf63113
2013-10-02 16:59:05 -07:00
Nick Kralevich
32bbf8a63b
libc: don't export unnecessary symbols
...
Symbols associated with the internal implementation of memcpy
like routines should be private.
Change-Id: I2b1d1f59006395c29d518c153928437b08f93d16
2013-10-02 16:54:58 -07:00
Nick Kralevich
6166d30386
am 56343733
: am 8598cd68
: am f741e1c2
: Merge "FORTIFY_SOURCE: Add __FD_* checks"
...
* commit '5634373320d7dac30fa68feeb4d3b883566461ac':
FORTIFY_SOURCE: Add __FD_* checks
2013-10-02 16:35:44 -07:00
Nick Kralevich
5634373320
am 8598cd68
: am f741e1c2
: Merge "FORTIFY_SOURCE: Add __FD_* checks"
...
* commit '8598cd6888366008033286113bd633b44c70b7dd':
FORTIFY_SOURCE: Add __FD_* checks
2013-10-02 16:30:51 -07:00
Nick Kralevich
8598cd6888
am f741e1c2
: Merge "FORTIFY_SOURCE: Add __FD_* checks"
...
* commit 'f741e1c2ed27f153e92a2a36c9db3b189f9a6388':
FORTIFY_SOURCE: Add __FD_* checks
2013-10-02 16:28:00 -07:00
Nick Kralevich
f741e1c2ed
Merge "FORTIFY_SOURCE: Add __FD_* checks"
2013-10-02 23:26:50 +00:00
Nick Kralevich
90201d5eca
FORTIFY_SOURCE: Add __FD_* checks
...
Add FORTIFY_SOURCE checks for the following macros:
* FD_CLR
* FD_ISSET
* FD_SET
Bug: 11047121
Change-Id: I3c5952136aec9eff3288b91b1318677ff971525c
2013-10-02 16:11:30 -07:00
Stephen Hines
689d0ed781
am a6d4acc9
: am 1986d369
: am 32c0c6e7
: Merge "Use gnu++11 and gnu99 explicitly for C++/C files."
...
* commit 'a6d4acc9f957a1d079e646a3bb6ee4a6504b6220':
Use gnu++11 and gnu99 explicitly for C++/C files.
2013-10-02 15:25:27 -07:00
Stephen Hines
a6d4acc9f9
am 1986d369
: am 32c0c6e7
: Merge "Use gnu++11 and gnu99 explicitly for C++/C files."
...
* commit '1986d36957089bfc8a9d8135768f067395e98bd5':
Use gnu++11 and gnu99 explicitly for C++/C files.
2013-10-02 15:22:56 -07:00
Stephen Hines
1986d36957
am 32c0c6e7
: Merge "Use gnu++11 and gnu99 explicitly for C++/C files."
...
* commit '32c0c6e7d56ea2fad0a362f37bb84937b82c3be2':
Use gnu++11 and gnu99 explicitly for C++/C files.
2013-10-02 15:20:36 -07:00
Stephen Hines
32c0c6e7d5
Merge "Use gnu++11 and gnu99 explicitly for C++/C files."
2013-10-02 22:18:26 +00:00
Nick Kralevich
e1bcd57469
am 944ce989
: am f7da611b
: am 00d51c9f
: Merge "Use alloc_size attribute on *alloc functions"
...
* commit '944ce989f8d9c4fa1c8211ac5aa46693346e1fe0':
Use alloc_size attribute on *alloc functions
2013-10-02 14:41:52 -07:00
Nick Kralevich
944ce989f8
am f7da611b
: am 00d51c9f
: Merge "Use alloc_size attribute on *alloc functions"
...
* commit 'f7da611b3dedaf9951e08b0296daf67eda8228c0':
Use alloc_size attribute on *alloc functions
2013-10-02 14:38:12 -07:00
Nick Kralevich
f7da611b3d
am 00d51c9f
: Merge "Use alloc_size attribute on *alloc functions"
...
* commit '00d51c9f6e9b3f10bddad80b3938ffa553094578':
Use alloc_size attribute on *alloc functions
2013-10-02 14:35:03 -07:00
Nick Kralevich
00d51c9f6e
Merge "Use alloc_size attribute on *alloc functions"
2013-10-02 21:31:43 +00:00
Nick Kralevich
b91791d71c
Use alloc_size attribute on *alloc functions
...
malloc and family were not declared with __attribute__((alloc_size)).
This was (sometimes) preventing FORTIFY_SOURCE related functions
from knowing the size of the buffer it's dealing with, inhibiting
FORTIFY_SOURCE protections.
Add __attribute__((alloc_size))
Information about the alloc_size attribute can be found
at http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html
Change-Id: Ia2f0a445f0170a7325f69259b5e7fb35a9f14921
2013-10-02 14:14:40 -07:00
Stephen Hines
762cea46f0
Use gnu++11 and gnu99 explicitly for C++/C files.
...
Clang and gcc default to different standards, so we should be explicit
about the versions we want to compile for.
Change-Id: I65495a2392dd29f36373b94c616c2506173e6033
2013-10-02 12:37:16 -07:00
Elliott Hughes
ade1e9d268
am a0a5a501
: am 2e2a4f97
: am 4bbf3a8b
: Merge "Remove #define _BITSIZE 32."
...
* commit 'a0a5a5015210585abc426a79e51b8cb70e28569d':
Remove #define _BITSIZE 32.
2013-10-02 10:11:46 -07:00
Elliott Hughes
a0a5a50152
am 2e2a4f97
: am 4bbf3a8b
: Merge "Remove #define _BITSIZE 32."
...
* commit '2e2a4f97bfbb7b94d12690395c5cbcf7d7d1edc7':
Remove #define _BITSIZE 32.
2013-10-02 10:10:27 -07:00
Elliott Hughes
2e2a4f97bf
am 4bbf3a8b
: Merge "Remove #define _BITSIZE 32."
...
* commit '4bbf3a8b558ea8b5ce62f2d1ee2599a8e95c21c0':
Remove #define _BITSIZE 32.
2013-10-02 10:08:58 -07:00
Elliott Hughes
4bbf3a8b55
Merge "Remove #define _BITSIZE 32."
2013-10-02 17:06:44 +00:00
Stephen Hines
f32a5dc7b1
am 9218adc3
: am 62f95981
: am 70e1730c
: Merge "Remove _FORTIFY_SOURCE in implementation files."
...
* commit '9218adc3909ee4d549526bba546203c8e1a16344':
Remove _FORTIFY_SOURCE in implementation files.
2013-10-02 09:39:15 -07:00
Stephen Hines
3db26e87e7
am 95fa8962
: am dcffa999
: am e0e6409c
: Merge "Add simple implementation _Unwind_GetIP() for clang compiles."
...
* commit '95fa896206b82f2d8c2c26681511caf5d6c896f6':
Add simple implementation _Unwind_GetIP() for clang compiles.
2013-10-02 09:39:14 -07:00
Stephen Hines
9218adc390
am 62f95981
: am 70e1730c
: Merge "Remove _FORTIFY_SOURCE in implementation files."
...
* commit '62f95981df783575efd44cb4206be7b2cbdfcf1c':
Remove _FORTIFY_SOURCE in implementation files.
2013-10-02 09:33:27 -07:00
Stephen Hines
95fa896206
am dcffa999
: am e0e6409c
: Merge "Add simple implementation _Unwind_GetIP() for clang compiles."
...
* commit 'dcffa9998e95dc0fb89d0c9e0ae51a0557d5b2b4':
Add simple implementation _Unwind_GetIP() for clang compiles.
2013-10-02 09:33:27 -07:00
Stephen Hines
62f95981df
am 70e1730c
: Merge "Remove _FORTIFY_SOURCE in implementation files."
...
* commit '70e1730c38ad91cf65425e29732b5c041dd0cf43':
Remove _FORTIFY_SOURCE in implementation files.
2013-10-02 09:31:56 -07:00
Stephen Hines
dcffa9998e
am e0e6409c
: Merge "Add simple implementation _Unwind_GetIP() for clang compiles."
...
* commit 'e0e6409c12d21cf1f0390c435fd76e74b5c4580d':
Add simple implementation _Unwind_GetIP() for clang compiles.
2013-10-02 09:31:55 -07:00
Stephen Hines
70e1730c38
Merge "Remove _FORTIFY_SOURCE in implementation files."
2013-10-02 16:30:15 +00:00
Stephen Hines
e0e6409c12
Merge "Add simple implementation _Unwind_GetIP() for clang compiles."
2013-10-02 16:29:22 +00:00
Elliott Hughes
5e72c513bf
Remove #define _BITSIZE 32.
...
I've no idea what _BITSIZE was supposed to be, glibc doesn't have it,
the BSDs don't have it, and no code is currently using it. But having
it set unconditionally to 32 sounds like a bad idea.
Change-Id: I900235c1489afba891fff0bc3b43e9d593249a4f
2013-10-02 09:23:46 -07:00
Elliott Hughes
5a072ecfb9
am 5cf3b4bd
: am a8f4e905
: am e26135ab
: Merge "The x86_64 kernel headers are the x86 kernel headers."
...
* commit '5cf3b4bd34c86be6e2dc5197d8b9f503a5faf37d':
The x86_64 kernel headers are the x86 kernel headers.
2013-10-02 08:59:02 -07:00
Elliott Hughes
5cf3b4bd34
am a8f4e905
: am e26135ab
: Merge "The x86_64 kernel headers are the x86 kernel headers."
...
* commit 'a8f4e905fa3fe5998607ff084091879b77257fd0':
The x86_64 kernel headers are the x86 kernel headers.
2013-10-02 08:57:27 -07:00