From: Jeff Law Date: Mon, 22 Jun 1998 05:59:49 +0000 (+0000) Subject: * ld.texinfo: Note that -relax may make symbolic debugging X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e2ebb8ed49a1e89504b2c0971315f755aa9999d9;p=binutils-gdb.git * ld.texinfo: Note that -relax may make symbolic debugging impossible on some platforms. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index e27d36394fd..04edabaa8a3 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,16 @@ +Sun Jun 21 23:55:16 1998 Jeffrey A Law (law@cygnus.com) + + * ld.texinfo: Note that -relax may make symbolic debugging + impossible on some platforms. + +Tue Jun 16 12:51:13 1998 Geoff Keating + + * Makefile.am (Makefile): Remove target. + (config.status): New target. + * Makefile.in: Rebuild. + + * configure.host (powerpc*-*-linux-gnu*): New host. + Fri Jun 12 17:38:07 1998 Doug Evans * scripttempl/elf.sc (INPUT_FILES): Optional INPUT spec. diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 5498bf91772..80aaabc0baf 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -317,9 +317,12 @@ script command @code{FORCE_COMMON_ALLOCATION} has the same effect. @item -e @var{entry} @itemx --entry=@var{entry} Use @var{entry} as the explicit symbol for beginning execution of your -program, rather than the default entry point. @xref{Entry Point}, for a -discussion of defaults and other ways of specifying the -entry point. +program, rather than the default entry point. If there is no symbol +named @var{entry}, the linker will try to parse @var{entry} as a number, +and use that as the entry address (the number will be interpreted in +base 10; you may use a leading @samp{0x} for base 16, or a leading +@samp{0} for base 8). @xref{Entry Point}, for a discussion of defaults +and other ways of specifying the entry point. @cindex dynamic symbol table @kindex -E @@ -867,11 +870,16 @@ This option is only supported on a few targets. @xref{i960,, @code{ld} and the Intel 960 family}. @end ifset + On some platforms, the @samp{--relax} option performs global optimizations that become possible when the linker resolves addressing in the program, such as relaxing address modes and synthesizing new instructions in the output object file. +On some platforms these link time global optimizations may make symbolic +debugging of the resulting executable impossible. This is known to be +the case for the Matsushita MN10200 and MN10300 family of processors. + @ifset GENERIC On platforms where this is not supported, @samp{--relax} is accepted, but ignored.