From 5511bc2e55b130ef1ce47b47af354ca7876e5ff8 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 17 Oct 2003 15:05:26 +0000 Subject: [PATCH] * config/rs6000/crtsavres.asm: Remove powerpc64 code. From-SVN: r72610 --- gcc/ChangeLog | 3 +- gcc/config/rs6000/crtsavres.asm | 104 +------------------------------- 2 files changed, 3 insertions(+), 104 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7ab41c68fad..5558cc535ba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,7 @@ 2003-10-18 Alan Modra - * config/rs6000/crtsavres.asm: Correct alignment of powerpc64 code. + * config/rs6000/crtsavres.asm: Correct alignment of powerpc64 code + for posterity, then remove it. 2003-10-17 Richard Earnshaw Nathan Sidwell diff --git a/gcc/config/rs6000/crtsavres.asm b/gcc/config/rs6000/crtsavres.asm index cca10baa59e..327048eb287 100644 --- a/gcc/config/rs6000/crtsavres.asm +++ b/gcc/config/rs6000/crtsavres.asm @@ -41,6 +41,7 @@ .section ".text" #include "ppc-asm.h" +/* On PowerPC64 Linux, these functions are provided by the linker. */ #ifndef __powerpc64__ /* Routines for saving floating point registers, called by the compiler. */ @@ -303,107 +304,4 @@ FUNC_END(_restgpr_16_x) FUNC_END(_restgpr_15_x) FUNC_END(_restgpr_14_x) -#else /* __powerpc64__ */ - - .section ".text" - .align 2 - -/* Routines for saving floating point registers, called by the compiler. */ - -.fsav: -FUNC_START(_savef14) stfd 14,-144(1) /* save fp registers */ -FUNC_START(_savef15) stfd 15,-136(1) -FUNC_START(_savef16) stfd 16,-128(1) -FUNC_START(_savef17) stfd 17,-120(1) -FUNC_START(_savef18) stfd 18,-112(1) -FUNC_START(_savef19) stfd 19,-104(1) -FUNC_START(_savef20) stfd 20,-96(1) -FUNC_START(_savef21) stfd 21,-88(1) -FUNC_START(_savef22) stfd 22,-80(1) -FUNC_START(_savef23) stfd 23,-72(1) -FUNC_START(_savef24) stfd 24,-64(1) -FUNC_START(_savef25) stfd 25,-56(1) -FUNC_START(_savef26) stfd 26,-48(1) -FUNC_START(_savef27) stfd 27,-40(1) -FUNC_START(_savef28) stfd 28,-32(1) -FUNC_START(_savef29) stfd 29,-24(1) -FUNC_START(_savef30) stfd 30,-16(1) -FUNC_START(_savef31) stfd 31,-8(1) - blr -.LTfsav: - .long 0 - .byte 0,12,0,0,0,0,0,0 - .long 0 - .long .LTfsav-.fsav - .short 4 - .ascii "fsav" - .align 2 -FUNC_END(_savef31) -FUNC_END(_savef30) -FUNC_END(_savef29) -FUNC_END(_savef28) -FUNC_END(_savef27) -FUNC_END(_savef26) -FUNC_END(_savef25) -FUNC_END(_savef24) -FUNC_END(_savef23) -FUNC_END(_savef22) -FUNC_END(_savef21) -FUNC_END(_savef20) -FUNC_END(_savef19) -FUNC_END(_savef18) -FUNC_END(_savef17) -FUNC_END(_savef16) -FUNC_END(_savef15) -FUNC_END(_savef14) - -/* Routines for restoring floating point registers, called by the compiler. */ - -.fres: -FUNC_START(_restf14) lfd 14,-144(1) /* restore fp registers */ -FUNC_START(_restf15) lfd 15,-136(1) -FUNC_START(_restf16) lfd 16,-128(1) -FUNC_START(_restf17) lfd 17,-120(1) -FUNC_START(_restf18) lfd 18,-112(1) -FUNC_START(_restf19) lfd 19,-104(1) -FUNC_START(_restf20) lfd 20,-96(1) -FUNC_START(_restf21) lfd 21,-88(1) -FUNC_START(_restf22) lfd 22,-80(1) -FUNC_START(_restf23) lfd 23,-72(1) -FUNC_START(_restf24) lfd 24,-64(1) -FUNC_START(_restf25) lfd 25,-56(1) -FUNC_START(_restf26) lfd 26,-48(1) -FUNC_START(_restf27) lfd 27,-40(1) -FUNC_START(_restf28) lfd 28,-32(1) -FUNC_START(_restf29) lfd 29,-24(1) -FUNC_START(_restf30) lfd 30,-16(1) -FUNC_START(_restf31) lfd 31,-8(1) - blr -.LTfres: - .long 0 - .byte 0,12,0,0,0,0,0,0 - .long 0 - .long .LTfres-.fres - .short 4 - .ascii "fres" - .align 2 -FUNC_END(_restf31) -FUNC_END(_restf30) -FUNC_END(_restf29) -FUNC_END(_restf28) -FUNC_END(_restf27) -FUNC_END(_restf26) -FUNC_END(_restf25) -FUNC_END(_restf24) -FUNC_END(_restf23) -FUNC_END(_restf22) -FUNC_END(_restf21) -FUNC_END(_restf20) -FUNC_END(_restf19) -FUNC_END(_restf18) -FUNC_END(_restf17) -FUNC_END(_restf16) -FUNC_END(_restf15) -FUNC_END(_restf14) - #endif -- 2.30.2