mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
2010-04-27 Kai Tietz <kai.tietz@onevision.com>
* dlltool.c (main): Query for bfd's underscoring default for default target case. 2010-04-27 Kai Tietz <kai.tietz@onevision.com> * binutils-all/dlltool.exp: Allow test for arm-wince-pe target.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2010-04-27 Kai Tietz <kai.tietz@onevision.com>
|
||||||
|
|
||||||
|
* dlltool.c (main): Query for bfd's underscoring default for
|
||||||
|
default target case.
|
||||||
|
|
||||||
2010-04-27 Nick Clifton <nickc@redhat.com>
|
2010-04-27 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* po/ru.po: Updated Russian translation.
|
* po/ru.po: Updated Russian translation.
|
||||||
|
@ -4143,6 +4143,16 @@ main (int ac, char **av)
|
|||||||
/* Check if we generated PE+. */
|
/* Check if we generated PE+. */
|
||||||
create_for_pep = strcmp (mname, "i386:x86-64") == 0;
|
create_for_pep = strcmp (mname, "i386:x86-64") == 0;
|
||||||
|
|
||||||
|
{
|
||||||
|
/* Check the default underscore */
|
||||||
|
int u = leading_underscore; /* Underscoring mode. -1 for use default. */
|
||||||
|
if (u == -1)
|
||||||
|
bfd_get_target_info (mtable[machine].how_bfd_target, NULL,
|
||||||
|
NULL, &u, NULL);
|
||||||
|
if (u != -1)
|
||||||
|
leading_underscore = (u != 0 ? TRUE : FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
if (!dll_name && exp_name)
|
if (!dll_name && exp_name)
|
||||||
{
|
{
|
||||||
/* If we are inferring dll_name from exp_name,
|
/* If we are inferring dll_name from exp_name,
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2010-04-27 Kai Tietz <kai.tietz@onevision.com>
|
||||||
|
|
||||||
|
* binutils-all/dlltool.exp: Allow test for
|
||||||
|
arm-wince-pe target.
|
||||||
|
|
||||||
2010-03-30 Kai TIetz <kai.tietz@onevision.com>
|
2010-03-30 Kai TIetz <kai.tietz@onevision.com>
|
||||||
|
|
||||||
* binutils-all/objcopy.exp: Mark simple copy executable
|
* binutils-all/objcopy.exp: Mark simple copy executable
|
||||||
|
@ -14,13 +14,14 @@
|
|||||||
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
if {![istarget "i*86-*-*"] && ![istarget "x86_64-*-mingw*"] } {
|
if {![istarget "i*86-*-*"] && ![istarget "x86_64-*-mingw*"] && ![istarget "arm-*-pe*]} {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if {![istarget "i*86-*-*pe*"] \
|
if {![istarget "i*86-*-*pe*"] \
|
||||||
&& ![istarget "i*86-*-cygwin*"] \
|
&& ![istarget "i*86-*-cygwin*"] \
|
||||||
&& ![istarget "i*86-*-mingw32*"] \
|
&& ![istarget "i*86-*-mingw32*"] \
|
||||||
|
&& ![istarget "arm-*-pe*"] \
|
||||||
&& ![istarget "x86_64-*-mingw*"] } {
|
&& ![istarget "x86_64-*-mingw*"] } {
|
||||||
set target_xfail "yes"
|
set target_xfail "yes"
|
||||||
} else {
|
} else {
|
||||||
@ -35,8 +36,8 @@ if {[which $DLLTOOL] == 0} then {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
verbose "$DLLTOOL -d $srcdir/$subdir/fastcall.def" 1
|
verbose "$DLLTOOL --leading-underscore -d $srcdir/$subdir/fastcall.def" 1
|
||||||
catch "exec $DLLTOOL -d $srcdir/$subdir/fastcall.def" err
|
catch "exec $DLLTOOL --leading-underscore -d $srcdir/$subdir/fastcall.def" err
|
||||||
|
|
||||||
if ![string match "" $err] then {
|
if ![string match "" $err] then {
|
||||||
send_log "$err\n"
|
send_log "$err\n"
|
||||||
@ -50,8 +51,8 @@ if { "$target_xfail" == "yes" } {
|
|||||||
setup_xfail *-*
|
setup_xfail *-*
|
||||||
}
|
}
|
||||||
|
|
||||||
verbose "$DLLTOOL -p prefix -l tmpdir/libalias.a -d $srcdir/$subdir/alias.def $dlltool_gas_flag" 1
|
verbose "$DLLTOOL -p prefix --leading-underscore -l tmpdir/libalias.a -d $srcdir/$subdir/alias.def $dlltool_gas_flag" 1
|
||||||
catch "exec $DLLTOOL -p prefix -l tmpdir/libalias.a -d $srcdir/$subdir/alias.def $dlltool_gas_flag" err
|
catch "exec $DLLTOOL -p prefix --leading-underscore -l tmpdir/libalias.a -d $srcdir/$subdir/alias.def $dlltool_gas_flag" err
|
||||||
|
|
||||||
if ![string match "" $err] then {
|
if ![string match "" $err] then {
|
||||||
send_log "$err\n"
|
send_log "$err\n"
|
||||||
@ -80,8 +81,8 @@ if [regexp $want $got] then {
|
|||||||
fail "dlltool -p (import name)"
|
fail "dlltool -p (import name)"
|
||||||
}
|
}
|
||||||
|
|
||||||
verbose "$DLLTOOL -p prefix -l tmpdir/libalias2.a -d $srcdir/$subdir/alias-2.def $dlltool_gas_flag" 1
|
verbose "$DLLTOOL -p prefix --leading-underscore -l tmpdir/libalias2.a -d $srcdir/$subdir/alias-2.def $dlltool_gas_flag" 1
|
||||||
catch "exec $DLLTOOL -p prefix -l tmpdir/libalias2.a -d $srcdir/$subdir/alias-2.def $dlltool_gas_flag" err
|
catch "exec $DLLTOOL -p prefix --leading-underscore -l tmpdir/libalias2.a -d $srcdir/$subdir/alias-2.def $dlltool_gas_flag" err
|
||||||
|
|
||||||
if ![string match "" $err] then {
|
if ![string match "" $err] then {
|
||||||
send_log "$err\n"
|
send_log "$err\n"
|
||||||
|
Reference in New Issue
Block a user