mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 13:56:22 +08:00
2009-11-06 Kai Tietz <kai.tietz@onevision.com>
* pe.em (DEFAULT_PSEUDO_RELOC_VERSION): New macro. (gld_XXX_before_parse): Set pseudo-relocation default version to DEFAULT_PSEUDO_RELOC_VERSION. (gldXXX_handle_option): Likewise.
This commit is contained in:
@ -1,3 +1,11 @@
|
|||||||
|
2009-11-06 Kai Tietz <kai.tietz@onevision.com>
|
||||||
|
|
||||||
|
* pe.em (DEFAULT_PSEUDO_RELOC_VERSION): New macro.
|
||||||
|
(gld_XXX_before_parse): Set pseudo-relocation default
|
||||||
|
version to DEFAULT_PSEUDO_RELOC_VERSION.
|
||||||
|
(gldXXX_handle_option): Likewise.
|
||||||
|
|
||||||
|
|
||||||
2009-11-05 Nick Clifton <nickc@redhat.com>
|
2009-11-05 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* lexsup.c: Rename --add-needed to --copy-dt-needed-entries.
|
* lexsup.c: Rename --add-needed to --copy-dt-needed-entries.
|
||||||
|
@ -99,6 +99,12 @@ fragment <<EOF
|
|||||||
#define DLL_SUPPORT
|
#define DLL_SUPPORT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(TARGET_IS_i386pe)
|
||||||
|
#define DEFAULT_PSEUDO_RELOC_VERSION 2
|
||||||
|
#else
|
||||||
|
#define DEFAULT_PSEUDO_RELOC_VERSION 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(TARGET_IS_i386pe) || ! defined(DLL_SUPPORT)
|
#if defined(TARGET_IS_i386pe) || ! defined(DLL_SUPPORT)
|
||||||
#define PE_DEF_SUBSYSTEM 3
|
#define PE_DEF_SUBSYSTEM 3
|
||||||
#else
|
#else
|
||||||
@ -161,7 +167,8 @@ esac
|
|||||||
|
|
||||||
fragment <<EOF
|
fragment <<EOF
|
||||||
link_info.pei386_auto_import = ${default_auto_import};
|
link_info.pei386_auto_import = ${default_auto_import};
|
||||||
link_info.pei386_runtime_pseudo_reloc = 1; /* Use by default version 1. */
|
/* Use by default version. */
|
||||||
|
link_info.pei386_runtime_pseudo_reloc = DEFAULT_PSEUDO_RELOC_VERSION;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -746,7 +753,8 @@ gld${EMULATION_NAME}_handle_option (int optc)
|
|||||||
link_info.pei386_auto_import = 0;
|
link_info.pei386_auto_import = 0;
|
||||||
break;
|
break;
|
||||||
case OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC:
|
case OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC:
|
||||||
link_info.pei386_runtime_pseudo_reloc = 1;
|
link_info.pei386_runtime_pseudo_reloc =
|
||||||
|
DEFAULT_PSEUDO_RELOC_VERSION;
|
||||||
break;
|
break;
|
||||||
case OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1:
|
case OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1:
|
||||||
link_info.pei386_runtime_pseudo_reloc = 1;
|
link_info.pei386_runtime_pseudo_reloc = 1;
|
||||||
|
Reference in New Issue
Block a user