Ian Lance Taylor
94b68f040c
* config/tc-mips.c (macro): Ensure that mips2 case of M_LI_DD in
...
.rdata does not become a variant frag.
1994-10-25 21:24:02 +00:00
Ian Lance Taylor
4bb0cc41f2
* config/tc-mips.c (mips_cpu): Initialize to -1.
...
(md_begin): Don't mips_cpu if it was already set.
(md_parse_option): For -mipsN, don't set mips_cpu if it was
already set. For -mcpu=, just set mips_cpu, not mips_isa.
1994-10-25 18:47:09 +00:00
Ian Lance Taylor
9da4c5d130
* config/tc-mips.c (md_pseudo_table): If OBJ_ELF, handle .section.
...
(s_elf_section): New static function.
* ecoff.c (ecoff_build_symbols): Don't abort if we don't recognize
the section when setting the storage class; default to sc_Data.
1994-10-22 00:51:53 +00:00
Jeff Law
e443a02120
* config/tc-hppa.c (md_apply_fix): Set new_val to 8 for all
...
fixups to branch instructions (not just pc-relative ones) which
will generate SOM relocations.
1994-10-20 06:45:55 +00:00
Ian Lance Taylor
030915dc25
* config/tc-a29k.c: Include ctype.h with angle brackets.
...
(define_some_regs): Add new special register names defined on the
29040.
(parse_operand): Add argument opt. If non-zero, don't warn about
a missing operand.
(machine_ip): If handling argument type 'I', pass opt as non-zero
to parse_operand. Handle new optional operand type 'I'.
(md_undefined_symbol): Handle special register names (srNN).
1994-10-19 17:46:43 +00:00
Ian Lance Taylor
683f474317
* write.c (renumber_sections): New static BFD_ASSEMBLER function.
...
(write_object_file): Call it after removing gas created sections.
1994-10-18 04:46:45 +00:00
Ian Lance Taylor
62d396892b
* symbols.c (symbol_create): Use udata.p, not just udata.
...
* config/obj-elf.c (obj_ecoff_set_ext): Likewise.
(elf_get_extr): Likewise.
1994-10-17 23:52:27 +00:00
Ian Lance Taylor
f10a96cbec
* read.c (read_a_source_file): The second argument to as_where is
...
unsigned int *, not int *.
1994-10-17 22:07:16 +00:00
Ken Raeburn
2d928291b6
From 2.5 release:
...
* Makefile.in (BISON): Use bison -y, not bison.
* Makefile.in (VERSION): Updated to 2.5.
(clean-here): Delete stamp-mk.com.
(distclean): Delete .gdbinit.
Also, note release in changelog.
1994-10-14 23:08:21 +00:00
Ken Raeburn
ba49e48d26
Renamed config/te-netbsd532.h to te-nbsd532.h.
1994-10-13 00:33:21 +00:00
J.T. Conklin
4992dbc960
* config/cplus-dem.c: Removed. It isn't used. Even if it was,
...
it's better to use the one in libiberty.
1994-10-12 23:35:54 +00:00
Ken Raeburn
2cc0357f7f
* symbols.c (resolve_symbol_value, case O_symbol): Undo last change; it breaks
...
the rs6000 support, and doesn't seem to be needed.
1994-10-12 22:53:26 +00:00
J.T. Conklin
eab55c1cef
* config/tc-i386.h,te-netbsd532.h (TARGET_FORMAT): Changed to
...
a.out-<arch>-netbsd to match corresponding changes in BFD.
1994-10-12 19:01:58 +00:00
Ian Lance Taylor
f0b556a2d3
* config/tc-ppc.c (ppc_fix_adjustable): Resolve symbol values
...
rather than explicitly adding the frag address.
* config/obj-coff.c (coff_frob_symbol): Add a zero entry to mark
the end of the line numbers; this replaces the zero entry which
used to be added by coff_add_linesym, removed Oct 7.
(coff_adjust_section_syms): Ignore sections with no seginfo.
Update the RS/6000 assembler for recent gas changes.
1994-10-12 18:11:52 +00:00
Ken Raeburn
3256c4b58e
* Makefile.in (bootstrap, bootstrap2, bootstrap3): Create a "stage" symlink to
...
the appropriate stage* directory, and use it instead in the -B options.
(comparison): Revert yesterday's change.
1994-10-12 05:46:05 +00:00
Ken Raeburn
15dc8a201f
* config/tc-sparc.c (tc_gen_reloc): For non-a.out relocations, if pc-relative,
...
use fx_offset only, ignore address of relocation.
1994-10-12 05:41:45 +00:00
Ian Lance Taylor
c8caa6c5f2
* config/tc-mips.c (mips_ip): Don't use S_IS_LOCAL when checking
...
for an embedded PIC switch expression, since the definition of
S_IS_LOCAL was changed.
1994-10-11 19:25:42 +00:00
Ken Raeburn
6d60424f34
* Makefile.in (comparison): When comparing as.new or gasp.new, try running the
...
binary through sed to avoid differences due to "stage1" or "stage2" having been
written into the binary.
1994-10-11 19:12:55 +00:00
Ken Raeburn
15a90f75cb
elf fixes
1994-10-08 07:55:52 +00:00
Ken Raeburn
ecee402702
coff aux/lineno, m88k, vms/flagseen changes
1994-10-07 22:06:01 +00:00
Ian Lance Taylor
b2d7b32596
* config/obj-coff.c (coff_frob_section): Remove assert about
...
section alignment.
* config/tc-sparc.c (md_section_align): Use section alignment, not
xvec align_power_min field.
1994-10-05 04:13:29 +00:00
Jeff Law
05d0c2cce6
Add ChangeLog entry that (apparently) I nuked.
1994-10-04 23:30:39 +00:00
Ken Raeburn
13a336c4a1
Rewrote make-gas.com handling so that only "make realclean" will remove it.
1994-10-01 04:30:10 +00:00
Ken Raeburn
dc87e0ce66
vms make-gas.com stuff
1994-10-01 04:20:16 +00:00
Ken Raeburn
76a390e234
i386 pic changes
...
as.h: __STDC__ -> varargs
write.* PLT changes
write.c,symbols.c debug changes
1994-10-01 03:52:42 +00:00
Ken Raeburn
10ff87e954
yesterday's gdbinit changes
1994-09-30 20:22:59 +00:00
Ken Raeburn
9dc6c00f8d
* write.c (print_fixup): Print source location on first line. Show fx_r_type
...
and fx_addsy fields.
1994-09-29 23:00:45 +00:00
Ken Raeburn
b8480abc20
misc changes to configure.in, gdbinit.in, as.h, symbols.c
1994-09-28 23:24:07 +00:00
Ian Lance Taylor
620a590eed
* Makefile.in (gasp.o): Depends upon config.h.
1994-09-28 19:28:24 +00:00
Ken Raeburn
9ff0f5efd6
write.c changes, Makefile.in version update
1994-09-28 19:22:46 +00:00
Ken Raeburn
648acaa0c0
* expr.c (make_expr_symbol): No longer static. Use symbol_create, not
...
symbol_new, for symbols holding expression values.
* expr.h (make_expr_symbol): Move declaration here.
1994-09-28 19:09:16 +00:00
Ian Lance Taylor
3f42c69e79
* config/tc-mips.c: Include subsegs.h.
...
(md_apply_fix): If an unconditional b or bal overflows, and we are
not assembling PIC code, replace it with a j or jal.
1994-09-28 17:41:07 +00:00
Ian Lance Taylor
7b777690a8
* config/tc-mips.c (md_apply_fix): Correct branch overflow test.
...
Use as_bad_where and as_warn_where rather than as_bad and as_warn.
1994-09-28 15:55:31 +00:00
Ken Raeburn
cacd15c40d
typo fixes from pat rankin
1994-09-23 22:56:48 +00:00
Ian Lance Taylor
144659ab48
* symbols.h (copy_symbol_attributes): Declare.
1994-09-23 18:54:40 +00:00
Kung Hsu
bdaa198ad5
Modified Files:
...
ChangeLog ecoff.c read.c
* ecoff.c (ecoff_generate_asm_lineno): check if
current_stabs_filename is NULL before strcmp.
* read.c (read_a_source_file): fxi a bug in generate_asm_lineno
checking.
1994-09-22 20:43:39 +00:00
Ken Raeburn
8068b96a5f
vms, ho-*.h, sym attr changes just checked in
1994-09-21 22:23:30 +00:00
Ian Lance Taylor
87bbf920bb
* config/tc-ppc.c (ppc_current_block): New static variable.
...
(ppc_stabx): Set sy_tc.within of a C_STSYM symbol to
ppc_current_block. Don't move around any stab symbol, just those
for common symbols.
(ppc_bs): Set ppc_current_block.
(ppc_es): Clear ppc_current_block.
(ppc_frob_symbol): Set the value of a C_STSYM symbol to the offset
from the csect of the enclosing block.
PR 5658.
1994-09-21 17:43:17 +00:00
Ian Lance Taylor
3af9783a6e
* config/tc-mips.c (insns_since_cache_access): Remove.
...
(append_insn): Remove setting of insns_since_cache_access, and
special 4600 handling; it turns out not to be required.
PR 5664.
1994-09-21 17:03:04 +00:00
Ian Lance Taylor
e8d4d4758b
* config/tc-mips.c (md_shortopts): Remove E.
...
(md_longopts): Add EB and EL.
(md_parse_option): Handle -EB and -EL as separate options, rather
than as a single -E option with an argument.
1994-09-20 20:16:24 +00:00
Jeff Law
8268e3ec91
* config/tc-hppa.c (hppa_fix_adjustable): Reject reductions
...
involving global symbols too.
1994-09-19 18:47:37 +00:00
Ken Raeburn
35e70f5826
vms work, pseudo_set fixes
1994-09-19 16:40:54 +00:00
Ken Raeburn
eb3028aa95
* as.h: Test NEED_DECLARATION_*, not NEED_*_DECLARATION.
...
* configure.in: Test for remove, not delete. Fix cross-assembler test.
* as.h: Test HAVE_REMOVE, not HAVE_DELETE; define unlink to remove, not delete.
1994-09-19 16:17:53 +00:00
Ian Lance Taylor
d1578de3b0
* config/obj-coff.c (c_dot_file_symbol): Use bfd_abs_section_ptr,
...
not &bfd_abs_section.
1994-09-19 16:06:43 +00:00
Ian Lance Taylor
e36830425e
* expr.c (clean_up_expression): Use addressT, not bfd_vma.
1994-09-15 22:50:44 +00:00
Jeff Law
fcacfef6ae
* expr.c (expr): Don't reduce the difference of two symbols in the
...
same frag if the symbols are not in normal sections.
1994-09-14 03:53:14 +00:00
Jeff Law
75c28b4966
* config/obj-som.h (S_SET_OTHER, S_SET_TYPE): Delete a.out crud.
...
(S_SET_DESC, S_GET_OTHER, S_GET_TYPE, S_GET_DESC): Likewise.
(obj_attach_unwind_info): Do not define. Not needed anymore.
* config/tc-hppa.c: Delete whitespace at EOL.
(struct hppa_fix_struct): Delete fx_unwind field and all references.
(fix_new_hppa): Last arg is now a pointer to an int. Do not
call obj_attach_unwind_info anymore. For SOM R_ENTRY and R_EXIT
fixups, store 32bits of unwind information in the fx_addnumber
field of the fixup.
(md_assemble, pa_entry, process_exit, pa_procend): For SOM R_ENTRY
and R_EXIT fixups, pass a NULL pointer to fix_new_hppa, and a
pointer to 32 bits of unwind info.
(tc_gen_reloc): For SOM R_ENTRY and R_EXIT fixups, set the symbol
pointer to the dummy symbol; set the addend field to fx_addnumber.
(pa_comm, pa_equ, pa_type_args, pa_import): Use bfd_XXX_section_ptr
rather than &bfd_XXX_section.
1994-09-14 02:20:24 +00:00
Ken Raeburn
d7152d074b
386_GOTPC fix from ericy
1994-09-14 01:43:21 +00:00
Ken Raeburn
26f4447a60
Some Vax and VMS bug fixes from Pat Rankin.
1994-09-14 01:30:56 +00:00
Ken Raeburn
b9419dd224
Do unlink/delete test properly.
...
Replace HO_VMS tests with VMS.
1994-09-14 00:54:00 +00:00