This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PATCH: Add demand_copy_string to read.h
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Fri, 2 May 2003 16:22:36 -0700
- Subject: PATCH: Add demand_copy_string to read.h
I will check in this patch as an obvious one.
H.J.
--
2003-05-02 H.J. Lu <hjl@gnu.org>
* read.h (demand_copy_string): New.
* config/tc-alpha.c (demand_copy_string): Removed.
--- gas/config/tc-alpha.c.proto 2003-05-01 08:59:32.000000000 -0700
+++ gas/config/tc-alpha.c 2003-05-02 09:15:19.000000000 -0700
@@ -5066,8 +5066,6 @@ s_alpha_file (ignore)
int length;
static char case_hack[32];
- extern char *demand_copy_string PARAMS ((int *lenP));
-
sprintf (case_hack, "<CASE:%01d%01d>",
alpha_flag_hash_long_names, alpha_flag_show_after_trunc);
--- gas/read.h.proto 2003-01-17 09:43:57.000000000 -0800
+++ gas/read.h 2003-05-02 09:15:00.000000000 -0700
@@ -102,6 +102,7 @@ extern void pop_insert PARAMS ((const ps
extern unsigned int get_stab_string_offset
PARAMS ((const char *string, const char *stabstr_secname));
extern void aout_process_stab PARAMS ((int, const char *, int, int, int));
+extern char *demand_copy_string PARAMS ((int *lenP));
extern char *demand_copy_C_string PARAMS ((int *len_pointer));
extern char get_absolute_expression_and_terminator
PARAMS ((long *val_pointer));