1a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang/* libunwind - a platform-independent unwind library 2a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang Copyright (C) 2004 Hewlett-Packard Co 3a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang Contributed by David Mosberger-Tang <davidm@hpl.hp.com> 4a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang 5a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-TangThis file is part of libunwind. 6a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang 7a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-TangPermission is hereby granted, free of charge, to any person obtaining 8a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tanga copy of this software and associated documentation files (the 9a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang"Software"), to deal in the Software without restriction, including 10a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tangwithout limitation the rights to use, copy, modify, merge, publish, 11a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tangdistribute, sublicense, and/or sell copies of the Software, and to 12a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tangpermit persons to whom the Software is furnished to do so, subject to 13a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tangthe following conditions: 14a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang 15a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-TangThe above copyright notice and this permission notice shall be 16a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tangincluded in all copies or substantial portions of the Software. 17a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang 18a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-TangTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 19a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-TangEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 20a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-TangMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 21a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-TangNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 22a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-TangLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 23a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-TangOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 24a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-TangWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ 25a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang 26a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang .globl _UI_longjmp_cont 27a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang 28a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang .type _UI_longjmp_cont, @function 29a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang_UI_longjmp_cont: 30a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang .cfi_startproc 31a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang .cfi_register 8, 0 /* IP saved in EAX */ 32a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang push %eax /* push target IP as return address */ 33a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang .cfi_restore 8 34a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang mov %edx, %eax /* set up return-value */ 35a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang ret 36a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang .cfi_endproc 37a369768c279654ae247643f81e0d2f6f7ddd4d15David Mosberger-Tang .size _UI_siglongjmp_cont, .-_UI_longjmp_cont 3857e569646368cb730f028ecf1732143474e3e642Jan Kratochvil /* We do not need executable stack. */ 3957e569646368cb730f028ecf1732143474e3e642Jan Kratochvil .section .note.GNU-stack,"",@progbits 40