freebsd-nq/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 Attempt to mitigate poor initialization of arc4 by one-shot 2013-04-19 00:30:52 +00:00
ashldi3.c Fix ixp425 boot2 with ARM EABI: 2013-09-29 15:19:34 +00:00
ashrdi3.c
bcd.c
bcmp.c
bsearch.c
cmpdi2.c
crc32.c
divdi3.c
ffs.c
ffsl.c
fls.c
flsl.c
flsll.c Fix watchdog pretimeout. 2013-07-27 20:47:01 +00:00
fnmatch.c
iconv_converter_if.m
iconv_ucs.c Use strcasecmp() instead of strcmp() when checking user-supplied encoding 2014-06-09 19:27:47 +00:00
iconv_xlat16.c
iconv_xlat.c
iconv.c Use strcasecmp() instead of strcmp() when checking user-supplied encoding 2014-06-09 19:27:47 +00:00
inet_aton.c
inet_ntoa.c
inet_ntop.c
inet_pton.c
jenkins_hash.c s/ is is / is /g 2012-09-14 22:00:03 +00:00
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 Add __aeabi_ulcmp to allow building of the LINT kernel. 2013-01-23 09:18:18 +00:00
random.c
scanc.c
strcasecmp.c
strcat.c
strchr.c
strcmp.c
strcpy.c
strcspn.c
strdup.c
strlcat.c
strlcpy.c Sync strlcpy with userland version. 2012-11-03 04:29:24 +00:00
strlen.c Sync strlen with userland implementation. 2012-11-03 04:28:53 +00:00
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 Add __aeabi_ulcmp to allow building of the LINT kernel. 2013-01-23 09:18:18 +00:00
udivdi3.c
umoddi3.c