freebsd-dev/sys/libkern
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
..
arm Fix unwind-info errors in our hand-written arm assembler code. 2014-08-01 18:24:44 +00:00
arc4random.c
ashldi3.c
ashrdi3.c
bcd.c
bcmp.c
bsearch.c
cmpdi2.c
crc32.c
divdi3.c
ffs.c
ffsl.c
fls.c
flsl.c
flsll.c
fnmatch.c
iconv_converter_if.m
iconv_ucs.c
iconv_xlat16.c
iconv_xlat.c
iconv.c
inet_aton.c
inet_ntoa.c
inet_ntop.c
inet_pton.c
jenkins_hash.c
lshrdi3.c
mcount.c
memcchr.c
memchr.c
memcmp.c
memmove.c
memset.c
moddi3.c
qdivrem.c
qsort_r.c
qsort.c
quad.h
random.c
scanc.c
strcasecmp.c
strcat.c
strchr.c
strcmp.c
strcpy.c
strcspn.c
strdup.c
strlcat.c
strlcpy.c
strlen.c
strncmp.c
strncpy.c
strnlen.c
strrchr.c
strsep.c
strspn.c
strstr.c
strtol.c
strtoq.c
strtoul.c
strtouq.c
strvalid.c
ucmpdi2.c
udivdi3.c
umoddi3.c