1 /******************************************************************************
2 * Copyright (c) 2004, 2008 IBM Corporation
4 * This program and the accompanying materials
5 * are made available under the terms of the BSD License
6 * which accompanies this distribution, and is available at
7 * http://www.opensource.org/licenses/bsd-license.php
10 * IBM Corporation - initial implementation
11 *****************************************************************************/
21 bcl 20,31,over # branch after pointer table
24 .LCgot: .quad _got-base+0x8000
26 mflr r8 # gpr 8 is the base
27 ld r2, .LCgot-base(r8) # load got pointer
28 add r2, r2, r8 # add base
30 oris 14, 14, __bssSize@h
31 ori 14, 14, __bssSize@l
36 oris 14, 14, __bssStart@h
37 ori 14, 14, __bssStart@l
48 .globl slaveLoopNoTakeover
53 oris 14, 14, slaveQuitt@h
54 ori 14, 14, slaveQuitt@l
66 LOAD64(r3, (TAKEOVERBASEADDRESS+0x150))
75 li r0, -1; .long 0x44000022
78 oris 14, 14, slaveQuitt@h
79 ori 14, 14, slaveQuitt@l
90 LOAD64(r3, (TAKEOVERBASEADDRESS+0x150))