diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-06-12 21:24:56 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-06-12 21:24:56 +0000 |
commit | aa8804e46ee31cc1d2e00f57467c8e5a4a84a273 (patch) | |
tree | 90968c910b1a22483da719d90e576f8f9f8efcdf /ld/ldlang.h | |
parent | 57e21befb98e8ad0b2c6dda814869145a8bcd60b (diff) | |
download | gdb-aa8804e46ee31cc1d2e00f57467c8e5a4a84a273.zip gdb-aa8804e46ee31cc1d2e00f57467c8e5a4a84a273.tar.gz gdb-aa8804e46ee31cc1d2e00f57467c8e5a4a84a273.tar.bz2 |
This fixes ! to work as documented in a memory region attribute list.
From Thomas Zenker <thz@lennartz-electronic.de>:
* ldgram.y (attributes_opt): Use attributes_list instead of NAME.
(attributes_list, attributes_string): New nonterminals.
* ldlang.c (lang_set_flags): Add invert parameter. Don't handle
'!'.
* ldlang.c (lang_set_flags): Update declaration.
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r-- | ld/ldlang.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h index 7bd7972..8c63938 100644 --- a/ld/ldlang.h +++ b/ld/ldlang.h @@ -1,5 +1,6 @@ /* ldlang.h - linker command language support - Copyright 1991, 92, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc. + Copyright 1991, 92, 93, 94, 95, 96, 97, 98, 1999 + Free Software Foundation, Inc. This file is part of GLD, the Gnu Linker. @@ -383,7 +384,8 @@ extern struct memory_region_struct *lang_memory_region_lookup extern struct memory_region_struct *lang_memory_region_default PARAMS ((asection *)); extern void lang_map PARAMS ((void)); -extern void lang_set_flags PARAMS ((lang_memory_region_type *, const char *)); +extern void lang_set_flags PARAMS ((lang_memory_region_type *, const char *, + int)); extern void lang_add_output PARAMS ((const char *, int from_script)); extern void lang_enter_output_section_statement PARAMS ((const char *output_section_statement_name, |