Commit 869464ba by Andreas Tobler Committed by Andreas Tobler

re PR target/14931 (ASM file in GCC for PPC darwin should use the new stub style)

2004-08-15  Andreas Tobler  <a.tobler@schweiz.ch>
	    Andrew Pinski  <pinskia@physics.uc.edu>

	PR target/14931
	* config/rs6000/darwin-tramp.asm (L_abort$stub): Change to new stub
	style.

Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>

From-SVN: r86028
parent ead6d15f
2004-08-15 Andreas Tobler <a.tobler@schweiz.ch>
Andrew Pinski <pinskia@physics.uc.edu>
PR target/14931
* config/rs6000/darwin-tramp.asm (L_abort$stub): Change to new stub
style.
2004-08-15 Nathan Sidwell <nathan@codesourcery.com> 2004-08-15 Nathan Sidwell <nathan@codesourcery.com>
* tree.h (build_int_cst): New. * tree.h (build_int_cst): New.
......
/* Special support for trampolines /* Special support for trampolines
* *
* Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc. * Copyright (C) 1996, 1997, 2000, 2004 Free Software Foundation, Inc.
* Written By Michael Meissner * Written By Michael Meissner
* *
* This file is free software; you can redistribute it and/or modify it * This file is free software; you can redistribute it and/or modify it
...@@ -103,7 +103,8 @@ Labort: ...@@ -103,7 +103,8 @@ Labort:
#ifdef __DYNAMIC__ #ifdef __DYNAMIC__
bl L_abort$stub bl L_abort$stub
.data .data
.picsymbol_stub .section __TEXT,__picsymbolstub1,symbol_stubs,pure_instructions,32
.align 2
L_abort$stub: L_abort$stub:
.indirect_symbol _abort .indirect_symbol _abort
mflr r0 mflr r0
...@@ -112,9 +113,8 @@ L0$_abort: ...@@ -112,9 +113,8 @@ L0$_abort:
mflr r11 mflr r11
addis r11,r11,ha16(L_abort$lazy_ptr-L0$_abort) addis r11,r11,ha16(L_abort$lazy_ptr-L0$_abort)
mtlr r0 mtlr r0
lwz r12,lo16(L_abort$lazy_ptr-L0$_abort)(r11) lwzu r12,lo16(L_abort$lazy_ptr-L0$_abort)(r11)
mtctr r12 mtctr r12
addi r11,r11,lo16(L_abort$lazy_ptr-L0$_abort)
bctr bctr
.data .data
.lazy_symbol_pointer .lazy_symbol_pointer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment