OSDN Git Service
Elliott Hughes [Mon, 13 Aug 2012 23:03:27 +0000 (16:03 -0700)]
am
ca09412a: am
222eec2e: Merge "Handle naming for system uids running as secondary users"
* commit '
ca09412a1f13c6e2df72c1efccdad1d9960ba99b':
Handle naming for system uids running as secondary users
Elliott Hughes [Mon, 13 Aug 2012 23:03:26 +0000 (16:03 -0700)]
am
c1eb7619: am
440e417d: Merge "Add dependencies on all the makefiles."
* commit '
c1eb76198ec81802f69b52a8c6fbf97765d46f53':
Add dependencies on all the makefiles.
Elliott Hughes [Mon, 13 Aug 2012 23:03:16 +0000 (16:03 -0700)]
am
35dcf19b: am
66fba009: Merge "Update arch-mips/asm/unistd.h for the newer syscalls"
* commit '
35dcf19b2bcf388cda7f4c9baacb159c15c9b03f':
Update arch-mips/asm/unistd.h for the newer syscalls
Elliott Hughes [Mon, 13 Aug 2012 22:00:55 +0000 (15:00 -0700)]
am
222eec2e: Merge "Handle naming for system uids running as secondary users"
* commit '
222eec2ecfc4afcbd5cf0f08e16f69f6c3c424fa':
Handle naming for system uids running as secondary users
Elliott Hughes [Mon, 13 Aug 2012 21:45:27 +0000 (14:45 -0700)]
Merge "Handle naming for system uids running as secondary users"
Elliott Hughes [Mon, 13 Aug 2012 21:30:35 +0000 (14:30 -0700)]
am
440e417d: Merge "Add dependencies on all the makefiles."
* commit '
440e417d5f8fb3ab3b5296eaea3720be52086730':
Add dependencies on all the makefiles.
Amith Yamasani [Mon, 13 Aug 2012 02:51:34 +0000 (19:51 -0700)]
Handle naming for system uids running as secondary users
Allow naming such as u1_system, u2_radio, u2_media.
Forward and reverse mapping for the above.
(cherry-pick of
c60a0027b1ef3bc4929d2023e7083fbce12fafe7.)
Change-Id: I46eeb23fee4f57b2907640570504123d3ce99985
Elliott Hughes [Mon, 13 Aug 2012 21:12:02 +0000 (14:12 -0700)]
Merge "Add dependencies on all the makefiles."
Elliott Hughes [Mon, 13 Aug 2012 21:06:05 +0000 (14:06 -0700)]
Add dependencies on all the makefiles.
This should help prevent broken builds next time I'm messing with
assembler/compiler/linker flags...
Change-Id: I30f15a3ce3c3f3c60cad7bc59aaba9f42d792224
Amith Yamasani [Mon, 13 Aug 2012 20:49:51 +0000 (13:49 -0700)]
Merge "Handle naming for system uids running as secondary users" into jb-mr1-dev
Amith Yamasani [Mon, 13 Aug 2012 02:51:34 +0000 (19:51 -0700)]
Handle naming for system uids running as secondary users
Allow naming such as u1_system, u2_radio, u2_media.
Forward and reverse mapping for the above.
Change-Id: Iebe6e5702fc1ed83aa67769a12f693c1be7968ed
Elliott Hughes [Mon, 13 Aug 2012 19:47:13 +0000 (12:47 -0700)]
am
66fba009: Merge "Update arch-mips/asm/unistd.h for the newer syscalls"
* commit '
66fba00991f03d07c72f809d033b88748f839bda':
Update arch-mips/asm/unistd.h for the newer syscalls
Elliott Hughes [Mon, 13 Aug 2012 19:42:01 +0000 (12:42 -0700)]
Merge "Update arch-mips/asm/unistd.h for the newer syscalls"
Raghu Gandham [Mon, 13 Aug 2012 18:54:53 +0000 (11:54 -0700)]
Update arch-mips/asm/unistd.h for the newer syscalls
Change-Id: Ie292c091cbf4b972e1b5faa7d779645c6e4442f0
Elliott Hughes [Mon, 13 Aug 2012 18:11:58 +0000 (11:11 -0700)]
am
e135d7f3: am
a61ac525: Merge "Fix module constructor order."
* commit '
e135d7f305c00272ce1544b8243f999bb99979ec':
Fix module constructor order.
Elliott Hughes [Mon, 13 Aug 2012 18:10:32 +0000 (11:10 -0700)]
am
a61ac525: Merge "Fix module constructor order."
* commit '
a61ac5257bea15d6cbfc640c03f18c2fb808b139':
Fix module constructor order.
Elliott Hughes [Mon, 13 Aug 2012 18:06:53 +0000 (11:06 -0700)]
Merge "Fix module constructor order."
Evgeniy Stepanov [Mon, 13 Aug 2012 13:58:37 +0000 (17:58 +0400)]
Fix module constructor order.
.preinit_array goes before the constructors of LD_PRELOAD-ed libraries.
Change-Id: I1af32ce29eaf3ca4351ae8a0f7f5da5165853216
Nick Kralevich [Mon, 13 Aug 2012 16:48:17 +0000 (09:48 -0700)]
am
89fd9ecc: am
20b94c0c: Merge "linker: don\'t perform unnecessary mprotects"
* commit '
89fd9eccdca0eb5aed296bd7a2003424defe970c':
linker: don't perform unnecessary mprotects
Nick Kralevich [Mon, 13 Aug 2012 16:46:43 +0000 (09:46 -0700)]
am
20b94c0c: Merge "linker: don\'t perform unnecessary mprotects"
* commit '
20b94c0ce99ea3d2315535091c8bcd02f831d252':
linker: don't perform unnecessary mprotects
Nick Kralevich [Mon, 13 Aug 2012 16:28:54 +0000 (09:28 -0700)]
Merge "linker: don't perform unnecessary mprotects"
Nick Kralevich [Sat, 11 Aug 2012 04:08:42 +0000 (21:08 -0700)]
linker: don't perform unnecessary mprotects
The linker only needs to mark the text segment as
writable iff the file has text relocations. Unnecessarily
calling mprotect when it isn't necessary is slow, and some
security enhanced kernels don't like it. Pages which are
simultaneously writable and executable are considered a no-no.
The vast majority of executables / shared libraries on Android
do NOT have text relocations.
Change-Id: Ic38ce30a99b7e33ecf21efd9c108547a58eafa35
Elliott Hughes [Sat, 11 Aug 2012 22:16:34 +0000 (15:16 -0700)]
am
877dc946: am
072a7e6c: Merge "MIPS support to the libc Makefile"
* commit '
877dc946090749ba7a71f7ae07f51aa32f966083':
MIPS support to the libc Makefile
Ben Cheng [Sat, 11 Aug 2012 22:16:33 +0000 (15:16 -0700)]
am
7e3918eb: am
0bf5cf87: Merge "Set the dynamic field in the link map for the linker itself."
* commit '
7e3918eb62d31224fc5d1cff44d591fecd31e9d0':
Set the dynamic field in the link map for the linker itself.
Elliott Hughes [Sat, 11 Aug 2012 18:51:37 +0000 (11:51 -0700)]
am
072a7e6c: Merge "MIPS support to the libc Makefile"
* commit '
072a7e6ced29d9be29e38721d0ab7de0ba3f7377':
MIPS support to the libc Makefile
Ben Cheng [Sat, 11 Aug 2012 18:51:36 +0000 (11:51 -0700)]
am
0bf5cf87: Merge "Set the dynamic field in the link map for the linker itself."
* commit '
0bf5cf87c6b7d3de8962ba132ecfb6f0e4b84f06':
Set the dynamic field in the link map for the linker itself.
Elliott Hughes [Sat, 11 Aug 2012 16:36:05 +0000 (09:36 -0700)]
Merge "MIPS support to the libc Makefile"
Raghu Gandham [Tue, 7 Aug 2012 19:23:24 +0000 (12:23 -0700)]
MIPS support to the libc Makefile
Change-Id: Ia1f3f545ca61a5abb235e99046cb3cdaf24d4205
Ben Cheng [Fri, 10 Aug 2012 23:46:09 +0000 (16:46 -0700)]
Merge "Set the dynamic field in the link map for the linker itself."
Ben Cheng [Fri, 10 Aug 2012 23:07:02 +0000 (16:07 -0700)]
Set the dynamic field in the link map for the linker itself.
Otherwise gdb will print a spurious warning each time gdb is used:
warning: .dynamic section for "/system/bin/linker" is not at the expected
address (wrong library or version mismatch?)
BUG:
6946614
Change-Id: Ib21b8db0615751189c1601140deb43bc089289b6
Elliott Hughes [Fri, 10 Aug 2012 22:17:05 +0000 (15:17 -0700)]
am
edf09bf9: am
316ee626: Merge "MIPS support to sigsuspend and sigwait routines"
* commit '
edf09bf990c8b011a084dbdb92050879e08ad8a9':
MIPS support to sigsuspend and sigwait routines
Elliott Hughes [Fri, 10 Aug 2012 22:15:23 +0000 (15:15 -0700)]
am
316ee626: Merge "MIPS support to sigsuspend and sigwait routines"
* commit '
316ee626b729e3f66a5505a20128af26440cfd19':
MIPS support to sigsuspend and sigwait routines
Elliott Hughes [Fri, 10 Aug 2012 22:05:35 +0000 (15:05 -0700)]
Merge "MIPS support to sigsuspend and sigwait routines"
Nick Kralevich [Fri, 10 Aug 2012 21:46:56 +0000 (14:46 -0700)]
am
fabeb736: am
38a02b4b: Merge "crtend*: Add GNU_STACK note"
* commit '
fabeb736e91d4f4f79a1cbbed696cffb50a860a9':
crtend*: Add GNU_STACK note
Nick Kralevich [Fri, 10 Aug 2012 21:42:11 +0000 (14:42 -0700)]
am
38a02b4b: Merge "crtend*: Add GNU_STACK note"
* commit '
38a02b4b80f50aa1b3e2ee39e9e98146cf42be3d':
crtend*: Add GNU_STACK note
Nick Kralevich [Fri, 10 Aug 2012 21:29:26 +0000 (14:29 -0700)]
Merge "crtend*: Add GNU_STACK note"
Elliott Hughes [Fri, 10 Aug 2012 21:12:08 +0000 (14:12 -0700)]
am
535477ca: am
3ede900b: Merge "Revert "Revert "Switch to NetBSD\'s strxfrm(3)."""
* commit '
535477ca5e29f3c14dff11ac362423156b5971ec':
Revert "Revert "Switch to NetBSD's strxfrm(3).""
Nick Kralevich [Fri, 10 Aug 2012 21:00:17 +0000 (14:00 -0700)]
crtend*: Add GNU_STACK note
Add a GNU_STACK marker to crtend* files. This tells the linker
that these files do not require an executable stack.
When linking, a missing GNU_STACK marker in any .o file can prevent
the compiler from automatically marking the final executable as NX
safe (executable stack not required). In Android, we normally work
around this by adding -Wa,--noexecstack / -Wl,-z,noexecstack.
For files like crtend.S / crtend_so.S, which are included in every
executable / shared library, it's better to add the GNU_STACK note
directly to the assembly file. This allows the compiler to
automatically mark the final executable as NX safe without any
special command line options.
References: http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
Change-Id: I07bd058f9f60ddd8b146e0fb36ba26ff84c0357d
Elliott Hughes [Fri, 10 Aug 2012 21:10:03 +0000 (14:10 -0700)]
am
3ede900b: Merge "Revert "Revert "Switch to NetBSD\'s strxfrm(3)."""
* commit '
3ede900b644c2a7c2fa41177b81735c8a09bd14a':
Revert "Revert "Switch to NetBSD's strxfrm(3).""
Elliott Hughes [Fri, 10 Aug 2012 21:03:06 +0000 (14:03 -0700)]
Merge "Revert "Revert "Switch to NetBSD's strxfrm(3)."""
Elliott Hughes [Fri, 10 Aug 2012 20:06:35 +0000 (13:06 -0700)]
am
b54e5f2a: am
a1822dce: Merge "Add unshare() syscall."
* commit '
b54e5f2a2fd014a5cbf105daea7b2eb8b59dec29':
Add unshare() syscall.
Elliott Hughes [Fri, 10 Aug 2012 20:04:22 +0000 (13:04 -0700)]
am
a1822dce: Merge "Add unshare() syscall."
* commit '
a1822dced3ed8625438b3cbf1c53f907f78a3a48':
Add unshare() syscall.
Elliott Hughes [Fri, 10 Aug 2012 19:59:49 +0000 (12:59 -0700)]
Merge "Add unshare() syscall."
Jeff Sharkey [Fri, 10 Aug 2012 18:17:59 +0000 (11:17 -0700)]
Add unshare() syscall.
(cherry-pick of
5467f25f82934d611c60f8bc57a05114f3c1bea0.)
Bug:
6925012
Change-Id: Ic5ea2fbd606311087de05d7a3594df2fa9b2fef9
Elliott Hughes [Fri, 10 Aug 2012 19:49:12 +0000 (12:49 -0700)]
am
f6922be2: am
f91e2f72: Merge "Fix typo in SIGTTOU description."
* commit '
f6922be2a5e30fc594f48ec435d92b5386648061':
Fix typo in SIGTTOU description.
Elliott Hughes [Fri, 10 Aug 2012 19:49:10 +0000 (12:49 -0700)]
am
a618ea30: am
4ec9e343: Merge "Revert "Switch to NetBSD\'s strxfrm(3).""
* commit '
a618ea30e1c9d4f06031fb4ecdae31666db92993':
Revert "Switch to NetBSD's strxfrm(3)."
Elliott Hughes [Fri, 10 Aug 2012 19:49:08 +0000 (12:49 -0700)]
am
3e83da43: am
9ad1d6f5: Merge "Switch to NetBSD\'s strxfrm(3)."
* commit '
3e83da435b3ad7bee739972fca53dbfb692e6438':
Switch to NetBSD's strxfrm(3).
Elliott Hughes [Fri, 10 Aug 2012 19:36:22 +0000 (12:36 -0700)]
am
dc6d5327: am
0836a7ff: Merge "Auto-generate a complete NOTICE file."
* commit '
dc6d5327bb6b030d154675f753d3e4f96dfa5e14':
Auto-generate a complete NOTICE file.
Elliott Hughes [Fri, 10 Aug 2012 19:34:17 +0000 (12:34 -0700)]
am
f91e2f72: Merge "Fix typo in SIGTTOU description."
* commit '
f91e2f72861643e1d31ffc3e6c374b52d33d2423':
Fix typo in SIGTTOU description.
Elliott Hughes [Fri, 10 Aug 2012 19:27:05 +0000 (12:27 -0700)]
Merge "Fix typo in SIGTTOU description."
Elliott Hughes [Fri, 10 Aug 2012 19:23:58 +0000 (12:23 -0700)]
Fix typo in SIGTTOU description.
Change-Id: Ie0db3e7df3e1f17b43f5645d027a90603139be2f
Elliott Hughes [Fri, 10 Aug 2012 18:39:58 +0000 (11:39 -0700)]
Revert "Revert "Switch to NetBSD's strxfrm(3).""
This reverts commit
8793e7c7d21a0434d1b5e63364c88b2b125a3d29,
and fixes the build by building upstream NetBSD source as a
separate library that's then swallowed whole into libc_common.
Change-Id: I6c9317d8c48b5ccaf85a7b185bc07fb31176ff97
Elliott Hughes [Fri, 10 Aug 2012 18:44:29 +0000 (11:44 -0700)]
am
4ec9e343: Merge "Revert "Switch to NetBSD\'s strxfrm(3).""
* commit '
4ec9e343cf445c5032d9a782d2e92b1dba713e61':
Revert "Switch to NetBSD's strxfrm(3)."
Elliott Hughes [Fri, 10 Aug 2012 18:36:31 +0000 (11:36 -0700)]
Merge "Revert "Switch to NetBSD's strxfrm(3).""
Elliott Hughes [Fri, 10 Aug 2012 18:36:17 +0000 (11:36 -0700)]
Revert "Switch to NetBSD's strxfrm(3)."
This reverts commit
be1d78b0dc899a732c0e9d7515d3023e8004e368
Change-Id: I11a95db474796f3da004f27652b081d5ba4ec9b4
Jeff Sharkey [Fri, 10 Aug 2012 18:29:53 +0000 (11:29 -0700)]
Merge "Add unshare() syscall." into jb-mr1-dev
Elliott Hughes [Fri, 10 Aug 2012 18:28:40 +0000 (11:28 -0700)]
am
9ad1d6f5: Merge "Switch to NetBSD\'s strxfrm(3)."
* commit '
9ad1d6f58ccbc830ce87e3ddf35708e519a8f23e':
Switch to NetBSD's strxfrm(3).
Elliott Hughes [Fri, 10 Aug 2012 18:23:29 +0000 (11:23 -0700)]
Merge "Switch to NetBSD's strxfrm(3)."
Jeff Sharkey [Fri, 10 Aug 2012 18:17:59 +0000 (11:17 -0700)]
Add unshare() syscall.
Bug:
6925012
Change-Id: I2530a8f6cea49eb32b60f8f9c4d86963773456ca
Elliott Hughes [Fri, 10 Aug 2012 18:03:02 +0000 (11:03 -0700)]
Switch to NetBSD's strxfrm(3).
There were two bugs in our implementation. Intel found one, but another
remainined, and tracking upstream is the way forward for functions where
we add no value.
Change-Id: Ida9bac0293fb2c4cbc942b1e0515ee0477c6538b
Raghu Gandham [Thu, 9 Aug 2012 17:49:32 +0000 (10:49 -0700)]
MIPS support to sigsuspend and sigwait routines
Change-Id: I870e798ed7eac5a8c74e5784a670f3a4f24331a9
Elliott Hughes [Thu, 9 Aug 2012 23:39:15 +0000 (16:39 -0700)]
am
0836a7ff: Merge "Auto-generate a complete NOTICE file."
* commit '
0836a7ffb13890558fe568119b023007cce66373':
Auto-generate a complete NOTICE file.
Elliott Hughes [Thu, 9 Aug 2012 23:25:19 +0000 (16:25 -0700)]
Merge "Auto-generate a complete NOTICE file."
Elliott Hughes [Thu, 9 Aug 2012 22:17:46 +0000 (15:17 -0700)]
Auto-generate a complete NOTICE file.
Remove the hand-collated ones, and switch to a script that pulls the
copyright headers out of every file and collects the unique ones.
Change-Id: Ied3b98b3f56241df97166c410ff81de4e0157c9d
Elliott Hughes [Thu, 9 Aug 2012 21:47:24 +0000 (14:47 -0700)]
am
8cc8f7e0: am
709bb0f7: Merge "Remove ThirdPartyProject.prop."
* commit '
8cc8f7e0d566aaa4c4fbf9d9c8da72b268250617':
Remove ThirdPartyProject.prop.
Elliott Hughes [Thu, 9 Aug 2012 21:46:00 +0000 (14:46 -0700)]
am
709bb0f7: Merge "Remove ThirdPartyProject.prop."
* commit '
709bb0f79ced522e5fb145182472ee4063b85368':
Remove ThirdPartyProject.prop.
Elliott Hughes [Thu, 9 Aug 2012 21:31:27 +0000 (14:31 -0700)]
Merge "Remove ThirdPartyProject.prop."
Elliott Hughes [Thu, 9 Aug 2012 21:29:23 +0000 (14:29 -0700)]
Remove ThirdPartyProject.prop.
These are dead. I cleaned up external/ a long time ago, but didn't
realize there were any in the main tree.
Change-Id: I5f35b2da132558e2763164285eb38629cd68ffda
Elliott Hughes [Thu, 9 Aug 2012 19:11:08 +0000 (12:11 -0700)]
am
531d348d: am
a17b85d9: Merge "Remove the last .jam file."
* commit '
531d348d6e37deb751efbefc0613934c5a80de1d':
Remove the last .jam file.
Elliott Hughes [Thu, 9 Aug 2012 19:08:53 +0000 (12:08 -0700)]
am
a17b85d9: Merge "Remove the last .jam file."
* commit '
a17b85d97b16583ba922a88346cc54976a0bfa28':
Remove the last .jam file.
Elliott Hughes [Thu, 9 Aug 2012 18:59:20 +0000 (11:59 -0700)]
Merge "Remove the last .jam file."
Elliott Hughes [Thu, 9 Aug 2012 18:54:23 +0000 (11:54 -0700)]
Remove the last .jam file.
How did I miss this before?
Change-Id: I2e582133fc4800656fdd81104f8dfc7ee8f5b580
Elliott Hughes [Thu, 9 Aug 2012 00:44:20 +0000 (17:44 -0700)]
am
3820229b: am
d504eee9: Merge "MIPS support to sys/ headers"
* commit '
3820229b46ed3012f19a32cea70b6007ad54b746':
MIPS support to sys/ headers
Elliott Hughes [Thu, 9 Aug 2012 00:44:14 +0000 (17:44 -0700)]
am
d2040cb2: am
f655ce7e: Merge "Fix x86 build."
* commit '
d2040cb2244bbd253951b5ff808efe67246e5154':
Fix x86 build.
Elliott Hughes [Wed, 8 Aug 2012 23:51:01 +0000 (16:51 -0700)]
am
d504eee9: Merge "MIPS support to sys/ headers"
* commit '
d504eee9fa7dda59a41eb3e12ef973f32ee1169f':
MIPS support to sys/ headers
Elliott Hughes [Wed, 8 Aug 2012 23:32:55 +0000 (16:32 -0700)]
Merge "MIPS support to sys/ headers"
Elliott Hughes [Wed, 8 Aug 2012 23:19:25 +0000 (16:19 -0700)]
am
f655ce7e: Merge "Fix x86 build."
* commit '
f655ce7ef3df277442ccc47f91cb919c1cd9ebd6':
Fix x86 build.
Elliott Hughes [Wed, 8 Aug 2012 23:07:26 +0000 (16:07 -0700)]
Merge "Fix x86 build."
Elliott Hughes [Wed, 8 Aug 2012 23:06:51 +0000 (16:06 -0700)]
Fix x86 build.
Change-Id: Ice50ca71a19f3bf26de7cfd4c02075f1e6e0823f
Elliott Hughes [Wed, 8 Aug 2012 22:30:39 +0000 (15:30 -0700)]
am
f3ffb8fa: am
78129204: Merge "Clean up the linker a bit, remove prelinking support."
* commit '
f3ffb8fa6ecd9db2da19eb3144a5da7724a875bc':
Clean up the linker a bit, remove prelinking support.
Elliott Hughes [Wed, 8 Aug 2012 22:29:27 +0000 (15:29 -0700)]
am
78129204: Merge "Clean up the linker a bit, remove prelinking support."
* commit '
7812920487070d392984f94c9f80006dad8c198a':
Clean up the linker a bit, remove prelinking support.
Elliott Hughes [Wed, 8 Aug 2012 22:17:23 +0000 (15:17 -0700)]
Merge "Clean up the linker a bit, remove prelinking support."
Elliott Hughes [Wed, 8 Aug 2012 21:43:00 +0000 (14:43 -0700)]
am
d463f6e9: am
34959e0b: Merge "Clean up libc/Android.mk a bit after the crtbrand changes."
* commit '
d463f6e98011fe3b5a23cef2502705dedd702173':
Clean up libc/Android.mk a bit after the crtbrand changes.
Elliott Hughes [Wed, 8 Aug 2012 21:40:54 +0000 (14:40 -0700)]
am
34959e0b: Merge "Clean up libc/Android.mk a bit after the crtbrand changes."
* commit '
34959e0bd5c0d7c9d9b243adbf7752077436cbb5':
Clean up libc/Android.mk a bit after the crtbrand changes.
Elliott Hughes [Wed, 8 Aug 2012 21:32:23 +0000 (14:32 -0700)]
Merge "Clean up libc/Android.mk a bit after the crtbrand changes."
Jean-Baptiste Queru [Wed, 8 Aug 2012 21:08:29 +0000 (14:08 -0700)]
am
9f3a8aaf: am
7e248be7: Merge "Add a .note.android.ident section to Android ELF binaries."
* commit '
9f3a8aaf926bb0439b7e6b7b62efab62f1900d02':
Add a .note.android.ident section to Android ELF binaries.
Elliott Hughes [Wed, 8 Aug 2012 21:07:37 +0000 (14:07 -0700)]
Clean up libc/Android.mk a bit after the crtbrand changes.
Change-Id: Icfb95fffe70967418cd93da8cbeae22dcd68f8c9
Jean-Baptiste Queru [Wed, 8 Aug 2012 21:04:19 +0000 (14:04 -0700)]
am
7e248be7: Merge "Add a .note.android.ident section to Android ELF binaries."
* commit '
7e248be76441daa0ee27cc461c806e6010405c25':
Add a .note.android.ident section to Android ELF binaries.
Jean-Baptiste Queru [Wed, 8 Aug 2012 20:44:26 +0000 (13:44 -0700)]
Merge "Add a .note.android.ident section to Android ELF binaries."
Elliott Hughes [Fri, 3 Aug 2012 23:49:39 +0000 (16:49 -0700)]
Clean up the linker a bit, remove prelinking support.
Also make the errors more readable, since none of us seemed to know
what they actually meant. The new style is still as verbose as the
old, but that's probably necessary in the absence of chained exceptions
in C. Here's what you'd see if you try to boot after removing
libsurfaceflinger.so:
32267 32267 E AndroidRuntime: java.lang.UnsatisfiedLinkError: Cannot load library: (linker.c:1629, pid 32259) soinfo_link_image: could not load library "libsystem_server.so" needed by "libandroid_servers.so"; caused by (linker.c:1629, pid 32259) soinfo_link_image: could not load library "libsurfaceflinger.so" needed by "libsystem_server.so"; caused by (linker.c:709, pid 32259) load_library: library "libsurfaceflinger.so" not found
This patch also fixes almost all of the compiler warnings.
Change-Id: I64bb59aed6d4e039c15ea45be2367f319ef879f8
Shih-wei Liao [Mon, 6 Aug 2012 18:09:35 +0000 (11:09 -0700)]
am
df523880: am
e2731d98: Merge "When compiling with clang, don\'t "fortify_source" the strlcpy and strlcat."
* commit '
df523880b59604ef36e212cb7ba30d663eeea179':
When compiling with clang, don't "fortify_source" the strlcpy and strlcat.
Shih-wei Liao [Mon, 6 Aug 2012 18:08:40 +0000 (11:08 -0700)]
am
e2731d98: Merge "When compiling with clang, don\'t "fortify_source" the strlcpy and strlcat."
* commit '
e2731d98c1f0cd32d94b34cc4ee77148d6d52647':
When compiling with clang, don't "fortify_source" the strlcpy and strlcat.
Shih-wei Liao [Mon, 6 Aug 2012 18:02:19 +0000 (11:02 -0700)]
Merge "When compiling with clang, don't "fortify_source" the strlcpy and strlcat."
Shih-wei Liao [Mon, 6 Aug 2012 17:57:37 +0000 (10:57 -0700)]
When compiling with clang, don't "fortify_source" the strlcpy and
strlcat.
Change-Id: I91f58322f28e425ab9d22b51c23fcd6b772ede97
Shih-wei Liao [Mon, 6 Aug 2012 17:18:21 +0000 (10:18 -0700)]
am
ce4a5cd5: am
8173d767: Merge "Revert "Fix the clang build: this compiler doesn\'t support the gnu_inline function attribute""
* commit '
ce4a5cd5f3ee09fbc8dea7ffdfcd4fd097f8ed34':
Revert "Fix the clang build: this compiler doesn't support the gnu_inline function attribute"
Shih-wei Liao [Mon, 6 Aug 2012 17:18:20 +0000 (10:18 -0700)]
am
924fd920: am
601a49d3: Merge "When compiling with clang, don\'t "fortify_source" the strlen."
* commit '
924fd920137135729483d0beacea20d5a0552c15':
When compiling with clang, don't "fortify_source" the strlen.
Shih-wei Liao [Mon, 6 Aug 2012 17:17:09 +0000 (10:17 -0700)]
am
8173d767: Merge "Revert "Fix the clang build: this compiler doesn\'t support the gnu_inline function attribute""
* commit '
8173d76740cafc2ceb49d2fddf1ceabfaa823236':
Revert "Fix the clang build: this compiler doesn't support the gnu_inline function attribute"
Shih-wei Liao [Mon, 6 Aug 2012 17:17:08 +0000 (10:17 -0700)]
am
601a49d3: Merge "When compiling with clang, don\'t "fortify_source" the strlen."
* commit '
601a49d39829005803670088da02179e61719551':
When compiling with clang, don't "fortify_source" the strlen.
Shih-wei Liao [Mon, 6 Aug 2012 17:05:14 +0000 (10:05 -0700)]
Merge "Revert "Fix the clang build: this compiler doesn't support the gnu_inline function attribute""
Shih-wei Liao [Mon, 6 Aug 2012 17:04:22 +0000 (10:04 -0700)]
Merge "When compiling with clang, don't "fortify_source" the strlen."