diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-11-08 16:39:28 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-11-08 16:39:28 +0000 |
commit | 0fa6f8f66acb254f0131b484d25960f656bf121e (patch) | |
tree | 97e9a0beaa10900e3c1aab214c4f8255b576a3c8 /gas | |
parent | ec0cfbaa082233778468442dbca36698a5a36fef (diff) | |
download | gdb-0fa6f8f66acb254f0131b484d25960f656bf121e.zip gdb-0fa6f8f66acb254f0131b484d25960f656bf121e.tar.gz gdb-0fa6f8f66acb254f0131b484d25960f656bf121e.tar.bz2 |
* config/obj-coff.c (c_dot_file_symbol): Cast xmalloc return.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 9 | ||||
-rw-r--r-- | gas/config/obj-coff.c | 9 |
2 files changed, 17 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 45ff668..343c6b9 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,12 @@ +Wed Nov 8 11:38:48 1995 Ian Lance Taylor <ian@cygnus.com> + + * config/obj-coff.c (c_dot_file_symbol): Cast xmalloc return. + +Tue Nov 7 09:14:35 1995 Kim Knuttila <krk@cygnus.com> + + * config/tc-ppc.c (md_apply_fix3): Added BFD_RELOC_RVA. Currently + used only by "dlltool.c". + Mon Nov 6 18:51:26 1995 Ian Lance Taylor <ian@cygnus.com> * config/tc-alpha.c: Undefine inline if not __GNUC__. diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c index 64d7e3c..9e37e7e 100644 --- a/gas/config/obj-coff.c +++ b/gas/config/obj-coff.c @@ -3005,7 +3005,13 @@ write_object_file () #ifndef SUB_SEGMENT_ALIGN #define SUB_SEGMENT_ALIGN(SEG) 1 #endif +#ifdef md_do_align + md_do_align (SUB_SEGMENT_ALIGN (now_seg), NOP_OPCODE, alignment_done); +#endif frag_align (SUB_SEGMENT_ALIGN (now_seg), NOP_OPCODE); +#ifdef md_do_align + alignment_done: +#endif frag_wane (frag_now); frag_now->fr_fix = 0; know (frag_now->fr_next == NULL); @@ -3407,7 +3413,8 @@ c_dot_file_symbol (filename) we stick it into the string table instead. We keep a linked list of the filenames we find so we can emit them later.*/ - struct filename_list *f = xmalloc (sizeof (struct filename_list)); + struct filename_list *f = ((struct filename_list *) + xmalloc (sizeof (struct filename_list))); f->filename = filename; f->next = 0; |