blob: 168669a9336bf86a98f0d6aeab1ea2dbd8302f49 [file] [log] [blame]
Bobby Binghamc0ede9e2016-04-30 19:18:17 -05001__asm__(
2".text \n"
3".global " START " \n"
4".type " START ", %function \n"
5START ": \n"
6" addis 2, 12, .TOC.-" START "@ha \n"
7" addi 2, 2, .TOC.-" START "@l \n"
8" lwz 4, 1f-" START "(12)\n"
9" add 4, 4, 12 \n"
10" mr 3, 1 \n"
11" clrrdi 1, 1, 4 \n"
12" li 0, 0 \n"
13" stdu 0, -32(1) \n"
14" mtlr 0 \n"
15" bl " START "_c \n"
16".weak _DYNAMIC \n"
17".hidden _DYNAMIC \n"
18"1: .long _DYNAMIC-" START "\n"
19);