From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fila Kolodny To: Ian Lance Taylor Cc: gas2@cygnus.com Subject: patches to coff-arm.c Date: Tue, 25 Nov 1997 02:55:00 -0000 Message-id: X-SW-Source: 1997/msg00034.html -----BEGIN PGP SIGNED MESSAGE----- Could you please include this patch in the snapshots? Tue Nov 25 05:26:17 1997 Fila Kolodny * 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-----