remove GCC divsi3 routines which are never used.

This commit is contained in:
Poul-Henning Kamp 1995-10-05 10:32:47 +00:00
parent fcce81cde3
commit 92a69bc337
5 changed files with 5 additions and 56 deletions

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: support.s,v 1.21 1995/03/11 03:49:50 phk Exp $
* $Id: support.s,v 1.22 1995/05/02 05:20:26 davidg Exp $
*/
#include "assym.s" /* system definitions */
@ -41,21 +41,6 @@
#define KDSEL 0x10 /* kernel data selector */
#define IDXSHIFT 10
/*
* Support routines for GCC, general C-callable functions
*/
ENTRY(__udivsi3)
movl 4(%esp),%eax
xorl %edx,%edx
divl 8(%esp)
ret
ENTRY(__divsi3)
movl 4(%esp),%eax
cltd
idivl 8(%esp)
ret
/*
* Support for reading real time clock registers
*/

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: support.s,v 1.21 1995/03/11 03:49:50 phk Exp $
* $Id: support.s,v 1.22 1995/05/02 05:20:26 davidg Exp $
*/
#include "assym.s" /* system definitions */
@ -41,21 +41,6 @@
#define KDSEL 0x10 /* kernel data selector */
#define IDXSHIFT 10
/*
* Support routines for GCC, general C-callable functions
*/
ENTRY(__udivsi3)
movl 4(%esp),%eax
xorl %edx,%edx
divl 8(%esp)
ret
ENTRY(__divsi3)
movl 4(%esp),%eax
cltd
idivl 8(%esp)
ret
/*
* Support for reading real time clock registers
*/

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: cpufunc.h,v 1.39 1995/08/08 04:50:52 dyson Exp $
* $Id: cpufunc.h,v 1.40 1995/08/26 20:45:59 bde Exp $
*/
/*
@ -355,11 +355,8 @@ void remque __P((void *a));
/*
* XXX the following declarations document garbage in support.s.
* gcc hasn't needed _divsi* for years.
* bcopy[bwx]() was used by pccons but isn't used now.
*/
int __divsi3 __P((int factor1, int factor2));
u_int __udivsi3 __P((u_int factor1, u_int factor2));
void bcopyb __P((const void *from, void *to, size_t len));
void bcopyw __P((const void *from, void *to, size_t len));
void bcopyx __P((const void *from, void *to, size_t len,

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: support.s,v 1.21 1995/03/11 03:49:50 phk Exp $
* $Id: support.s,v 1.22 1995/05/02 05:20:26 davidg Exp $
*/
#include "assym.s" /* system definitions */
@ -41,21 +41,6 @@
#define KDSEL 0x10 /* kernel data selector */
#define IDXSHIFT 10
/*
* Support routines for GCC, general C-callable functions
*/
ENTRY(__udivsi3)
movl 4(%esp),%eax
xorl %edx,%edx
divl 8(%esp)
ret
ENTRY(__divsi3)
movl 4(%esp),%eax
cltd
idivl 8(%esp)
ret
/*
* Support for reading real time clock registers
*/

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: cpufunc.h,v 1.39 1995/08/08 04:50:52 dyson Exp $
* $Id: cpufunc.h,v 1.40 1995/08/26 20:45:59 bde Exp $
*/
/*
@ -355,11 +355,8 @@ void remque __P((void *a));
/*
* XXX the following declarations document garbage in support.s.
* gcc hasn't needed _divsi* for years.
* bcopy[bwx]() was used by pccons but isn't used now.
*/
int __divsi3 __P((int factor1, int factor2));
u_int __udivsi3 __P((u_int factor1, u_int factor2));
void bcopyb __P((const void *from, void *to, size_t len));
void bcopyw __P((const void *from, void *to, size_t len));
void bcopyx __P((const void *from, void *to, size_t len,