aboutsummaryrefslogtreecommitdiff
path: root/depcomp
diff options
context:
space:
mode:
authorAnton Kolesov <Anton.Kolesov@synopsys.com>2016-05-13 18:09:43 +0300
committerCorinna Vinschen <corinna@vinschen.de>2016-05-25 12:15:51 +0200
commitdd00a8e71935e01062bae711c1e02bcc34baa8a8 (patch)
treeb89bfd33192e2f392119f0296b636b0831528810 /depcomp
parent030d86d04dbd6ae878ff894256c5a465890d5970 (diff)
downloadnewlib-dd00a8e71935e01062bae711c1e02bcc34baa8a8.zip
newlib-dd00a8e71935e01062bae711c1e02bcc34baa8a8.tar.gz
newlib-dd00a8e71935e01062bae711c1e02bcc34baa8a8.tar.bz2
arc: Rework default exception handlers for ARC EM and HS
Initially crt0.S used a special function, declared as weak as a default exception handler in interrupt vector table. To let user override individual handlers, this function had multiple names - one for each IVT entry, which, however, was terribly confusing for the debugger and user - because it wasn't clear which symbol will be used as a function name in debugger. Defining multiple separate functions - one for each handler, would resolve the mess, but would increase code size of crt0.o. To clean this up, this patch defines exception handlers as weak symbols as well, but those are defined as just symbols, not functions, hence there would be less confusion over what is what. At the same time, users still can redefine exception handlers symbol by creating functions with respective names. libgloss/ 2016-05-24 Anton Kolesov <Anton.Kolesov@synopsys.com> * arc/crt0.S: Convert memory_error and friends to non-function symbols.
Diffstat (limited to 'depcomp')
0 files changed, 0 insertions, 0 deletions