亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? shared.exp

?? Linux下嵌入式開發工具源代碼
?? EXP
字號:
# Expect script for ld-shared tests#   Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation## This file is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2 of the License, or# (at your option) any later version.# # This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.# # You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.## Written by Ian Lance Taylor (ian@cygnus.com)## Make sure that ld can generate ELF shared libraries.# Note that linking against ELF shared libraries is tested by the# bootstrap test.# This test can only be run if ld generates native executables.if ![isnative] then {return}# This test can only be run on a couple of ELF platforms.# Square bracket expressions seem to confuse istarget.if { ![istarget i386-*-sysv4*] \     && ![istarget i486-*-sysv4*] \     && ![istarget i586-*-sysv4*] \     && ![istarget i386-*-unixware] \     && ![istarget i486-*-unixware] \     && ![istarget i586-*-unixware] \     && ![istarget i386-*-elf*] \     && ![istarget i486-*-elf*] \     && ![istarget i586-*-elf*] \     && ![istarget i386-*-linux*] \     && ![istarget i486-*-linux*] \     && ![istarget i586-*-linux*] \     && ![istarget m68k-*-linux*] \     && ![istarget mips*-*-irix5*] \     && ![istarget sparc*-*-elf] \     && ![istarget sparc*-*-solaris2*] \     && ![istarget sparc*-*-sunos4*] \     && ![istarget rs6000*-*-aix*] \     && ![istarget powerpc*-*-aix*] } {    return}if { [istarget i386-*-linuxaout*] \     || [istarget i486-*-linuxaout*] \     || [istarget i586-*-linuxaout*] \     || [istarget i386-*-linuxoldld*] \     || [istarget i486-*-linuxoldld*] \     || [istarget i586-*-linuxoldld*] \     || [istarget m68k-*-linuxaout*] } {    return}set tmpdir tmpdirset SHCFLAG ""if { [istarget rs6000*-*-aix*] || [istarget powerpc*-*-aix*] } {    # AIX shared libraries do not seem to support useful features,    # like overriding the shared library function or letting the    # shared library refer to objects defined in the main program.  We    # avoid testing those features.    set SHCFLAG "-DXCOFF_TEST"    # The AIX 3.2.5 loader appears to randomly fail when loading    # shared libraries from NSF mounted partitions, so we avoid any    # potential problems by using a local directory.    catch {exec /bin/sh -c "echo $$"} pid    set tmpdir /usr/tmp/ld.$pid    catch "exec mkdir $tmpdir" exec_status    # On AIX, we need to explicitly export the symbols the shared    # library is going to provide, and need.    set file [open $tmpdir/xcoff.exp w]    puts $file shlibvar1    puts $file shlibvar2    puts $file shlib_shlibvar1    puts $file shlib_shlibvar2    puts $file shlib_shlibcall    puts $file shlib_shlibcalled    puts $file shlib_checkfunptr1    puts $file shlib_getfunptr1    puts $file shlib_check    close $file}# The test procedure.proc shared_test { progname testname main sh1 sh2 dat } {    global ld    global srcdir    global subdir    global exec_output    global host_triplet    global tmpdir    # Build the shared library.    # On AIX, we need to use an export file.    set shared -shared    if { [istarget rs6000*-*-aix*] || [istarget powerpc*-*-aix*] } {	set shared "-bM:SRE -bE:$tmpdir/xcoff.exp"    }    if {![ld_simple_link $ld $tmpdir/$progname.so "$shared $tmpdir/$sh1 $tmpdir/$sh2"]} {        fail "$testname"    	return    }    # Link against the shared library.  Use -rpath so that the    # dynamic linker can locate the shared library at runtime.    # On AIX, we must include /lib in -rpath, as otherwise the loader    # can not find -lc.    set rpath $tmpdir    if { [istarget rs6000*-*-aix*] || [istarget powerpc*-*-aix*] } {	set rpath /lib:$tmpdir    }    if ![ld_link $ld $tmpdir/$progname "-rpath $rpath $tmpdir/$main $tmpdir/$progname.so"] {    	fail "$testname"    	return    }    # Run the resulting program    send_log "$tmpdir/$progname >$tmpdir/$progname.out\n"    verbose "$tmpdir/$progname >$tmpdir/$progname.out"    catch "exec $tmpdir/$progname >$tmpdir/$progname.out" exec_output    if ![string match "" $exec_output] then {	send_log "$exec_output\n"	verbose "$exec_output"	fail "$testname"    	return    }    send_log "diff $tmpdir/$progname.out $srcdir/$subdir/$dat.dat\n"    verbose "diff $tmpdir/$progname.out $srcdir/$subdir/$dat.dat"    catch "exec diff $tmpdir/$progname.out $srcdir/$subdir/$dat.dat" exec_output    set exec_output [prune_warnings $exec_output]    if {![string match "" $exec_output]} then {	send_log "$exec_output\n"	verbose "$exec_output"	fail "$testname"        return    }    pass "$testname"}if [istarget mips*-*-*] {    set picflag ""} else {    # Unfortunately, the gcc argument is -fpic and the cc argument is    # -KPIC.  We have to try both.    set picflag "-fpic"    send_log "$CC $picflag\n"    verbose "$CC $picflag"    catch "exec $CC $picflag" exec_output    send_log "$exec_output\n"    verbose "--" "$exec_output"    if { [string match "*illegal option*" $exec_output] \	 || [string match "*option ignored*" $exec_output] \	 || [string match "*unrecognized option*" $exec_output] \	 || [string match "*passed to ld*" $exec_output] } {	if [istarget *-*-sunos4*] {	    set picflag "-pic"	} else {	    set picflag "-KPIC"	}    }}verbose "Using $picflag to compile PIC code"# Compile the main program.if ![ld_compile "$CC $CFLAGS $SHCFLAG" $srcdir/$subdir/main.c $tmpdir/mainnp.o] {    unresolved "shared (non PIC)"    unresolved "shared"} else {    # The shared library is composed of two files.  First compile them    # without using -fpic.  That should work on an ELF system,    # although it will be less efficient because the dynamic linker    # will need to do more relocation work.  However, note that not    # using -fpic will cause some of the tests to return different    # results.    if { ![ld_compile "$CC $CFLAGS $SHCFLAG" $srcdir/$subdir/sh1.c $tmpdir/sh1np.o]	 || ![ld_compile "$CC $CFLAGS $SHCFLAG" $srcdir/$subdir/sh2.c $tmpdir/sh2np.o] } {	unresolved "shared (non PIC)"    } else { if { [istarget rs6000*-*-aix*] || [istarget powerpc*-*-aix*] } {	shared_test shnp "shared (nonPIC)" mainnp.o sh1np.o sh2np.o xcoff    } else {	# SunOS can not handle non PIC code in a shared library	setup_xfail "*-*-sunos4*"	# On Linux/m68k this fails because non-pic references to symbols	# in the same section may be resolved by the assembler if they	# are pc-relative.	setup_xfail "m68k-*-linux*"	shared_test shnp "shared (non PIC)" mainnp.o sh1np.o sh2np.o shared    } }    # Now compile the code using -fpic.    if { ![ld_compile "$CC $CFLAGS $SHCFLAG $picflag" $srcdir/$subdir/sh1.c $tmpdir/sh1p.o] 	 || ![ld_compile "$CC $CFLAGS $SHCFLAG $picflag" $srcdir/$subdir/sh2.c $tmpdir/sh2p.o] } {	unresolved "shared"    } else {	# SunOS can not compare function pointers correctly	if [istarget "*-*-sunos4*"] {	    shared_test shp "shared" mainnp.o sh1p.o sh2p.o sun4	} else { if { [istarget rs6000*-*-aix*] || [istarget powerpc*-*-aix*] } {	    shared_test shp "shared" mainnp.o sh1p.o sh2p.o xcoff	} else {	    shared_test shp "shared" mainnp.o sh1p.o sh2p.o shared	} }    }}# Now do the same tests again, but this time compile main.c PIC.if ![ld_compile "$CC $CFLAGS $SHCFLAG $picflag" $srcdir/$subdir/main.c $tmpdir/mainp.o] {    unresolved "shared (PIC main, non PIC so)"    unresolved "shared (PIC main)"} else {    if { [file exists $tmpdir/sh1np.o ] && [ file exists $tmpdir/sh2np.o ] } {        if { [istarget rs6000*-*-aix*] || [istarget powerpc*-*-aix*] } {	    shared_test shmpnp "shared (PIC main, non PIC so)" mainp.o sh1np.o sh2np.o xcoff	} else {	    # SunOS can not handle non PIC code in a shared library	    setup_xfail "*-*-sunos4*"	    # On Linux/m68k this fails because non-pic references to symbols	    # in the same section may be resolved by the assembler if they	    # are pc-relative.	    setup_xfail "m68k-*-linux*"	    shared_test shmpnp "shared (PIC main, non PIC so)" mainp.o sh1np.o sh2np.o shared	}    } else {	unresolved "shared (PIC main, non PIC so)"    }    if { [file exists $tmpdir/sh1p.o ] && [ file exists $tmpdir/sh2p.o ] } {        if { [istarget rs6000*-*-aix*] || [istarget powerpc*-*-aix*] } {	    shared_test shmpp "shared (PIC main)" mainp.o sh1p.o sh2p.o xcoff	} else {	    shared_test shmpp "shared (PIC main)" mainp.o sh1p.o sh2p.o shared	}    } else {	unresolved "shared (PIC main)"    }}if { [istarget rs6000*-*-aix*] || [istarget powerpc*-*-aix*] } {    # Remove the temporary directory.    catch "exec rm -rf $tmpdir" exec_status}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美综合网| 日本一区二区不卡视频| 99久久99久久综合| 国产成人av资源| 国产成人精品影视| 国产高清久久久久| 成人免费视频国产在线观看| 国产一区二区三区香蕉| 国产福利一区在线| 成人午夜视频在线观看| 成人av网址在线观看| 99久久久久久99| 欧美日韩情趣电影| 日韩欧美成人一区| 国产日韩综合av| 1000部国产精品成人观看| 一区二区三区高清不卡| 亚洲精品视频在线看| **欧美大码日韩| 亚洲一区电影777| 天天影视网天天综合色在线播放| 同产精品九九九| 黄色资源网久久资源365| 成人a免费在线看| 91久久精品一区二区三| 在线不卡a资源高清| 亚洲精品一区二区三区精华液| 国产女人18毛片水真多成人如厕| 亚洲欧美综合色| 麻豆精品一区二区综合av| 国产精品一区二区久久不卡| 91亚洲国产成人精品一区二三| 欧美视频中文字幕| 久久先锋影音av| 亚洲精品欧美在线| 国产伦理精品不卡| 欧美亚洲日本国产| 中文字幕欧美日韩一区| 亚洲高清中文字幕| 国产乱码字幕精品高清av| 日本韩国欧美在线| 久久久影视传媒| 日韩精品亚洲专区| 99精品视频在线观看| 日韩欧美美女一区二区三区| 日韩美女视频一区二区| 麻豆精品视频在线| 欧美午夜电影在线播放| 亚洲精品在线观看网站| 亚洲国产成人精品视频| 9l国产精品久久久久麻豆| 91精品国产综合久久福利软件 | 91视频国产资源| 日韩一区二区三区精品视频 | 亚洲麻豆国产自偷在线| 久久99国产精品久久99果冻传媒| 91影视在线播放| 国产欧美精品一区二区色综合 | 在线播放中文一区| 亚洲黄色av一区| 成人a免费在线看| 久久精品亚洲一区二区三区浴池| 图片区小说区区亚洲影院| 99久久精品免费| 国产精品女同一区二区三区| 精品一区二区三区免费| 欧美一级日韩免费不卡| 午夜视频在线观看一区二区| 欧洲精品一区二区三区在线观看| 国产欧美日韩三区| 国产成人精品影视| 中文字幕va一区二区三区| 国产精品综合视频| 久久精品水蜜桃av综合天堂| 国产精品自拍毛片| 国产偷国产偷精品高清尤物 | 成人午夜伦理影院| 久久久99免费| 国产成人免费视频网站| 国产欧美日韩另类一区| 国产一区二区三区精品视频| 精品蜜桃在线看| 国产一区二区免费看| 久久久久久麻豆| 成人app下载| 亚洲乱码国产乱码精品精小说| va亚洲va日韩不卡在线观看| 国产精品护士白丝一区av| 99精品视频在线免费观看| 最新国产成人在线观看| 欧美色网一区二区| 欧美a级理论片| 久久麻豆一区二区| 99视频精品在线| 亚洲一级不卡视频| 日韩免费视频一区二区| 国产福利不卡视频| 亚洲精品日日夜夜| 欧美一区二区三区四区在线观看| 久久99精品久久久久久国产越南| 久久嫩草精品久久久精品一| 成人性视频网站| 亚洲国产sm捆绑调教视频| 精品国产乱码久久久久久夜甘婷婷| 国产在线麻豆精品观看| 亚洲少妇屁股交4| 91精品国产色综合久久| 成人福利视频网站| 日韩在线观看一区二区| 国产性做久久久久久| 久久综合色一综合色88| 成人黄色片在线观看| 亚洲一区二区三区视频在线| 精品精品国产高清a毛片牛牛| 成人精品鲁一区一区二区| 亚洲国产另类av| 中文字幕欧美日本乱码一线二线| 91国产成人在线| 国产精品99久久久久久有的能看| 亚洲精品乱码久久久久| 欧美精品一区二区久久婷婷| 欧美色综合天天久久综合精品| 久久超碰97人人做人人爱| 中文字幕视频一区| 久久夜色精品一区| 8v天堂国产在线一区二区| 成人国产亚洲欧美成人综合网 | 久久精品男人天堂av| 欧美日韩在线三级| 97精品国产露脸对白| 久久99精品久久久久久久久久久久| 亚洲欧美电影一区二区| 国产亚洲一区字幕| 精品国产免费久久| 88在线观看91蜜桃国自产| 色天使久久综合网天天| 国产亚洲一区二区三区| 欧美电影在哪看比较好| 91豆麻精品91久久久久久| 成人在线视频一区二区| 91网站视频在线观看| 春色校园综合激情亚洲| 国产一区二区三区在线看麻豆| 日本视频中文字幕一区二区三区| 一区二区在线观看不卡| 国产精品私人影院| 中文字幕av不卡| 国产日产欧美一区| 久久久久久久久蜜桃| 日韩三级精品电影久久久 | 久久99热狠狠色一区二区| 亚洲动漫第一页| 亚洲成av人片在线观看| 亚洲精品欧美专区| 亚洲图片自拍偷拍| 亚洲国产成人高清精品| 五月婷婷综合在线| 天堂精品中文字幕在线| 日韩精品一级二级| 青青草国产成人av片免费| 另类小说色综合网站| 久久99精品久久久久久| 国产一区二区调教| 成人一二三区视频| 色猫猫国产区一区二在线视频| 在线亚洲一区二区| 欧美精品乱码久久久久久按摩| 91麻豆精品国产91久久久久| 日韩欧美成人激情| 中国av一区二区三区| 亚洲精选在线视频| 午夜av电影一区| 国产一区二区在线免费观看| 国产99久久久久| 在线观看国产91| 在线91免费看| 欧美国产一区在线| 亚洲影视资源网| 麻豆久久久久久| a4yy欧美一区二区三区| 国产视频一区二区在线| 国产精品乱码一区二三区小蝌蚪| 樱花影视一区二区| 久久91精品久久久久久秒播| 国产伦精品一区二区三区免费| 99精品久久99久久久久| 一级日本不卡的影视| 亚洲大型综合色站| 国产曰批免费观看久久久| 不卡欧美aaaaa| 欧美电影在哪看比较好| 国产三区在线成人av| 亚洲综合激情网| 国产在线麻豆精品观看| 欧美艳星brazzers| 国产亚洲午夜高清国产拍精品 | 精品成人一区二区| 亚洲精品国产品国语在线app| 麻豆高清免费国产一区| 色香色香欲天天天影视综合网|