aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/m68k/aux-crt2.asm
blob: 062c16ae8c2d55fceb97be3eee28f32691547e57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* More startup code for A/UX */

#include "tm.h"

#ifdef USE_BIN_AS
	file "crt2.s"

/* The init section is used to support shared libraries */
	init
	global	__istart

__istart:
	link %fp,&-4
#else
	.file "crt2.s"

/* The init section is used to support shared libraries */
.section .init, "x"
.even
.globl __istart

__istart:
	link %fp,#-4

#ifndef USE_COLLECT2
/* The ctors and dtors sections are used to support COFF collection of 
   c++ constructors and destructors */
.section .ctors, "d"
.even
.globl __CTOR_LIST__

__CTOR_LIST__:
	.long -1

.section .dtors, "d"
.even
.globl __DTOR_LIST__

__DTOR_LIST__:
	.long -1
#endif /* USE_COLLECT2 */
#endif /* USE_BIN_AS */