aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1992-12-04 19:05:41 +0000
committerKen Raeburn <raeburn@cygnus>1992-12-04 19:05:41 +0000
commit785150c948a6bef902c473ffb817b2e962dd0219 (patch)
tree4f8b0e536bdd7adbe757ac94384bcc52348dd4d7 /bfd/coffcode.h
parent355e5a8e0a6a7640059680ac68de09ba165393e1 (diff)
downloadgdb-785150c948a6bef902c473ffb817b2e962dd0219.zip
gdb-785150c948a6bef902c473ffb817b2e962dd0219.tar.gz
gdb-785150c948a6bef902c473ffb817b2e962dd0219.tar.bz2
coffcode.h: bfd_coff_std_swap_table is now const and static
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 4374d2d..1269879 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -520,8 +520,6 @@ Special entry points for gas to swap coff parts
.
.} bfd_coff_backend_data;
.
-.extern bfd_coff_backend_data bfd_coff_std_swap_table;
-.
.#define coff_backend_info(abfd) ((bfd_coff_backend_data *) (abfd)->xvec->backend_data)
.
.#define bfd_coff_swap_aux_in(a,e,t,c,i) \
@@ -4326,7 +4324,7 @@ DEFUN(bfd_coff_get_relocated_section_contents,(in_abfd, seclet, data),
}
#if !defined (NO_COFF_SYMBOLS) && !defined (NO_COFF_LINENOS)
-bfd_coff_backend_data bfd_coff_std_swap_table = {
+static CONST bfd_coff_backend_data bfd_coff_std_swap_table = {
coff_swap_aux_in, coff_swap_sym_in, coff_swap_lineno_in,
coff_swap_aux_out, coff_swap_sym_out,
coff_swap_lineno_out, coff_swap_reloc_out,