aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-08-02 19:01:58 +0000
committerIan Lance Taylor <ian@airs.com>1996-08-02 19:01:58 +0000
commit5735ac9e57fe37d7984e6f71d551f9b0ebd87721 (patch)
tree4971d92383158bd9e10a126d93be8b9406c40fe6 /ld/ldlang.c
parent10a14e3639d6b655afd296809ec4102e1ba26b7f (diff)
downloadgdb-5735ac9e57fe37d7984e6f71d551f9b0ebd87721.zip
gdb-5735ac9e57fe37d7984e6f71d551f9b0ebd87721.tar.gz
gdb-5735ac9e57fe37d7984e6f71d551f9b0ebd87721.tar.bz2
* ldgram.y (LOADADDR): New terminal.
(exp): Handle LOADADDR. * ldlex.l: Recognize LOADADDR. * ldexp.c (exp_print_token): Add LOADADDR. (fold_name): Implement LOADADDR. * ldlang.c (exp_init_os): Treat LOADADDR like ADDR. * ld.texinfo (Arithmetic Functions): Document LOADADDR.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index b7a0493..60f191f 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -618,6 +618,7 @@ exp_init_os (exp)
switch (exp->type.node_code)
{
case ADDR:
+ case LOADADDR:
case SIZEOF:
{
lang_output_section_statement_type *os;