mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
ld/ChangeLog
* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set default state of auto-import flag based on $target. ld/testsuite/ChangeLog * ld-pe/pe.exp: Disable auto-import when linking on Cygwin.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2009-02-27 Dave Korn <dave.korn.cygwin@gmail.com>
|
||||||
|
|
||||||
|
* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
|
||||||
|
default state of auto-import flag based on $target.
|
||||||
|
|
||||||
2009-02-24 Joseph Myers <joseph@codesourcery.com>
|
2009-02-24 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* ld.texinfo (ARM): Document changed meaning of --stub-group-size.
|
* ld.texinfo (ARM): Document changed meaning of --stub-group-size.
|
||||||
|
@ -145,7 +145,21 @@ gld_${EMULATION_NAME}_before_parse (void)
|
|||||||
#ifdef DLL_SUPPORT
|
#ifdef DLL_SUPPORT
|
||||||
config.dynamic_link = TRUE;
|
config.dynamic_link = TRUE;
|
||||||
config.has_shared = 1;
|
config.has_shared = 1;
|
||||||
link_info.pei386_auto_import = -1;
|
EOF
|
||||||
|
|
||||||
|
# Cygwin no longer wants these noisy warnings. Other PE
|
||||||
|
# targets might like to consider adding themselves here.
|
||||||
|
case ${target} in
|
||||||
|
*-*-cygwin*)
|
||||||
|
default_auto_import=1
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
default_auto_import=-1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
fragment <<EOF
|
||||||
|
link_info.pei386_auto_import = ${default_auto_import};
|
||||||
link_info.pei386_runtime_pseudo_reloc = 1; /* Use by default version 1. */
|
link_info.pei386_runtime_pseudo_reloc = 1; /* Use by default version 1. */
|
||||||
|
|
||||||
#if (PE_DEF_SUBSYSTEM == 9) || (PE_DEF_SUBSYSTEM == 2)
|
#if (PE_DEF_SUBSYSTEM == 9) || (PE_DEF_SUBSYSTEM == 2)
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2009-02-27 Dave Korn <dave.korn.cygwin@gmail.com>
|
||||||
|
|
||||||
|
* ld-pe/pe.exp: Disable auto-import when linking on Cygwin.
|
||||||
|
|
||||||
2009-02-26 Christophe Lyon <christophe.lyon@st.com>
|
2009-02-26 Christophe Lyon <christophe.lyon@st.com>
|
||||||
|
|
||||||
* ld-arm/arm-elf.exp: Add 3 tests for the 3 new stubs.
|
* ld-arm/arm-elf.exp: Add 3 tests for the 3 new stubs.
|
||||||
|
@ -34,6 +34,11 @@ if {[istarget x86_64-*-mingw*] } {
|
|||||||
{".secrel32" "" "" {secrel1.s secrel2.s}
|
{".secrel32" "" "" {secrel1.s secrel2.s}
|
||||||
{{objdump -s secrel_64.d}} "secrel.x"}
|
{{objdump -s secrel_64.d}} "secrel.x"}
|
||||||
}
|
}
|
||||||
|
} elseif {[istarget i*86-*-cygwin*] } {
|
||||||
|
set pe_tests {
|
||||||
|
{".secrel32" "--disable-auto-import" "" {secrel1.s secrel2.s}
|
||||||
|
{{objdump -s secrel.d}} "secrel.x"}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
set pe_tests {
|
set pe_tests {
|
||||||
{".secrel32" "" "" {secrel1.s secrel2.s}
|
{".secrel32" "" "" {secrel1.s secrel2.s}
|
||||||
|
Reference in New Issue
Block a user