Print this page
8609 want a position independent CRT
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/sgs/rtld/i386/Makefile
+++ new/usr/src/cmd/sgs/rtld/i386/Makefile
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21
22 22 #
23 23 # Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
24 24 #
25 25
26 26 BASEPLAT = i386
27 27
28 28 # Object lists are organized into primary (most frequently used code) and
29 29 # secondary lists (less frequently used code, ie. profiling support).
30 30
31 31 P_COMOBJS= debugdata.o \
32 32 analyze.o elf.o external.o globals.o \
33 33 malloc.o paths.o setup.o util.o \
34 34 dlfcns.o config_elf.o locale.o tsort.o \
35 35 remove.o move.o tls.o cap.o
36 36
37 37 S_COMOBJS= debug.o audit.o object.o
38 38
39 39 G_MACHOBJS= doreloc.o
40 40
↓ open down ↓ |
40 lines elided |
↑ open up ↑ |
41 41 P_MACHOBJS= i386_elf.o _setup.o
42 42
43 43 CP_MACHOBJS=
44 44
45 45 S_MACHOBJS=
46 46
47 47 P_ASOBJS= boot.o boot_elf.o caller.o
48 48
49 49 S_ASOBJS=
50 50
51 -CRTSRCS= ../../../../lib/common/i386
51 +CRTSRCS= ../../../../lib/crt/i86
52 52 CRTI= pics/crti.o
53 53 CRTN= pics/crtn.o
54 54 CRTS= $(CRTI) $(CRTN)
55 55
56 56 include $(SRC)/Makefile.master
57 57
58 58 # This is safe because linking is done only with the primary compiler.
59 59 MAPFILE-ORDER = ../common/mapfile-order-devpro
60 60 $(__GNUC)MAPFILE-ORDER = ../common/mapfile-order-gcc
61 61
62 62 include $(SRC)/cmd/sgs/rtld/Makefile.com
63 63
64 64 # Add any machine specific flags.
65 65
66 66 ADBGENCFLAGS += -erroff=%all
67 67 ADBGENFLAGS += -milp32
68 68 ADBSUB= $(ADBSUB32)
69 69 SONAME= /lib/ld.so.1
70 70
71 71 SGSMSGTARG += $(SGSMSGINTEL) $(SGSMSGINTEL32) $(SGSMSG32)
72 72
73 73 .KEEP_STATE:
74 74
75 75 all: $(RTLD)
76 76
77 77 install: all $(ROOTDYNLIB)
78 78
79 79 lint: $(LINTOUT32)
80 80
81 81 adbmacros: adb .WAIT $(ADBSCRIPTS)
82 82
83 83 adbinstall: adbmacros .WAIT $(ROOTADB)
84 84
85 85 include $(SRC)/cmd/sgs/rtld/Makefile.targ
↓ open down ↓ |
24 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX