diff options
author | Nick Clifton <nickc@redhat.com> | 2003-10-21 15:33:47 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-10-21 15:33:47 +0000 |
commit | a747ee4d519b86fe36dad8dd629e7e9945fd108a (patch) | |
tree | 97b5b317ef6051fb192f007feb36f0abebf2f138 /ld/ldgram.y | |
parent | 5a21e886d091185d04d54ffcead68efe5d57b076 (diff) | |
download | gdb-a747ee4d519b86fe36dad8dd629e7e9945fd108a.zip gdb-a747ee4d519b86fe36dad8dd629e7e9945fd108a.tar.gz gdb-a747ee4d519b86fe36dad8dd629e7e9945fd108a.tar.bz2 |
Add warning messages for the use of an undeclared memory region and the
redefintion of an already declared region.
Diffstat (limited to 'ld/ldgram.y')
-rw-r--r-- | ld/ldgram.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y index 9038ebc..c00b7af 100644 --- a/ld/ldgram.y +++ b/ld/ldgram.y @@ -627,7 +627,7 @@ memory_spec_list: memory_spec: NAME - { region = lang_memory_region_lookup($1); } + { region = lang_memory_region_lookup ($1, TRUE); } attributes_opt ':' origin_spec opt_comma length_spec {} @@ -924,7 +924,7 @@ opt_nocrossrefs: memspec_opt: '>' NAME { $$ = $2; } - | { $$ = "*default*"; } + | { $$ = DEFAULT_MEMORY_REGION; } ; phdr_opt: |