mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 18:39:34 +08:00
ld/
* emultempl/aarch64elf.em (gld${EMULATION_NAME}_before_parse): Copy last elf32.em here too. * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Likewise. * emultempl/mmixelf.em (gld${EMULATION_NAME}_before_parse): Likewise. * emultempl/scoreelf.em (gld${EMULATION_NAME}_before_parse): Likewise.
This commit is contained in:
@ -1,3 +1,11 @@
|
||||
2012-11-26 Roland McGrath <mcgrathr@google.com>
|
||||
|
||||
* emultempl/aarch64elf.em (gld${EMULATION_NAME}_before_parse):
|
||||
Copy last elf32.em here too.
|
||||
* emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Likewise.
|
||||
* emultempl/mmixelf.em (gld${EMULATION_NAME}_before_parse): Likewise.
|
||||
* emultempl/scoreelf.em (gld${EMULATION_NAME}_before_parse): Likewise.
|
||||
|
||||
2012-11-21 Roland McGrath <mcgrathr@google.com>
|
||||
|
||||
* ld.h (ld_config_type): New flag member separate_code.
|
||||
|
@ -39,6 +39,7 @@ gld${EMULATION_NAME}_before_parse (void)
|
||||
#endif /* not TARGET_ */
|
||||
input_flags.dynamic = ${DYNAMIC_LINK-TRUE};
|
||||
config.has_shared = `if test -n "$GENERATE_SHLIB_SCRIPT" ; then echo TRUE ; else echo FALSE ; fi`;
|
||||
config.separate_code = `if test "x${SEPARATE_CODE}" = xyes ; then echo TRUE ; else echo FALSE ; fi`;
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -52,6 +52,7 @@ gld${EMULATION_NAME}_before_parse (void)
|
||||
#endif /* not TARGET_ */
|
||||
input_flags.dynamic = ${DYNAMIC_LINK-TRUE};
|
||||
config.has_shared = `if test -n "$GENERATE_SHLIB_SCRIPT" ; then echo TRUE ; else echo FALSE ; fi`;
|
||||
config.separate_code = `if test "x${SEPARATE_CODE}" = xyes ; then echo TRUE ; else echo FALSE ; fi`;
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -1,5 +1,5 @@
|
||||
# This shell script emits a C file. -*- C -*-
|
||||
# Copyright 2001, 2002, 2003, 2005, 2007 Free Software Foundation, Inc.
|
||||
# Copyright 2001, 2002, 2003, 2005, 2007, 2012 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is part of the GNU Binutils.
|
||||
#
|
||||
@ -38,6 +38,8 @@ elfmmix_before_parse (void)
|
||||
full system with shared libraries and demand paging, you will want to
|
||||
exclude this file. */
|
||||
config.magic_demand_paged = FALSE;
|
||||
|
||||
config.separate_code = `if test "x${SEPARATE_CODE}" = xyes ; then echo TRUE ; else echo FALSE ; fi`;
|
||||
}
|
||||
EOF
|
||||
|
||||
|
@ -38,6 +38,7 @@ gld${EMULATION_NAME}_before_parse ()
|
||||
#endif /* not TARGET_ */
|
||||
input_flags.dynamic = ${DYNAMIC_LINK-TRUE};
|
||||
config.has_shared = `if test -n "$GENERATE_SHLIB_SCRIPT" ; then echo TRUE ; else echo FALSE ; fi`;
|
||||
config.separate_code = `if test "x${SEPARATE_CODE}" = xyes ; then echo TRUE ; else echo FALSE ; fi`;
|
||||
}
|
||||
|
||||
static void
|
||||
@ -74,4 +75,3 @@ LDEMUL_AFTER_OPEN=score_elf_after_open
|
||||
|
||||
# Replace the elf before_parse function with our own.
|
||||
LDEMUL_BEFORE_PARSE=gld"${EMULATION_NAME}"_before_parse
|
||||
|
||||
|
Reference in New Issue
Block a user