Commit Graph

6948 Commits

Author SHA1 Message Date
Elliott Hughes
29eed9cc3a am 7f15e28d: Merge "Clean up warnings in libstdc++."
* commit '7f15e28dd4184015a2c990b6e45c33c35b251935':
  Clean up warnings in libstdc++.
2014-02-18 20:11:36 +00:00
Elliott Hughes
d4c049e023 am cd6748cd: Merge "Clean up various warnings in bionic."
* commit 'cd6748cdd7bcab702fe0bf6de943eb832f4fb762':
  Clean up various warnings in bionic.
2014-02-18 20:11:35 +00:00
Elliott Hughes
7f15e28dd4 Merge "Clean up warnings in libstdc++." 2014-02-18 20:05:59 +00:00
Elliott Hughes
cd6748cdd7 Merge "Clean up various warnings in bionic." 2014-02-18 20:05:17 +00:00
Elliott Hughes
a38cb08861 Clean up various warnings in bionic.
Change-Id: Ic57541d0a567fd4ae79f0ad59b2ffde1130eb7d2
2014-02-18 12:04:54 -08:00
Elliott Hughes
240f1e2940 Clean up warnings in libstdc++.
Change-Id: Ie71a2fdf227e7a5fc9a446bb1be110da9b3a4280
2014-02-18 12:02:37 -08:00
Elliott Hughes
447d565549 am d4bc9ef8: Merge "Remove duplicate definitions of MIN and MAX."
* commit 'd4bc9ef83b36916d5e63c4c3e4a092381473ea52':
  Remove duplicate definitions of MIN and MAX.
2014-02-17 19:05:00 +00:00
Elliott Hughes
d4bc9ef83b Merge "Remove duplicate definitions of MIN and MAX." 2014-02-17 19:00:18 +00:00
Elliott Hughes
cfbfe7059c Remove duplicate definitions of MIN and MAX.
These were needed when bionic's header files were missing these macros (though
it would have made a lot more sense to just fix the header files!) but cause
warnings now.

Change-Id: I65a677122f4f6bd07dffc3f37a0c4c0e823d1bb0
2014-02-17 10:57:56 -08:00
Colin Cross
9e8ee4dd6a am 95b808c4: Merge "build linker and linker64 on 64-bit architectures"
* commit '95b808c4ae11ea5737fee63f7b61673483ea5e2d':
  build linker and linker64 on 64-bit architectures
2014-02-14 01:02:47 +00:00
Colin Cross
95b808c4ae Merge "build linker and linker64 on 64-bit architectures" 2014-02-14 00:56:22 +00:00
Colin Cross
36ee4ab243 build linker and linker64 on 64-bit architectures
Change-Id: I400bbaf5a779fc427de4c3d86c66548b0179b10d
2014-02-13 11:18:47 -08:00
Elliott Hughes
57f42f773d am fadc8a77: Merge "Restore sys_signame for LP64."
* commit 'fadc8a7777ca304c8a7de066a94effd3a5471ee6':
  Restore sys_signame for LP64.
2014-02-13 03:48:55 +00:00
Elliott Hughes
fadc8a7777 Merge "Restore sys_signame for LP64." 2014-02-13 03:43:11 +00:00
Elliott Hughes
671e236d5f Restore sys_signame for LP64.
mksh is using this, and we probably build as much BSD source as glibc source.

Change-Id: I400d255a67f9614ca9e57090e3a2e49d2b10cba4
2014-02-12 19:04:27 -08:00
Elliott Hughes
97a376d856 am fc48e8cf: Merge "Remove unused variables not spotted by GCC."
* commit 'fc48e8cf28b80ce0f95e288eeee459b4cb932afa':
  Remove unused variables not spotted by GCC.
2014-02-13 01:30:18 +00:00
Elliott Hughes
fc48e8cf28 Merge "Remove unused variables not spotted by GCC." 2014-02-13 01:23:31 +00:00
Elliott Hughes
f2e3964d4e am 7b3876e2: Merge "Clean up sys_signame and sys_siglist a little."
* commit '7b3876e2516fd55d61a48cb23a7080ea88b9617b':
  Clean up sys_signame and sys_siglist a little.
2014-02-13 01:18:07 +00:00
Elliott Hughes
c62b8a4d3f Remove unused variables not spotted by GCC.
Change-Id: I49a16096bc0f41f3ad0007249161e8bdfcf3438c
2014-02-12 17:17:41 -08:00
Elliott Hughes
7b3876e251 Merge "Clean up sys_signame and sys_siglist a little." 2014-02-13 01:10:42 +00:00
Elliott Hughes
aa0ebdafc7 Clean up sys_signame and sys_siglist a little.
We don't need quite so much duplication because we already have a way
to get the signal number from its name, and that already copes with the
fact that the mips/mips64 numbers are different from everyone else's.

Also remove sys_signame from LP64. glibc doesn't have this BSD-ism.

Change-Id: I6dc411a3d73589383c85d3b07d9d648311492a10
2014-02-12 17:09:25 -08:00
Ying Wang
00956d039f am 9e572ca4: Merge "Fix missing args."
* commit '9e572ca4163e42bcd053df2cb8557e4b61ad064d':
  Fix missing args.
2014-02-13 00:51:16 +00:00
Ying Wang
9e572ca416 Merge "Fix missing args." 2014-02-13 00:43:23 +00:00
Ying Wang
76c8b88269 Fix missing args.
Change-Id: I89a366db984ea6b2553896a4351e59bb91f93040
2014-02-12 16:40:55 -08:00
Ying Wang
c25552bb13 am c4c50b25: Merge "Reconfig libc\'s Android.mk to build for multilib"
* commit 'c4c50b25f805b48338f3e8fb9ac137e81c187706':
  Reconfig libc's Android.mk to build for multilib
2014-02-12 23:59:49 +00:00
Ying Wang
c4c50b25f8 Merge "Reconfig libc's Android.mk to build for multilib" 2014-02-12 23:53:08 +00:00
Ying Wang
f25d677147 Reconfig libc's Android.mk to build for multilib
1. Moved arch-specific setup to their own files:
    - <arch>/<arch>.mk, arch-specific configs. Variables in those config
      end with the arch name.
    - removed the extra complexity introduced by function libc-add-cpu-variant-src,
      which seems to be not very useful these days.
2. Separated out the crt object files generation rules and set up the
   rules for both TARGET_ARCH and TARGET_2ND_ARCH.
3. Build all the libraries for both TARGET_ARCH and TARGET_2ND_ARCH,
  with the arch-specific LOCAL_ variables.

Bug: 11654773
Change-Id: I9c2d85db0affa49199d182236d2210060a321421
2014-02-12 13:58:34 -08:00
Elliott Hughes
f1f19464c5 am 819c132e: Merge "Fix NSIG."
* commit '819c132ebc18a458f651e6dacd75a0950269656b':
  Fix NSIG.
2014-02-12 20:20:20 +00:00
Elliott Hughes
819c132ebc Merge "Fix NSIG." 2014-02-12 20:13:29 +00:00
Elliott Hughes
bff8cdfcec am 022885e2: Merge "Clean up all the lint cpplint can find in the dynamic linker."
* commit '022885e2fad5ef9643e05d80c6f50a2a90bf3431':
  Clean up all the lint cpplint can find in the dynamic linker.
2014-02-12 19:22:52 +00:00
Elliott Hughes
b5bf7a725f am 577fce01: Merge "[MIPS64] Dynamic linker"
* commit '577fce0108feda58296beacfbc0ada4a6d6afbc2':
  [MIPS64] Dynamic linker
2014-02-12 19:22:44 +00:00
Elliott Hughes
d26184c038 am c856baee: Merge "Build syscall stubs in their own library."
* commit 'c856baeeade96c167400f179a86d50c426e81788':
  Build syscall stubs in their own library.
2014-02-12 19:22:30 +00:00
Elliott Hughes
199346a2ab Fix NSIG.
Our sigset_t definition hasn't been tied to our NSIG definition since we
switched to uapi headers, so we can now fix it without breaking the LP32 ABI.
The kernel uapi headers define and use _NSIG, so we need to have our scripts
rename the kernel's definitions out of the way, then we can define _NSIG
and NSIG in terms of the kernel's off-by-one value.

Bug: 12938442
Change-Id: Ic7c86fd5be5ad1d822f7b2b1d88c8a0d70a1ac0f
2014-02-11 22:16:04 -08:00
Elliott Hughes
022885e2fa Merge "Clean up all the lint cpplint can find in the dynamic linker." 2014-02-12 01:35:04 +00:00
Elliott Hughes
faf05bacd4 Clean up all the lint cpplint can find in the dynamic linker.
Change-Id: Ic9ee7153817c22a252cc4b309283e355b623cab9
2014-02-11 17:33:49 -08:00
Elliott Hughes
577fce0108 Merge "[MIPS64] Dynamic linker" 2014-02-11 23:48:51 +00:00
Chris Dearman
9918665a45 [MIPS64] Dynamic linker
Change-Id: I937c7c776cae3d66e214798d5217a922cd106bfc
Signed-off-by: Chris Dearman <chris.dearman@imgtec.com>
Signed-off-by: Duane Sand <duane.sand@imgtec.com>
2014-02-11 15:33:14 -08:00
Elliott Hughes
c856baeead Merge "Build syscall stubs in their own library." 2014-02-11 22:01:45 +00:00
Elliott Hughes
b3a23bd017 Build syscall stubs in their own library.
This lets us lose the auto-generated makefiles.

Change-Id: I2de0c71b3b9c08f9cce8f4ff7fd7254dda008c86
2014-02-11 13:52:02 -08:00
Elliott Hughes
f7aa55d684 am a206dde5: Merge "Clean up cacheflush."
* commit 'a206dde5bdf9b4d995bf578cc3b54fb8b85e02c5':
  Clean up cacheflush.
2014-02-11 18:32:43 +00:00
Elliott Hughes
a206dde5bd Merge "Clean up cacheflush." 2014-02-11 18:28:03 +00:00
Elliott Hughes
a6ecba4d23 Clean up cacheflush.
No cacheflush for LP64; use the GCC builtin instead. Clean up the
32-bit MIPS implementation now we no longer need to worry about
old versions of GCC.

Bug: 12924756
Change-Id: Ie23955b3ec194e226c4b2bce35b11d5e061f4753
2014-02-11 10:24:40 -08:00
Elliott Hughes
5f0374ab4f am 71e4466b: Merge "Switch <elf.h> over to linux uapi under the covers."
* commit '71e4466b100359f36a29c8c0277888df6081a265':
  Switch <elf.h> over to linux uapi under the covers.
2014-02-11 02:32:57 +00:00
Elliott Hughes
71e4466b10 Merge "Switch <elf.h> over to linux uapi under the covers." 2014-02-11 02:22:45 +00:00
Elliott Hughes
0266ae5f88 Switch <elf.h> over to linux uapi under the covers.
Remove the linker's reliance on BSD cruft and use the glibc-style
ElfW macro. (Other code too, but the linker contains the majority
of the code that needs to work for Elf32 and Elf64.)

All platforms need dl_iterate_phdr_static, so it doesn't make sense
to have that part of the per-architecture configuration.

Bug: 12476126
Change-Id: I1d7f918f1303a392794a6cd8b3512ff56bd6e487
2014-02-10 18:22:24 -08:00
Elliott Hughes
6b0da947e9 am eeb9a9f5: Merge "Fix <link.h>."
* commit 'eeb9a9f59a58a2f042e8f6fd1a4911ae92ac5493':
  Fix <link.h>.
2014-02-11 00:09:12 +00:00
Elliott Hughes
eeb9a9f59a Merge "Fix <link.h>." 2014-02-11 00:03:03 +00:00
Elliott Hughes
3a9c5d66dc Fix <link.h>.
Also move some of the stuff that should be in <link.h> out of the
private "linker.h", to make it clearer that these are public API
known to gdb that we can't change.

Bug: 12554197
Change-Id: I830e1260d3d8b833ed99bc1518f1c6b6102be8af
2014-02-10 13:31:13 -08:00
Elliott Hughes
e7b1e0e291 am e74fc3a6: Merge "Fix socklen_t (on LP64 only)."
* commit 'e74fc3a64fe9296813e5bd867d0c66bd8213be6a':
  Fix socklen_t (on LP64 only).
2014-02-08 01:11:54 +00:00
Elliott Hughes
e74fc3a64f Merge "Fix socklen_t (on LP64 only)." 2014-02-08 01:05:35 +00:00