Commit Graph

10171 Commits

Author SHA1 Message Date
Dmitriy Ivanov
afd37c429b Merge "Build fix" 2014-07-02 20:52:43 +00:00
Dmitriy Ivanov
d383066941 Build fix
Change-Id: Ib43e0f055e3c5f07b50393bfcab9738454835ac3
2014-07-02 16:06:50 -07:00
Dmitriy Ivanov
950a435fc0 Merge "Load library using file handle." 2014-07-02 20:52:43 +00:00
Elliott Hughes
99e2a2f04c Merge "Switch to upstream OpenBSD mktemp.c." 2014-07-02 20:52:16 +00:00
Dan Albert
2d94ee29f4 Merge "Revert "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64.""" 2014-07-02 20:51:20 +00:00
Nick Kralevich
d11ca4e8c7 Merge "Revert "Reenable support for non-PIE executables"" 2014-07-02 20:51:20 +00:00
Nick Kralevich
76e289c026 Revert "Reenable support for non-PIE executables"
/system/bin/tf_daemon on Nakasi has been updated so it's
a PIE executable. We can now drop non-PIE support.

This reverts commit d81b3b275d.

Bug: 15086752
Bug: 15732002
Bug: 14566672
Change-Id: I832c4de01a8fa050754ea64da317d1639990265e
2014-07-03 12:08:34 -07:00
Elliott Hughes
1ee1bfdeec Merge "Use __unused rather than self assignment for unused parameters." 2014-07-02 20:49:53 +00:00
Elliott Hughes
668da74ef1 Use __unused rather than self assignment for unused parameters.
Clang, reasonably enough, doesn't like self assignment.

Change-Id: Ie5843287802949dad148a1a815231035678e1306
2014-07-07 09:46:54 -07:00
Elliott Hughes
2b2916d154 Merge "Remove some dead data." 2014-07-02 20:49:42 +00:00
Elliott Hughes
920d831ba1 Remove some dead data.
Clang doesn't like dead data, and this is just an LP32 compatibility turd.

Change-Id: I3832748a4e773b254877f4438b5340e7d4c1ce70
2014-07-07 09:46:11 -07:00
Elliott Hughes
db42a9f5a3 Merge "Fix three clang complaints about the DNS code." 2014-07-02 20:49:42 +00:00
Elliott Hughes
68c2755d71 Fix three clang complaints about the DNS code.
These are all already fixed upstream in the same way.

Change-Id: I2881b6d0fbd0237fffc0f00563bc14750dcce0d9
2014-07-07 09:44:17 -07:00
Dmitriy Ivanov
04dc91ae76 Load library using file handle.
* This patch enables dlopen by file descriptor
   instead of path/name.

Bug: 15984217
Change-Id: Ib39051e00567fb97070bf96d8ce63993877c0a01
2014-07-02 13:20:47 -07:00
Dmitriy Ivanov
f308174ae2 am 87b654ce: Merge "Disable local/protected symbol test for lp64"
* commit '87b654ce467934ab6a0fe1546341e4db42b5c344':
  Disable local/protected symbol test for lp64
2014-07-02 18:54:19 +00:00
Elliott Hughes
6593597931 Switch to upstream OpenBSD mktemp.c.
Almost all of our stdio is actually OpenBSD, so although this isn't
really a core part of stdio (it doesn't touch struct FILE, for example)
it probably makes sense for it to come from the same upstream. My
actual motivation though is that it's the only FreeBSD file we have
compiler warnings from.

This patch moves us over to -Werror by default, with only the DNS code
having -Wno-error.

Change-Id: Id244a5b445cba41b0a1ca30298ca7b1ed177810c
2014-07-02 11:22:26 -07:00
Elliott Hughes
fd18df1e7d am 7ec1ba3e: am 4d299a2c: Merge "Build all bionic test files -Werror and fix our one warning."
* commit '7ec1ba3ed7735160786c7f4fa95accdd1dc5f5bf':
  Build all bionic test files -Werror and fix our one warning.
2014-07-02 00:46:18 +00:00
Elliott Hughes
a230741e47 am e20fcb2d: am e9975987: Merge "Quiten warnings in semaphore.c."
* commit 'e20fcb2d70af950cff4ae5df8038d800630e39be':
  Quiten warnings in semaphore.c.
2014-07-02 00:46:18 +00:00
Elliott Hughes
dc615691c9 am d103c98b: am f2102f54: Merge "Quiten warnings in fts.c."
* commit 'd103c98be845e060d86463a895c2e33aa8256839':
  Quiten warnings in fts.c.
2014-07-02 00:46:17 +00:00
Elliott Hughes
7ec1ba3ed7 am 4d299a2c: Merge "Build all bionic test files -Werror and fix our one warning."
* commit '4d299a2cf7880789e658f427196d1ca9fe02a9bc':
  Build all bionic test files -Werror and fix our one warning.
2014-07-02 00:41:14 +00:00
Elliott Hughes
e20fcb2d70 am e9975987: Merge "Quiten warnings in semaphore.c."
* commit 'e9975987900e5713c5b8b13e1817a243e92f79d9':
  Quiten warnings in semaphore.c.
2014-07-02 00:41:14 +00:00
Elliott Hughes
d103c98be8 am f2102f54: Merge "Quiten warnings in fts.c."
* commit 'f2102f54a0006c56033ab0ba62d48dc4b4e8b91a':
  Quiten warnings in fts.c.
2014-07-02 00:41:13 +00:00
Dmitriy Ivanov
053f4c9cb2 am 711b5584: am 105ef36c: Merge "Native tests are now multilib=both by default"
* commit '711b5584db13b6a2aca555e577c3d7cfb04946ab':
  Native tests are now multilib=both by default
2014-07-01 23:12:34 +00:00
Dmitriy Ivanov
711b5584db am 105ef36c: Merge "Native tests are now multilib=both by default"
* commit '105ef36c67baeebd2fd9c24b6140953afba4f160':
  Native tests are now multilib=both by default
2014-07-01 23:08:01 +00:00
Dan Albert
c492450147 am 30c958f7: am 42a5a177: Merge "Revert "Revert "Prevent symbols from libgcc from being reexported."""
* commit '30c958f7f5dfd712f11026c5caa78aa7d67f082d':
  Revert "Revert "Prevent symbols from libgcc from being reexported.""
2014-07-01 22:57:06 +00:00
Dan Albert
30c958f7f5 am 42a5a177: Merge "Revert "Revert "Prevent symbols from libgcc from being reexported."""
* commit '42a5a177e99ee2ba37e041cabbbc8175ed5c5dc5':
  Revert "Revert "Prevent symbols from libgcc from being reexported.""
2014-07-01 22:50:49 +00:00
Dan Albert
f79ee064b6 Revert "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64.""
This reverts commit 715242fd0f.

Change-Id: Ia9892fa3b03287129aa72a49974cef9fd94ae735
2014-07-01 22:41:50 +00:00
Dmitriy Ivanov
4d8f3c4d99 am 51c812cd: am 442d41fc: Merge "Write message to stderr on __libc_fatal()"
* commit '51c812cd220cd9f493d61df98ca77dd0b5f000da':
  Write message to stderr on __libc_fatal()
2014-07-01 22:10:25 +00:00
Dmitriy Ivanov
51c812cd22 am 442d41fc: Merge "Write message to stderr on __libc_fatal()"
* commit '442d41fc128646d7f572da842d5d5b1918341c53':
  Write message to stderr on __libc_fatal()
2014-07-01 22:05:49 +00:00
Dmitriy Ivanov
eff2f8bc2c am aa355352: am 176ccd49: Merge "Add support for protected local symbol lookup."
* commit 'aa3553521b82e7fbec242cdc5280d1aa626a47e6':
  Add support for protected local symbol lookup.
2014-07-01 21:36:00 +00:00
Dmitriy Ivanov
aa3553521b am 176ccd49: Merge "Add support for protected local symbol lookup."
* commit '176ccd4925c682f036141c8618650b16912b9bd4':
  Add support for protected local symbol lookup.
2014-07-01 21:30:04 +00:00
Elliott Hughes
eae0d91dd5 am 94f8beb7: am dc42d7ff: Merge "Fix a warning in if_indextoname.c."
* commit '94f8beb7e3450204bb117ca2301c1769a9b76dc2':
  Fix a warning in if_indextoname.c.
2014-07-01 19:39:38 +00:00
Elliott Hughes
94f8beb7e3 am dc42d7ff: Merge "Fix a warning in if_indextoname.c."
* commit 'dc42d7ff6b792f72cfe09d8bbc2fd1f342d1d9fb':
  Fix a warning in if_indextoname.c.
2014-07-01 19:33:53 +00:00
Elliott Hughes
f2102f54a0 Merge "Quiten warnings in fts.c." 2014-07-01 19:26:36 +00:00
Elliott Hughes
ec67cded1d Quiten warnings in fts.c.
Also bring us closer to upstream. Sadly the Linux and BSD dirent
structs don't match, so we'll never be completely in sync (and I don't
think we can hide the difference with macro trickery).

Change-Id: Ief4275856116cd1d5b5e0f9166db1ead9439515c
2014-07-01 17:20:06 -07:00
Elliott Hughes
e997598790 Merge "Quiten warnings in semaphore.c." 2014-07-01 19:22:04 +00:00
Elliott Hughes
95d3cd0b85 Quiten warnings in semaphore.c.
Change-Id: I30aff82174f789ab407d2282c07e6207123d4d5b
2014-07-01 17:07:43 -07:00
Elliott Hughes
4d299a2cf7 Merge "Build all bionic test files -Werror and fix our one warning." 2014-07-01 19:16:01 +00:00
Elliott Hughes
d06ee1d6db Build all bionic test files -Werror and fix our one warning.
Change-Id: I62bb0528fd1bcb9aa4c61e44c78158a592690fc7
2014-07-01 17:17:46 -07:00
Elliott Hughes
ff7d2d0920 am 56d0f8ca: am f573a52c: Merge "Silence time64.c build warnings."
* commit '56d0f8ca50900edca67e24cfdcfb33824551b0c2':
  Silence time64.c build warnings.
2014-07-01 18:25:16 +00:00
Elliott Hughes
56d0f8ca50 am f573a52c: Merge "Silence time64.c build warnings."
* commit 'f573a52cf3a814504e5d5a6b62d74ba9516f7a28':
  Silence time64.c build warnings.
2014-07-01 18:18:04 +00:00
Dmitriy Ivanov
87b654ce46 Merge "Disable local/protected symbol test for lp64" 2014-07-01 16:52:01 +00:00
Dmitriy Ivanov
ce0ba3c706 Disable local/protected symbol test for lp64
* Static linker optimizes protected local symbol
    out of existence, which leads to test failure.
    Disabling it for now.

Change-Id: I8de327e5073f98b64639f7a0bba3a273aa419884
2014-07-01 19:13:01 -07:00
Dmitriy Ivanov
442d41fc12 Merge "Write message to stderr on __libc_fatal()" 2014-07-01 16:52:01 +00:00
Dmitriy Ivanov
12bf3bcdee Write message to stderr on __libc_fatal()
Change-Id: Ia8d6e256768fa51786d0139d3f3b6e9e4bebe027
2014-07-01 14:46:03 -07:00
Dmitriy Ivanov
105ef36c67 Merge "Native tests are now multilib=both by default" 2014-07-01 16:35:05 +00:00
Dmitriy Ivanov
fcac81ef04 Native tests are now multilib=both by default
Change-Id: I788ac0b871703c137727a65e017c4466127c0190
2014-07-01 15:38:22 -07:00
Dmitriy Ivanov
176ccd4925 Merge "Add support for protected local symbol lookup." 2014-07-01 16:35:05 +00:00
Dmitriy Ivanov
d97e9f546e Add support for protected local symbol lookup.
Bug: http://code.google.com/p/android/issues/detail?id=66048
Change-Id: Ib334223df27adad9477fb241ab099c5e26df4a7d
2014-07-01 10:25:54 -07:00
Elliott Hughes
dc42d7ff6b Merge "Fix a warning in if_indextoname.c." 2014-07-01 14:59:07 +00:00