start.S (9d62f20d0861ef87460d073dc189c851715b46ae) start.S (0df01fd3d71481b5cc7aeea6a741b9fc3be15178)
1/*
2 * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
3 * Scott McNutt <smcnutt@psyent.com>
4 *
5 * See file CREDITS for list of people who contributed to this
6 * project.
7 *
8 * This program is free software; you can redistribute it and/or

--- 99 unchanged lines hidden (view full) ---

108 ori r6, r6, %lo(_end)
109 beq r5, r6, 5f
110
1114: stwio r0, 0(r5)
112 addi r5, r5, 4
113 bne r5, r6, 4b
1145:
115
1/*
2 * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
3 * Scott McNutt <smcnutt@psyent.com>
4 *
5 * See file CREDITS for list of people who contributed to this
6 * project.
7 *
8 * This program is free software; you can redistribute it and/or

--- 99 unchanged lines hidden (view full) ---

108 ori r6, r6, %lo(_end)
109 beq r5, r6, 5f
110
1114: stwio r0, 0(r5)
112 addi r5, r5, 4
113 bne r5, r6, 4b
1145:
115
116 /* GLOBAL POINTER -- the global pointer is used to reference
117 * "small data" (see -G switch). The linker script must
118 * provide the gp address.
119 */
120 movhi gp, %hi(_gp)
121 ori gp, gp, %lo(_gp)
122
123 /* JUMP TO RELOC ADDR */
124 movhi r4, %hi(_reloc)
125 ori r4, r4, %lo(_reloc)
126 jmp r4
127_reloc:
128
129 /* COPY EXCEPTION TRAMPOLINE -- copy the tramp to the
130 * exception address. Define CONFIG_ROM_STUBS to prevent

--- 86 unchanged lines hidden ---
116 /* JUMP TO RELOC ADDR */
117 movhi r4, %hi(_reloc)
118 ori r4, r4, %lo(_reloc)
119 jmp r4
120_reloc:
121
122 /* COPY EXCEPTION TRAMPOLINE -- copy the tramp to the
123 * exception address. Define CONFIG_ROM_STUBS to prevent

--- 86 unchanged lines hidden ---