diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-09-04 19:11:21 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-09-04 19:11:21 +0000 |
commit | c3c8d76890b592bf5acc1a9b7faeabd9b829dd71 (patch) | |
tree | 6358a23d0df9de73b6d5d6d3a75545ff35f05b47 /gnu/usr.bin/binutils/gas/frags.c | |
parent | 4ba440a6e788da3a64fa29b782c37150a3f5cc18 (diff) |
Merge the Cygnus 960904 sources
Diffstat (limited to 'gnu/usr.bin/binutils/gas/frags.c')
-rw-r--r-- | gnu/usr.bin/binutils/gas/frags.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gnu/usr.bin/binutils/gas/frags.c b/gnu/usr.bin/binutils/gas/frags.c index ba399d9e3f3..320106d4914 100644 --- a/gnu/usr.bin/binutils/gas/frags.c +++ b/gnu/usr.bin/binutils/gas/frags.c @@ -1,6 +1,6 @@ /* frags.c - manage frags - - - Copyright (C) 1987, 1990, 1991, 1992 Free Software Foundation, Inc. + Copyright (C) 1987, 90, 91, 92, 93, 94, 95, 1996 + Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -112,7 +112,6 @@ frag_new (old_frags_var_max_size) { fragS *former_last_fragP; frchainS *frchP; - long tmp; assert (frchain_now->frch_last == frag_now); @@ -131,6 +130,8 @@ frag_new (old_frags_var_max_size) assert (former_last_fragP == frag_now); frag_now = frag_alloc (&frchP->frch_obstack); + as_where (&frag_now->fr_file, &frag_now->fr_line); + /* Generally, frag_now->points to an address rounded up to next alignment. However, characters will add to obstack frags IMMEDIATELY after the struct frag, even if they are not starting @@ -219,6 +220,7 @@ frag_var (type, max_chars, var, subtype, symbol, offset, opcode) /* default these to zero. */ frag_now->fr_pcrel_adjust = 0; frag_now->fr_bsr = 0; + as_where (&frag_now->fr_file, &frag_now->fr_line); frag_new (max_chars); return (retval); } @@ -254,6 +256,7 @@ frag_variant (type, max_chars, var, subtype, symbol, offset, opcode) /* default these to zero. */ frag_now->fr_pcrel_adjust = 0; frag_now->fr_bsr = 0; + as_where (&frag_now->fr_file, &frag_now->fr_line); frag_new (max_chars); return (retval); } /* frag_variant() */ |