From a747ee4d519b86fe36dad8dd629e7e9945fd108a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 21 Oct 2003 15:33:47 +0000 Subject: Add warning messages for the use of an undeclared memory region and the redefintion of an already declared region. --- ld/ldgram.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ld/ldgram.y') 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: -- cgit v1.1