aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2018-11-07 20:26:28 -0500
committerSandra Loosemore <sandra@gcc.gnu.org>2018-11-07 20:26:28 -0500
commit24d9c62fda5af945366c9d416faa0f27cbe37eb6 (patch)
treedad99bd1034e310581b79793c5fa7f81de018688
parent354b4b6a0d36ce98ba4b7ab926ea56e98b3c4bf5 (diff)
downloadgcc-24d9c62fda5af945366c9d416faa0f27cbe37eb6.zip
gcc-24d9c62fda5af945366c9d416faa0f27cbe37eb6.tar.gz
gcc-24d9c62fda5af945366c9d416faa0f27cbe37eb6.tar.bz2
re PR driver/80828 (Command line option -e not documented)
2018-11-07 Sandra Loosemore <sandra@codesourcery.com> PR driver/80828 gcc/ * doc/invoke.texi (Option Summary): Add -e and --entry. (Link Options): Likewise. From-SVN: r265903
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/invoke.texi10
2 files changed, 16 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2210a2b..2ca7939 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index cead538..df4955c 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -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