This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/2] arc: Rework default exception handlers for ARC EM and HS


On May 24 15:07, Anton Kolesov wrote:
> Hi,
> 
> 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.

Both patches applied.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]