mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-26 12:25:31 +00:00
ld: enable new dtags by default for linux/gnu targets
The "new" dtags options have been around for 14+ years now, so for Linux and GNU targets, enable them by default. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
e16fc3da23
commit
822b8bf46b
@ -1,3 +1,9 @@
|
||||
2012-01-21 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
|
||||
link_info.new_dtags to TRUE for linux/gnu targets.
|
||||
* NEWS: Mention new dtags default.
|
||||
|
||||
2013-01-19 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* Makefile.am (HOSTING_SCRT0): New.
|
||||
|
2
ld/NEWS
2
ld/NEWS
@ -4,6 +4,8 @@
|
||||
|
||||
* --enable-new-dtags no longer generates old dtags in addition to new dtags.
|
||||
|
||||
* For Linux/GNU targets, new dtags is now the default.
|
||||
|
||||
Changes in 2.23:
|
||||
|
||||
* Enable compressed debug section feature for x86/x86_64 pe-coff.
|
||||
|
@ -105,6 +105,16 @@ gld${EMULATION_NAME}_before_parse (void)
|
||||
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`;
|
||||
EOF
|
||||
|
||||
case ${target} in
|
||||
*-*-linux-* | *-*-k*bsd*-* | *-*-gnu*)
|
||||
fragment <<EOF
|
||||
link_info.new_dtags = TRUE;
|
||||
EOF
|
||||
;;
|
||||
esac
|
||||
fragment <<EOF
|
||||
}
|
||||
|
||||
EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user