OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [config/] [alpha/] [t-vms] - Blame information for rev 282

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 282 jeremybenn
# Copyright (C) 1996, 1997, 1998, 2001, 2002,
2
# 2007, 2009 Free Software Foundation, Inc.
3
#
4
# This file is part of GCC.
5
#
6
# GCC is free software; you can redistribute it and/or modify
7
# it under the terms of the GNU General Public License as published by
8
# the Free Software Foundation; either version 3, or (at your option)
9
# any later version.
10
#
11
# GCC is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
# GNU General Public License for more details.
15
#
16
# You should have received a copy of the GNU General Public License
17
# along with GCC; see the file COPYING3.  If not see
18
# .
19
 
20
LIB2FUNCS_EXTRA = $(srcdir)/config/alpha/vms-gcc_shell_handler.c
21
 
22
EXTRA_PARTS = vms-dwarf2.o vms-dwarf2eh.o $(VMS_EXTRA_PARTS) \
23
  crtbegin.o crtbeginS.o crtend.o crtendS.o
24
 
25
# This object must be linked with in order to make the executable debuggable.
26
# vms-ld handles it automatically when passed -g.
27
$(T)vms-dwarf2.o : $(srcdir)/config/alpha/vms-dwarf2.asm
28
        $(GCC_FOR_TARGET) -c -x assembler $< -o $@
29
 
30
$(T)vms-dwarf2eh.o : $(srcdir)/config/alpha/vms-dwarf2eh.asm
31
        $(GCC_FOR_TARGET) -c -x assembler $< -o $@
32
 
33
MULTILIB_OPTIONS = mcpu=ev6
34
MULTILIB_DIRNAMES = ev6
35
MULTILIB_OSDIRNAMES = ev6
36
LIBGCC = stmp-multilib
37
INSTALL_LIBGCC = install-multilib
38
 
39
shlib_version:=$(shell echo $(BASEVER_c) | sed -e 's/\./,/' -e 's/\.//g')
40
SHLIB_EXT = .exe
41
SHLIB_OBJS = @shlib_objs@
42
SHLIB_NAME = @shlib_base_name@.exe
43
SHLIB_MULTILIB =
44
SHLIB_INSTALL = $(INSTALL_DATA) $(SHLIB_NAME) $$(DESTDIR)$$(libsubdir)/$(SHLIB_NAME)
45
SHLIB_SYMVEC = \
46
  grep -F -e "\$$BSS\$$" -e "\$$DATA\$$" -e " sdata " -e " data.rel " -e " data.rel.ro " -e " sbss " \
47
        -e "\$$LINK\$$" -e "\$$READONLY\$$" | \
48
  sed -e "s/.*\$$LINK\$$   \(.*\)/SYMBOL_VECTOR=(\1=PROCEDURE)/" \
49
      -e "s/.*\$$DATA\$$   \(.*\)/SYMBOL_VECTOR=(\1=DATA)/" \
50
      -e "s/.* sbss     \(.*\)/SYMBOL_VECTOR=(\1=DATA)/" \
51
      -e "s/.* sdata    \(.*\)/SYMBOL_VECTOR=(\1=DATA)/" \
52
      -e "s/.* data.rel \(.*\)/SYMBOL_VECTOR=(\1=DATA)/" \
53
      -e "s/.* data.rel.ro \(.*\)/SYMBOL_VECTOR=(\1=DATA)/" \
54
      -e "s/.*\$$BSS\$$    \(.*\)/SYMBOL_VECTOR=(\1=DATA)/" \
55
      -e "s/.*\$$READONLY\$$ \(.*\)/SYMBOL_VECTOR=(\1=DATA)/"
56
SHLIB_SYMVECX2 := $(subst $$,$$$$,$(SHLIB_SYMVEC))
57
SHLIB_LINK = \
58
  echo "case_sensitive=yes" > SYMVEC_$$$$$$$$.opt; \
59
  objdump --syms $(SHLIB_OBJS) | \
60
  $(SHLIB_SYMVECX2) >> SYMVEC_$$$$$$$$.opt ; \
61
  echo "case_sensitive=NO" >> SYMVEC_$$$$$$$$.opt; \
62
  $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -nodefaultlibs \
63
  -shared --for-linker=/noinform -o $(SHLIB_NAME) $(SHLIB_OBJS) \
64
  --for-linker=SYMVEC_$$$$$$$$.opt \
65
  --for-linker=gsmatch=equal,$(shlib_version)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.