mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-15 05:01:13 +08:00
* config/obj-coff.c (c_dot_file_symbol): Cast xmalloc return.
This commit is contained in:
@ -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>
|
Mon Nov 6 18:51:26 1995 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
* config/tc-alpha.c: Undefine inline if not __GNUC__.
|
* config/tc-alpha.c: Undefine inline if not __GNUC__.
|
||||||
|
@ -3004,8 +3004,14 @@ write_object_file ()
|
|||||||
subseg_set (frchain_ptr->frch_seg, frchain_ptr->frch_subseg);
|
subseg_set (frchain_ptr->frch_seg, frchain_ptr->frch_subseg);
|
||||||
#ifndef SUB_SEGMENT_ALIGN
|
#ifndef SUB_SEGMENT_ALIGN
|
||||||
#define SUB_SEGMENT_ALIGN(SEG) 1
|
#define SUB_SEGMENT_ALIGN(SEG) 1
|
||||||
|
#endif
|
||||||
|
#ifdef md_do_align
|
||||||
|
md_do_align (SUB_SEGMENT_ALIGN (now_seg), NOP_OPCODE, alignment_done);
|
||||||
#endif
|
#endif
|
||||||
frag_align (SUB_SEGMENT_ALIGN (now_seg), NOP_OPCODE);
|
frag_align (SUB_SEGMENT_ALIGN (now_seg), NOP_OPCODE);
|
||||||
|
#ifdef md_do_align
|
||||||
|
alignment_done:
|
||||||
|
#endif
|
||||||
frag_wane (frag_now);
|
frag_wane (frag_now);
|
||||||
frag_now->fr_fix = 0;
|
frag_now->fr_fix = 0;
|
||||||
know (frag_now->fr_next == NULL);
|
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
|
we stick it into the string table instead. We keep
|
||||||
a linked list of the filenames we find so we can emit
|
a linked list of the filenames we find so we can emit
|
||||||
them later.*/
|
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->filename = filename;
|
||||||
f->next = 0;
|
f->next = 0;
|
||||||
|
Reference in New Issue
Block a user