]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
objcopy: Mention 'entry address' in description
authorAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 5 May 2020 14:48:13 +0000 (15:48 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 7 May 2020 10:39:39 +0000 (11:39 +0100)
The ELF header contains a start address, which is also sometimes
called the entry address.  The 'objdump -x' output calls this field
the 'start address', while readelf calls it 'entry point address'.
The linker talks about setting the 'entry' point in its manual.

I've always thought of this field as the 'entry address', and so when
I recently wanted to know if objcopy could adjust this field I opened
up the manual and searched for 'entry', which found no hits.

I thought it would be useful (for people like me) if the description
of 'set-start' and 'adjust-start' in the objcopy manual mentioned the
word 'entry' to make it easier to find.

binutils/ChangeLog:

* doc/binutils.texi: Mention 'entry address' in the set-start and
adjust-start options descriptions.

binutils/ChangeLog
binutils/doc/binutils.texi

index 7d00344eb0d3160cf2087bec5697cec5c405b7d9..b1fc9511a92c615a06b83bd32f8851cd963eebd7 100644 (file)
@@ -1,3 +1,8 @@
+2020-05-07  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * doc/binutils.texi: Mention 'entry address' in the set-start and
+       adjust-start options descriptions.
+
 2020-05-05  Nick Clifton  <nickc@redhat.com>
 
        * dwarf.c (do_checks): New global variable.
index 9a3a40f14765f1c47edb4077cc8d08f3a27e7bed..3c8a50b5d98ef475adedb582f1cc28c0a1c6a0f2 100644 (file)
@@ -1568,14 +1568,16 @@ done by increasing the size of the last section.  The extra space is
 filled in with the value specified by @option{--gap-fill} (default zero).
 
 @item --set-start @var{val}
-Set the start address of the new file to @var{val}.  Not all object file
-formats support setting the start address.
+Set the start address (also known as the entry address) of the new
+file to @var{val}.  Not all object file formats support setting the
+start address.
 
 @item --change-start @var{incr}
 @itemx --adjust-start @var{incr}
 @cindex changing start address
-Change the start address by adding @var{incr}.  Not all object file
-formats support setting the start address.
+Change the start address (also known as the entry address) by adding
+@var{incr}.  Not all object file formats support setting the start
+address.
 
 @item --change-addresses @var{incr}
 @itemx --adjust-vma @var{incr}