This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: divdi3: incomplete fix in db3d848e154b?


On Sun, 14 May 2017, Zack Weinberg wrote:

> We should try to get an actual hardware division by zero if we can;
> raise(SIGFPE) will not fill in the siginfo structure exactly the same
> way.  It might be the best we can do sometimes, though.

divdi3.c is only present for binary compatibility for architectures 
exporting those functions from glibc 2.0.  The most we could need is a few 
architecture-specific asms (in a macro defined in architecture-specific 
versions of this file before including the generic one, say).

-- 
Joseph S. Myers
joseph@codesourcery.com


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