aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-01-06 19:38:36 +0000
committerIan Lance Taylor <ian@airs.com>1994-01-06 19:38:36 +0000
commitc477527cbba110e90f3ef2ff059d26b97ec3ed2f (patch)
tree4e2781924b058ef41d82e2fba2e3c642dc229864 /ld/ld.texinfo
parent45dc9be38877cbb8218182b5c5ebd6e82e5ccd47 (diff)
downloadgdb-c477527cbba110e90f3ef2ff059d26b97ec3ed2f.zip
gdb-c477527cbba110e90f3ef2ff059d26b97ec3ed2f.tar.gz
gdb-c477527cbba110e90f3ef2ff059d26b97ec3ed2f.tar.bz2
* ld.h (QUAD_SIZE): Define.
* ldgram.y (QUAD): New token. (length): Handle it. * ldlex.l: Return QUAD. * lexsup.c (keywords): Add QUAD. * ldwrite.c (build_link_order): Handle QUAD. * ldlang.c (print_data_statement): Handle QUAD. (lang_size_sections): Likewise. (lang_do_assignments): Likewise. * ldexp.c (exp_print_token): Add QUAD to table. * ld.texinfo: Describe QUAD.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo15
1 files changed, 8 insertions, 7 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 2737b93..e6bc3df 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -1607,10 +1607,13 @@ same value as @code{abs2}.
@kindex SHORT(@var{expression})
@itemx LONG(@var{expression})
@kindex LONG(@var{expression})
+@itemx QUAD(@var{expression})
+@kindex QUAD(@var{expression})
@cindex direct output
-By including one of these three statements in a section definition, you
-can explicitly place one, two, or four bytes (respectively) at the
-current address of that section.
+By including one of these four statements in a section definition, you
+can explicitly place one, two, four, or eight bytes (respectively) at
+the current address of that section. @code{QUAD} is only supported when
+using a 64 bit host or target.
@ifclear SingleFormat
Multiple-byte quantities are represented in whatever byte order is
@@ -1822,10 +1825,8 @@ Options}.
@cindex naming the output file
Use this command to name the link output file @var{filename}. The
effect of @code{OUTPUT(@var{filename})} is identical to the effect of
-@w{@samp{-o @var{filename}}}, and whichever is encountered last
-(@samp{-T} or @samp{-o} will control the name actually used to name the
-output file. In particular, you can use this command to supply a
-default output-file name other than @code{a.out}.
+@w{@samp{-o @var{filename}}}, which overrides it. You can use this
+command to supply a default output-file name other than @code{a.out}.
@ifclear SingleFormat
@item OUTPUT_ARCH ( @var{bfdname} )