diff options
author | Ian Lance Taylor <ian@airs.com> | 1998-04-24 16:49:58 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1998-04-24 16:49:58 +0000 |
commit | 0917e2cbeacdcfa634a6efa450a86bee8b989adb (patch) | |
tree | 33bd6ead8e63f8f7c7dab32f53c13f24c65eac85 /gas | |
parent | 682639a81fcda3d532f855cc9dac8074d7915852 (diff) | |
download | gdb-0917e2cbeacdcfa634a6efa450a86bee8b989adb.zip gdb-0917e2cbeacdcfa634a6efa450a86bee8b989adb.tar.gz gdb-0917e2cbeacdcfa634a6efa450a86bee8b989adb.tar.bz2 |
Fri Apr 24 12:47:42 1998 Philippe De Muyter <phdm@macqel.be>
* read.c (s_set): Cast xmalloc return value to fragS *.
* config/tc-m68k.c (m68k_ip): Function made static to match
previous forward declaration.
(insert_reg, init_regtable, md_convert_frag_1): Likewise.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 9 | ||||
-rw-r--r-- | gas/config/tc-m68k.c | 8 | ||||
-rw-r--r-- | gas/read.c | 2 |
3 files changed, 13 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 4b5d32b..e3a88ac 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,9 +1,16 @@ +Fri Apr 24 12:47:42 1998 Philippe De Muyter <phdm@macqel.be> + + * read.c (s_set): Cast xmalloc return value to fragS *. + * config/tc-m68k.c (m68k_ip): Function made static to match + previous forward declaration. + (insert_reg, init_regtable, md_convert_frag_1): Likewise. + Fri Apr 24 09:26:46 1998 Nick Clifton <nickc@cygnus.com> * config/tc-v850.c: Add internationalisation macros to error strings. - * config/tc-m32r.c (can_make_parallel): Add initernationalisation + * config/tc-m32r.c (can_make_parallel): Add internationalisation macros to error strings. Thu Apr 23 19:23:23 1998 Ian Lance Taylor <ian@cygnus.com> diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c index 496d29e..b47df0a 100644 --- a/gas/config/tc-m68k.c +++ b/gas/config/tc-m68k.c @@ -924,7 +924,7 @@ static struct hash_control *op_hash; /* Assemble an m68k instruction. */ -void +static void m68k_ip (instring) char *instring; { @@ -3125,7 +3125,7 @@ crack_operand (str, opP) the frags/bytes it assembles to. */ -void +static void insert_reg (regname, regnum) const char *regname; int regnum; @@ -3321,7 +3321,7 @@ static const struct init_entry init_table[] = { 0, 0 } }; -void +static void init_regtable () { int i; @@ -4110,7 +4110,7 @@ void md_apply_fix (fixP, val) the bytes inside it modified to conform to the new size There is UGLY MAGIC here. .. */ -void +static void md_convert_frag_1 (fragP) register fragS *fragP; { @@ -2710,7 +2710,7 @@ s_set (equiv) if (listing & LISTING_SYMBOLS) { extern struct list_info_struct *listing_tail; - fragS *dummy_frag = xmalloc (sizeof(fragS)); + fragS *dummy_frag = (fragS *) xmalloc (sizeof(fragS)); memset (dummy_frag, 0, sizeof(fragS)); dummy_frag->fr_type = rs_fill; dummy_frag->line = listing_tail; |