aboutsummaryrefslogtreecommitdiff
path: root/ld/ldgram.y
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-04-28 23:54:33 +0000
committerBen Elliston <bje@au.ibm.com>2005-04-28 23:54:33 +0000
commit279e75dcef1313cc67233e11c43ec6538cb8706f (patch)
tree6640866e1add13c0e36d228a76264e3f2dc8b1cc /ld/ldgram.y
parentf07e55f031dad1c65dfe580853117375e50c3a56 (diff)
downloadgdb-279e75dcef1313cc67233e11c43ec6538cb8706f.zip
gdb-279e75dcef1313cc67233e11c43ec6538cb8706f.tar.gz
gdb-279e75dcef1313cc67233e11c43ec6538cb8706f.tar.bz2
* ldgram.y (lang_memory_region_type): Make static.
(ldgram_want_filename): Likewise. * ldemul.c (ld_emulation): Make static. * ldfile.h (ldfile_find_command_file): Remove extern. * ldfile.c (ldfile_find_command_file): Make static. * ldlang.h (unique_section_list): Remove extern declaration. * ldlang.c (unique_section_list): Make static. * mri.h (symbol_truncate): Remove extern declaration. * mri.c (symbol_truncate): Make static. (order, only_load, address, alias): Likewise. (alignment, subalignment): Likewise.
Diffstat (limited to 'ld/ldgram.y')
-rw-r--r--ld/ldgram.y5
1 files changed, 2 insertions, 3 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y
index 23151d8..fefd7bc 100644
--- a/ld/ldgram.y
+++ b/ld/ldgram.y
@@ -46,10 +46,9 @@
#endif
static enum section_type sectype;
+static lang_memory_region_type *region;
-lang_memory_region_type *region;
-
-bfd_boolean ldgram_want_filename = TRUE;
+static bfd_boolean ldgram_want_filename = TRUE;
FILE *saved_script_handle = NULL;
bfd_boolean force_make_executable = FALSE;