coffcode.h: bfd_coff_std_swap_table is now const and static
authorKen Raeburn <raeburn@cygnus>
Fri, 4 Dec 1992 19:05:41 +0000 (19:05 +0000)
committerKen Raeburn <raeburn@cygnus>
Fri, 4 Dec 1992 19:05:41 +0000 (19:05 +0000)
bfd/coffcode.h

index 4374d2d08d91cb26fce0770ce3804182dc13595e..12698796ab477fc259b9a8275055cfdf9c22f024 100644 (file)
@@ -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,