freebsd-skq/sys/libkern/arm
Ian Lepore 25166187e3 Fix unwind-info errors in our hand-written arm assembler code.
We have functions nested within functions, and places where we start a
function then never end it, we just jump to the middle of something else.
We tried to express this with nested ENTRY()/END() macros (which result
in .fnstart and .fnend directives), but it turns out there's no way to
express that nesting in ARM EHABI unwind info, and newer tools treat
multiple .fnstart directives without an intervening .fnend as an error.

These changes introduce two new macros, EENTRY() and EEND().  EENTRY()
creates a global label you can call/jump to just like ENTRY(), but it
doesn't emit a .fnstart.  EEND() is a no-op that just documents the
conceptual endpoint that matches up with the same-named EENTRY().

This is based on patches submitted by Stepan Dyatkovskiy, but I made some
changes and added the EEND() stuff, so blame any problems on me.

Submitted by:	Stepan Dyatkovskiy <stpworld@narod.ru>
2014-08-01 18:24:44 +00:00
..
aeabi_unwind.c Fix ixp425 boot2 with ARM EABI: 2013-09-29 15:19:34 +00:00
divsi3.S Fix unwind-info errors in our hand-written arm assembler code. 2014-08-01 18:24:44 +00:00
ffs.S Add END to ARM libkern assembly functions 2013-03-16 04:08:01 +00:00
ldivmod_helper.c
ldivmod.S Add END to ARM libkern assembly functions 2013-03-16 04:08:01 +00:00
memcpy.S Add END to ARM libkern assembly functions 2013-03-16 04:08:01 +00:00
memset.S Add __aeabi_memset to libkern, implemented using memset, as clang may 2013-03-16 23:11:55 +00:00
muldi3.c