From e22430578c7bc54a36eb0a8cc0a083f5b4826998 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Wed, 19 Jan 2005 11:42:49 +0000 Subject: * ldmain.h (ld_sysroot): Change type to a constant string. * ldmain.c (ld_sysroot): Likewise. (get_relative_sysroot, get_sysroot): New functions, adding command-line support for changing the sysroot. (main): Call the new functions. * lexsup.c (OPTION_SYSROOT): New. (ld_options): Add --sysroot. (parse_args): Add a dummy handler for it. * ld.texinfo (--sysroot): Document. * NEWS: Mention the new --sysroot option. --- ld/NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ld/NEWS') diff --git a/ld/NEWS b/ld/NEWS index 42a0e09..8bfe5a8 100644 --- a/ld/NEWS +++ b/ld/NEWS @@ -1,5 +1,9 @@ -*- text -*- +* A new command-line option, --sysroot, can be used to override the + default sysroot location. It only applies to toolchains that were + configured using --with-sysroot. + * New linker script functions: ORIGIN() and LENGTH() which return information about a specified memory region. -- cgit v1.1