]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2018-11-07 Sandra Loosemore <sandra@codesourcery.com>
authorsandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Nov 2018 01:26:28 +0000 (01:26 +0000)
committersandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Nov 2018 01:26:28 +0000 (01:26 +0000)
PR driver/80828

gcc/
* doc/invoke.texi (Option Summary): Add -e and --entry.
(Link Options): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265903 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/invoke.texi

index 2210a2b01a7119ad5088edd38145a6df8aa74620..2ca7939a80a61c597ed22284d6b15f8c9e816be7 100644 (file)
@@ -1,3 +1,9 @@
+2018-11-07  Sandra Loosemore  <sandra@codesourcery.com>
+
+       PR driver/80828
+       * doc/invoke.texi (Option Summary): Add -e and --entry.
+       (Link Options): Likewise.
+
 2018-11-07  Nathan Sidwell  <nathan@acm.org>
 
        PR 87926
index cead538f9fff9539137cb4c12c67fca2b8f48bdb..df4955cd6068dbaee2944ffab83b20c9b0c678ce 100644 (file)
@@ -524,6 +524,7 @@ Objective-C and Objective-C++ Dialects}.
 @xref{Link Options,,Options for Linking}.
 @gccoptlist{@var{object-file-name}  -fuse-ld=@var{linker}  -l@var{library} @gol
 -nostartfiles  -nodefaultlibs  -nolibc  -nostdlib @gol
+-e @var{entry}  --entry=@var{entry} @gol
 -pie  -pthread  -r  -rdynamic @gol
 -s  -static -static-pie -static-libgcc  -static-libstdc++ @gol
 -static-libasan  -static-libtsan  -static-liblsan  -static-libubsan @gol
@@ -12712,6 +12713,15 @@ library subroutines.
 constructors are called; @pxref{Collect2,,@code{collect2}, gccint,
 GNU Compiler Collection (GCC) Internals}.)
 
+@item -e @var{entry}
+@itemx --entry=@var{entry}
+@opindex e
+@opindex entry
+
+Specify that the program entry point is @var{entry}.  The argument is
+interpreted by the linker; the GNU linker accepts either a symbol name
+or an address.
+
 @item -pie
 @opindex pie
 Produce a dynamically linked position independent executable on targets