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/ldlang.h | |
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/ldlang.h')
-rw-r--r-- | ld/ldlang.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h index d0195d0..391ae9b 100644 --- a/ld/ldlang.h +++ b/ld/ldlang.h @@ -23,6 +23,8 @@ #ifndef LDLANG_H #define LDLANG_H +#define DEFAULT_MEMORY_REGION "*default*" + typedef enum { lang_input_file_is_l_enum, lang_input_file_is_symbols_only_enum, @@ -388,7 +390,7 @@ extern int lang_statement_iteration; extern void lang_init (void); extern struct memory_region_struct *lang_memory_region_lookup - (const char *const); + (const char *const, bfd_boolean); extern struct memory_region_struct *lang_memory_region_default (asection *); extern void lang_map |