diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2002-02-05 06:52:17 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2002-02-05 06:52:17 +0000 |
commit | e3dc8847695c8f91bff0067d38e08969d482611f (patch) | |
tree | bab5779bcc20647f70b9bce014bd0086a408551e /ld/ldlang.h | |
parent | b611beb0432479914aa8cc14201f0bc98f4c97ac (diff) | |
download | gdb-e3dc8847695c8f91bff0067d38e08969d482611f.zip gdb-e3dc8847695c8f91bff0067d38e08969d482611f.tar.gz gdb-e3dc8847695c8f91bff0067d38e08969d482611f.tar.bz2 |
* ldlang.c (lang_reset_memory_regions): Rename from
reset_memory_regions. Change all callers. Make public.
* ldlang.h (lang_reset_memory_regions): Prototype.
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
lang_reset_memory_regions before lang_size_sections.
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r-- | ld/ldlang.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h index 983d34c..7641992 100644 --- a/ld/ldlang.h +++ b/ld/ldlang.h @@ -1,13 +1,13 @@ /* ldlang.h - linker command language support Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, - 2001 + 2001, 2002 Free Software Foundation, Inc. This file is part of GLD, the Gnu Linker. GLD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 1, or (at your option) + the Free Software Foundation; either version 2, or (at your option) any later version. GLD is distributed in the hope that it will be useful, @@ -402,6 +402,7 @@ extern void lang_for_each_input_file PARAMS ((void (*dothis) (lang_input_statement_type *))); extern void lang_for_each_file PARAMS ((void (*dothis) (lang_input_statement_type *))); +extern void lang_reset_memory_regions PARAMS ((void)); extern bfd_vma lang_do_assignments PARAMS ((lang_statement_union_type * s, lang_output_section_statement_type *output_section_statement, |