Christopher Ferris
0b4246b561
Merge "Add cfi directives to all arm assembly."
2013-12-03 20:28:09 +00:00
Christopher Ferris
ed45970ac5
Add cfi directives to all arm assembly.
...
Since the ENTRY/END macros now have .cfi_startproc/.cfi_endproc, most of the
custom arm assembly has no unwind information. Adding the proper cfi directives
for these and removing the arm directives.
Update the gensyscalls.py script to add these cfi directives for the generated
assembly. Also fix the references to non-uapi headers to the proper uapi
header.
In addition, remove the kill.S, tkill.S, tgkill.S for arm since they are not
needed at all. The unwinder (libunwind) is able to properly unwind using the
normal abort.
After this change, I can unwind through the system calls again.
Bug: 11559337
Bug: 11825869
Bug: 11321283
Change-Id: I18b48089ef2d000a67913ce6febc6544bbe934a3
2013-12-02 19:13:12 -08:00
Elliott Hughes
ab0b0cdf1b
Merge "Finish <sys/user.h>."
2013-11-27 04:51:35 +00:00
Elliott Hughes
ab797cb4fd
Finish <sys/user.h>.
...
Change-Id: I1d97d7fa3d5be2ff4728571ed5376705a27091ec
2013-11-26 17:57:31 -08:00
Elliott Hughes
98c910fb21
Merge "Fix the order of arguments to sys_clone for x86."
2013-11-27 00:34:44 +00:00
Elliott Hughes
99c393dff3
Fix the order of arguments to sys_clone for x86.
...
Unlike x86-64, x86's arguments are just like every other
architecture's.
Change-Id: Ic6da23f2a70599683b68e7e12ab9ba061e0b349c
2013-11-26 16:20:50 -08:00
Elliott Hughes
6ae2f22dc0
Merge "Work around CLONE_SETTLS being weird on x86."
2013-11-26 22:36:38 +00:00
Elliott Hughes
80906141f7
Work around CLONE_SETTLS being weird on x86.
...
Unlike other architectures, on x86 (but not x86-64), CLONE_SETTLS
takes a pointer to a struct user_desc instead of a pointer to the
TLS itself. Rather than have to deal with this here, let's just use
the old __set_tls mechanism we used to use (and still use for the
main thread on all architectures, so it's not going away any time
soon).
Bug: 11826724
Change-Id: I02a27939a73ae6cea1134a3f4c1dd7eafea479da
2013-11-26 13:57:21 -08:00
Elliott Hughes
1c057607d8
Merge "Fix _exit_with_stack_teardown for x86."
2013-11-26 21:51:48 +00:00
Elliott Hughes
9dec707bd6
Fix _exit_with_stack_teardown for x86.
...
Change-Id: Ife8f9c538c86f7c0017143015d5ee849a99b625b
2013-11-26 13:48:24 -08:00
Elliott Hughes
a98fff25c3
Merge "Make <sys/timerfd.h> standalone."
2013-11-25 22:00:10 +00:00
Elliott Hughes
e96d4bffe5
Make <sys/timerfd.h> standalone.
...
There's no uapi timerfd.h.
Bug: 11559337
Change-Id: I77a4b1365fdcf2c9f18673b11341a165e54b4bbd
2013-11-25 13:58:38 -08:00
Elliott Hughes
5a52bd34f1
Merge "Regenerate the bionic kernel headers to match external/kernel-headers."
2013-11-25 21:56:10 +00:00
Elliott Hughes
c43d16a458
Regenerate the bionic kernel headers to match external/kernel-headers.
...
Bug: 11859767
Change-Id: I3d746188a1c4bdf8db1358521438435d3e63dbac
2013-11-25 13:50:55 -08:00
Christopher Ferris
cda0c61dc7
am 14d6be45
: Merge "Delete non-uapi headers."
...
* commit '14d6be45b960f8fbb039bd946e22ce406e8b65c3':
Delete non-uapi headers.
2013-11-24 00:20:23 -08:00
Christopher Ferris
14d6be45b9
Merge "Delete non-uapi headers."
2013-11-24 08:16:25 +00:00
Christopher Ferris
dd1d4f1cfd
am 985c3fbb
: Merge "Move arm user.h definitions to sys/user.h."
...
* commit '985c3fbb3b1dabfa799e2a8c102867349bcb5a76':
Move arm user.h definitions to sys/user.h.
2013-11-23 08:02:04 -08:00
Christopher Ferris
e5a9200534
Delete non-uapi headers.
...
Update headers and delete non-uapi headers that have been removed from
external/kernel-headers project.
Change-Id: I9ed9632a941095fe1bf3b207bafe1151f00de033
2013-11-23 08:01:25 -08:00
Christopher Ferris
985c3fbb3b
Merge "Move arm user.h definitions to sys/user.h."
2013-11-23 15:59:57 +00:00
Christopher Ferris
363390eaff
Move arm user.h definitions to sys/user.h.
...
There is no uapi user.h file for arm, it was included by accident.
Move the user struct definition into the file to follow the pattern
used by the other architectures.
Change-Id: Ib9cea0deca551c9268382ddd6de9202fd32ef941
2013-11-22 18:00:09 -08:00
Christopher Ferris
038919d37c
am 507f95e2
: Merge "Update script to copy in extra generated files."
...
* commit '507f95e22b39fb58b9ffbba38ab593475b926af5':
Update script to copy in extra generated files.
2013-11-22 17:22:10 -08:00
Christopher Ferris
507f95e22b
Merge "Update script to copy in extra generated files."
2013-11-23 01:17:16 +00:00
Christopher Ferris
b4091e69f1
Update script to copy in extra generated files.
...
There are files in generated/asm that simply include asm-generic files. The
script now copies any file in generated/asm that also exists in asm-generic.
Change-Id: I075161c68624e9e9e81797224831988ce02220eb
2013-11-22 17:04:34 -08:00
The Android Open Source Project
f00c938c7f
Merge commit '811b0cdb2d6e4a697dbc63a678712759dd0db242' into HEAD
...
Change-Id: I786944f80fb1a2d502fed51dc2c391ed5db66761
2013-11-22 13:38:33 -08:00
Christopher Ferris
a626e4d8bc
am 26f0e54a
: Merge "Script to grab uapi headers from android kernel."
...
* commit '26f0e54ae083727ee66ee35531ed00338570d792':
Script to grab uapi headers from android kernel.
2013-11-21 14:22:49 -08:00
Christopher Ferris
26f0e54ae0
Merge "Script to grab uapi headers from android kernel."
2013-11-21 22:20:14 +00:00
Elliott Hughes
50f6b8363e
am fa7b48bf
: Merge "Regenerate uapi header files."
...
* commit 'fa7b48bf8753690bd15706a1fe3d23cf5c42782f':
Regenerate uapi header files.
2013-11-21 14:11:39 -08:00
Christopher Ferris
e994d41578
Script to grab uapi headers from android kernel.
...
Change-Id: Ia140e3ab27fbfee6b02f04c085f3e0e351bbe68d
2013-11-21 14:09:54 -08:00
Elliott Hughes
fa7b48bf87
Merge "Regenerate uapi header files."
2013-11-21 22:06:14 +00:00
Elliott Hughes
8cb52b056c
Regenerate uapi header files.
...
Change-Id: Idc934ed8ae17aba3300e4022e9b42177b0907e9d
2013-11-21 13:43:23 -08:00
Elliott Hughes
5e818b3314
am 880d0e6c
: Merge "Remove hidden __reboot from header"
...
* commit '880d0e6c64eb49736125648d1539726629308316':
Remove hidden __reboot from header
2013-11-21 12:41:56 -08:00
Elliott Hughes
880d0e6c64
Merge "Remove hidden __reboot from header"
2013-11-21 20:37:26 +00:00
Pavel Chupin
811cba00af
Remove hidden __reboot from header
...
This change is required:
https://android-review.googlesource.com/#/c/70570
Change-Id: Idb991f96a424aa5b0f9e06d9fb787fe8c8530750
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2013-11-22 00:19:34 +04:00
Elliott Hughes
843367953f
am eec57b37
: Merge "Add support for the ternary operator to the header scrubber."
...
* commit 'eec57b370642f1b83285883104f2e778f32eef73':
Add support for the ternary operator to the header scrubber.
2013-11-21 11:34:47 -08:00
Elliott Hughes
eec57b3706
Merge "Add support for the ternary operator to the header scrubber."
2013-11-21 19:30:22 +00:00
Elliott Hughes
1198fd3864
Add support for the ternary operator to the header scrubber.
...
Used in various uapi headers.
Change-Id: Id0f862d2adc7ddc9727e8a29160d5435f8d547c3
2013-11-21 11:12:34 -08:00
Elliott Hughes
cb478f23cc
am d4143c8e
: Merge "Fix useconds_t for LP64."
...
* commit 'd4143c8e4cd8b006d8f422883b53684881e0991a':
Fix useconds_t for LP64.
2013-11-21 09:07:15 -08:00
Elliott Hughes
a18a01f553
am 15a64948
: Merge "Remove obsolete kernel/arch-mips headers."
...
* commit '15a64948567e6e885f639070fa1cc56900dcbae0':
Remove obsolete kernel/arch-mips headers.
2013-11-21 09:07:14 -08:00
Elliott Hughes
8637bb5345
am b135f6e5
: Merge "Remove the unused arch-x86 and arch-x86-64 kernel headers."
...
* commit 'b135f6e58cc81a6de64c55017d25496003ebe547':
Remove the unused arch-x86 and arch-x86-64 kernel headers.
2013-11-21 09:07:13 -08:00
Elliott Hughes
d4143c8e4c
Merge "Fix useconds_t for LP64."
2013-11-21 17:05:04 +00:00
Elliott Hughes
15a6494856
Merge "Remove obsolete kernel/arch-mips headers."
2013-11-21 17:04:44 +00:00
Elliott Hughes
b135f6e58c
Merge "Remove the unused arch-x86 and arch-x86-64 kernel headers."
2013-11-21 17:04:24 +00:00
Elliott Hughes
9c67d4307c
Fix useconds_t for LP64.
...
Change-Id: I869e60484999c1feda3dcdb86bee5b5373e6b3df
2013-11-21 08:55:46 -08:00
Elliott Hughes
b867fd6825
Remove obsolete kernel/arch-mips headers.
...
Bug: 11559337
Change-Id: I70e205ff1f5acd07fddd7d82367e818b13847acd
2013-11-20 18:09:34 -08:00
Elliott Hughes
70d37e343a
am ca045a19
: Merge "Switch to upstream sleep(3) and usleep(3)."
...
* commit 'ca045a19234a9323ea0e7eccbe3aefd74f9c1bab':
Switch to upstream sleep(3) and usleep(3).
2013-11-20 16:44:59 -08:00
Elliott Hughes
ca045a1923
Merge "Switch to upstream sleep(3) and usleep(3)."
2013-11-21 00:41:30 +00:00
Elliott Hughes
ab61eb366a
Switch to upstream sleep(3) and usleep(3).
...
Also fix the signature of usleep, and the definition of useconds_t which
should be unsigned, as the 'u' in its name implies.
This patch also cleans up the existing FreeBSD hacks by moving the libm
stuff from <sys/cdefs.h> to a libm-private header, and adding comments
about the hacks we use to build FreeBSD source.
Change-Id: Ibe5067a380502df94a0a3a7901969b35411085b6
2013-11-20 16:24:16 -08:00
Elliott Hughes
556c740298
am 39bc7ecd
: Merge "Fix <signal.h> for mips uapi."
...
* commit '39bc7ecd45700e9edac0b29d33cc211383ebb107':
Fix <signal.h> for mips uapi.
2013-11-20 12:57:19 -08:00
Elliott Hughes
39bc7ecd45
Merge "Fix <signal.h> for mips uapi."
2013-11-20 20:54:03 +00:00
Elliott Hughes
d8482b6c7e
Fix <signal.h> for mips uapi.
...
Bug: 11559337
Change-Id: I4c6080f162d74ee78c81d698c7b50470b0e09586
2013-11-20 12:51:52 -08:00