public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
* patches to coff-arm.c
@ 1997-11-25  2:55 Fila Kolodny
  0 siblings, 0 replies; only message in thread
From: Fila Kolodny @ 1997-11-25  2:55 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: gas2

-----BEGIN PGP SIGNED MESSAGE-----

Could you please include this patch in the snapshots?

Tue Nov 25 05:26:17 1997  Fila Kolodny <fila@ibi.com>

	* coff-arm.c: Make global items and routines static, with file scope 
	to allow inclusion of coff-arm.o, pe-arm.o, and pei-arm.o in the same
	executable.

diff -rup gas/bfd/coff-arm.c /home/fila/gas-971124/bfd/coff-arm.c
- --- gas/bfd/coff-arm.c	Mon Nov 24 10:31:15 1997
+++ /home/fila/gas-971124/bfd/coff-arm.c	Tue Nov 25 05:15:28 1997
@@ -726,10 +726,10 @@ arm_reloc_type_lookup(abfd,code)
 
 /* The set of global variables that mark the total size of each kind
    of glue required. */
- -long int global_thumb_glue_size = 0;
- -long int global_arm_glue_size = 0;
+static long int global_thumb_glue_size = 0;
+static long int global_arm_glue_size = 0;
 
- -bfd* bfd_of_glue_owner = 0;
+static bfd* bfd_of_glue_owner = 0;
 
 /* some typedefs for holding instructions */
 typedef unsigned long int insn32;
@@ -1459,7 +1459,7 @@ coff_arm_relocate_section (output_bfd, i
   return true;
 }
 
- -boolean
+static boolean
 arm_allocate_interworking_sections (info) 
      struct bfd_link_info *info;
 {
@@ -1620,7 +1620,7 @@ record_thumb_to_arm_glue (info, h)
   return;
 }
 
- -boolean
+static boolean
 arm_process_before_allocation (abfd, info)
      bfd *                   abfd;
      struct bfd_link_info *  info;
@@ -2050,7 +2050,7 @@ arm_get_last()
 
 /* Do the final link step.  */
 
- -boolean
+static boolean
 coff_arm_bfd_final_link (abfd, info)
      bfd *abfd;
      struct bfd_link_info *info;


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQB1AwUBNHqrx3XcXr6LKdS9AQGWnQL+M3baKj0IwRQBBUvgH4U94ed178kgNCeA
17+vylJBA4jCPQd+rvc0GnyUjOUJMfGpz+hsbQUVojPi20yLwEAJ/2XeFMoFqvaS
JQE1TanIerVvp0ZQ26IVoaK0xryT+gEY
=0hf5
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-11-25  2:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-25  2:55 patches to coff-arm.c Fila Kolodny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).