OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-pe/] [pe.exp] - Blame information for rev 262

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
# Expect script for export table in executables tests
2
#   Copyright 2004, 2006, 2007
3
#   Free Software Foundation, Inc.
4
#
5
# This file is part of the GNU Binutils.
6
#
7
# This program is free software; you can redistribute it and/or modify
8
# it under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# This program is distributed in the hope that it will be useful,
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with this program; if not, write to the Free Software
19
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
20
# MA 02110-1301, USA.
21
#
22
 
23
# This test can only be run on PE/COFF platforms that support .secrel32.
24
if {    ![istarget i*86-*-cygwin*]
25
     && ![istarget i*86-*-pe]
26
     && ![istarget i*86-*-mingw*]
27
     && ![istarget x86_64-*-mingw*]
28
     && ![istarget arm-wince-pe] } {
29
    return
30
}
31
 
32
if {[istarget x86_64-*-mingw*] } {
33
  set pe_tests {
34
    {".secrel32" "" "" {secrel1.s secrel2.s}
35
    {{objdump -s secrel_64.d}} "secrel.x"}
36
  }
37
} else {
38
  set pe_tests {
39
    {".secrel32" "" "" {secrel1.s secrel2.s}
40
     {{objdump -s secrel.d}} "secrel.x"}
41
  }
42
}
43
 
44
run_ld_link_tests $pe_tests
45
 
46
run_dump_test "image_size"

powered by: WebSVN 2.1.0

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