aboutsummaryrefslogtreecommitdiff
path: root/gcc/xcoffout.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-12-15 06:34:57 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1995-12-15 06:34:57 -0500
commitd12de8cea3a624847192db12ef6d7bcbb7bc6bfa (patch)
tree5d3fdabc3208d56a61afb96e5dfd2d925eac231c /gcc/xcoffout.c
parent944420629e3950229f4ddc380df3bdcfb4d03bfb (diff)
downloadgcc-d12de8cea3a624847192db12ef6d7bcbb7bc6bfa.zip
gcc-d12de8cea3a624847192db12ef6d7bcbb7bc6bfa.tar.gz
gcc-d12de8cea3a624847192db12ef6d7bcbb7bc6bfa.tar.bz2
(xcoff_begin_function_line): Make static.
(xcoff_inlining): Likewise. (xcoff_current_function_file): Likewise. (xcoff_output_standard_types): Remove TARGET_64BIT dependencies from int and unsigned int. From-SVN: r10730
Diffstat (limited to 'gcc/xcoffout.c')
-rw-r--r--gcc/xcoffout.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/xcoffout.c b/gcc/xcoffout.c
index 14ebce8..60f6b32 100644
--- a/gcc/xcoffout.c
+++ b/gcc/xcoffout.c
@@ -53,8 +53,8 @@ Boston, MA 02111-1307, USA. */
/* Line number of beginning of current function, minus one.
Negative means not in a function or not using xcoff. */
-int xcoff_begin_function_line = -1;
-int xcoff_inlining = 0;
+static int xcoff_begin_function_line = -1;
+static int xcoff_inlining = 0;
/* Name of the current include file. */
@@ -65,7 +65,7 @@ char *xcoff_current_include_file;
(by including that file of course), then the line number will be
absolute. */
-char *xcoff_current_function_file;
+static char *xcoff_current_function_file;
/* Names of bss and data sections. These should be unique names for each
compilation unit. */
@@ -145,14 +145,14 @@ xcoff_output_standard_types (syms)
{
/* Handle built-in C types here. */
- assign_type_number (syms, "int", (TARGET_64BIT ? -31 : -1));
+ assign_type_number (syms, "int", -1);
assign_type_number (syms, "char", -2);
assign_type_number (syms, "short int", -3);
assign_type_number (syms, "long int", (TARGET_64BIT ? -31 : -4));
assign_type_number (syms, "unsigned char", -5);
assign_type_number (syms, "signed char", -6);
assign_type_number (syms, "short unsigned int", -7);
- assign_type_number (syms, "unsigned int", (TARGET_64BIT ? -32 : -8));
+ assign_type_number (syms, "unsigned int", -8);
/* No such type "unsigned". */
assign_type_number (syms, "long unsigned int", (TARGET_64BIT ? -32 : -10));
assign_type_number (syms, "void", -11);