Edit

IABSD.fr/src/lib/libc/softfloat/gtsf2.c

Branch :

  • Show log

    Commit

  • Author : guenther
    Date : 2019-11-10 22:23:28
    Hash : 00b6e344
    Message : Mark as 'protected' all the routines from the quad/ and softfloat/ subdirs, as well as those in arch/arm/gen/divsi3.S. This cleans up the PLTs on the 32bit archs. luna88k testing by aoyama@ "looks good" kettenis@, testing and ok deraadt@

  • lib/libc/softfloat/gtsf2.c
  • /*	$OpenBSD: gtsf2.c,v 1.4 2019/11/10 22:23:29 guenther Exp $	*/
    /* $NetBSD: gtsf2.c,v 1.1 2000/06/06 08:15:06 bjh21 Exp $ */
    
    /*
     * Written by Ben Harris, 2000.  This file is in the Public Domain.
     */
    
    #include "softfloat-for-gcc.h"
    #include "milieu.h"
    #include <softfloat.h>
    
    flag __gtsf2(float32, float32) __dso_protected;
    
    flag
    __gtsf2(float32 a, float32 b)
    {
    
    	/* libgcc1.c says a > b */
    	return float32_lt(b, a);
    }