nosys _exit.c

Florian La Roche F.LaRoche@pilz.de
Mon Apr 1 14:06:00 GMT 2019


Hello,

in libgloss/libnosys/_exit.c the comments say that a "divide by 0 
exception" is tried. gcc optimizes this
away with -O1 and -O2, so the code could also be removed competely, then 
only the endless loop
remains for _exit().

best regards,

Florian La Roche



Geschäftsführung: Susanne Kunschert, Thomas Pilz
Pilz GmbH & Co. KG, Sitz: Ostfildern, HRA 210 893, Amtsgericht Stuttgart
Kompl. Ges. Peter Pilz GmbH, Sitz: Ostfildern, HRB 210 612, Amtsgericht Stuttgart
Umsatzsteuer: ID-Nr. DE 145 355 773, WEEE-Reg.-Nr. DE 71636849
This email is intended solely for the use of the named address(es). Any unauthorised disclosure, copying or distribution of these confidential information contained therein, or the taking of any action based on it, is prohibited. The sender disclaims any liability for the integrity of this email. Legally binding declarations must be in written form.
Umweltschutz liegt uns am Herzen! - Bitte denken Sie an unsere Umwelt, bevor Sie diese E-Mail drucken.
We do care about the environment! - Please consider the environment before printing this e-mail.


More information about the Newlib mailing list