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
Jeff Law
ea315e99d6
* gas/hppa/reloc/reduce3.s: New test.
...
* gas/hppa/reloc/reloc.exp: run it.
1994-10-17 08:45:18 +00:00
Jeff Law
71b07521c6
* gas/hppa/reloc/reloc.exp (r_no_reloc): Tweak output to match
...
current reality.
1994-10-17 04:27:13 +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
d5a0eeacfc
te-netbsd532.h -> te-nbsd532.h
1994-10-13 15:45:43 +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
Ken Raeburn
4325bcb990
* config/obj-coff.c (do_relocs_for): Test only TC_KEEP_FX_OFFSET, rather than
...
both it and TC_M88K.
(coff_adjust_section_syms): New function.
(coff_frob_section): For non-empty sections, create aux entry for the section
symbol, indicating the size.
(n_line_nos): New variable.
(add_lineno): Increment it.
(coff_add_linesym): Increment n_line_nos, don't call add_lineno.
(coff_frob_file): New function; map coff_adjust_section_syms over sections.
(obj_coff_line): Only reset line_base for .bf symbols.
* config/obj-coff.h (coff_adjust_section_syms, coff_frob_file): Declare.
(obj_frob_file): New macro.
* config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Renamed from
obj_frob_forward_symbol, and rewritten for new parameter list.
1994-10-07 22:02:54 +00:00
Ken Raeburn
d58bbca1b5
define TC_KEEP_FX_OFFSET
1994-10-07 22:00:18 +00:00
Ken Raeburn
352d36185d
Mon Oct 3 21:02:38 1994 Pat Rankin (rankin@eql.caltech.edu)
...
* config/obj-vms.h (S_IS_LOCAL): fix obsolete flagseen[] reference.
1994-10-07 22:00: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
f54b111403
got rid of make-gas.com
1994-10-01 04:24:38 +00:00
Ken Raeburn
dc87e0ce66
vms make-gas.com stuff
1994-10-01 04:20:16 +00:00
Ken Raeburn
df36a2aa30
Now gets rebuilt by "make diststuff".
1994-10-01 04:18:46 +00:00
Ken Raeburn
367d6244da
(diststuff): Build make-gas.com.
...
(clean, mostlyclean): Delete make-gas.com.
(realclean): Separate target, depend on clean and distclean.
1994-10-01 04:17:56 +00:00
Ken Raeburn
c0b8690d94
Fri Sep 30 19:05:20 1994 Pat Rankin (rankin@eql.caltech.edu)
...
* vmsconf.sh (make-gas.com): handle DCL verification to enable
sensible feedback to the user while gas is being built.
1994-10-01 04:15:45 +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
1df6e2665e
(all): Depend on .gdbinit.
...
(.gdbinit): Rebuild from gdbinit.in by running config.status.
1994-09-29 23:03:07 +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
Jeff Law
3a4b4b1ec0
* gas/hppa/reloc/reduce.s: Renamed from relocreduce.s
...
* gas/hppa/reloc/reduce2.s: Renamed from relocreduce2.s
* gas/hppa/reloc/r_no_reloc.s: Renamed from r_no_relocbug.s
* gas/hppa/reloc/reloc.exp: Changed accordingly.
1994-09-29 03:29:07 +00:00
Jeff Law
017c725468
* gas/hppa/reloc/reduce.s: Renamed from relocreduce.s
...
* gas/hppa/reloc/reduce2.s: Renamed from relocreduce2.s
* gas/hppa/reloc/r_no_reloc.s: Renamed from r_no_relocbug.s
1994-09-29 03:25:03 +00:00
Ken Raeburn
b8480abc20
misc changes to configure.in, gdbinit.in, as.h, symbols.c
1994-09-28 23:24:07 +00:00
Ken Raeburn
4bdaf48eab
Move "break abort" to end, in case gdb complains.
1994-09-28 23:16:59 +00:00
Ken Raeburn
9de0bdfba9
forgot to hit ^x^s after deleting "#if 1" lines
1994-09-28 20:31:32 +00:00
Ken Raeburn
e702f6e6e3
(resolve_symbol_value, case O_symbol): Don't do any processing if add_symbol is
...
undefined or in expr_section.
(resolve_symbol_value, case O_add): For symbol plus constant-valued symbol,
convert to O_symbol and re-reduce.
(S_GET_VALUE): If symbol needs resolving, resolve it.
(indent_level): No longer static.
(print_symbol_value_1): Don't print frag address if it matches
zero_address_frag. Don't print "resolving" if already resolved. Print segment
name. Don't call print_expr_1 on an undefined symbol.
(print_expr_1): Fix whitespace before printing X_add_number.
1994-09-28 20:27:31 +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
b21e6e53df
updated version to 2.4.90
1994-09-28 19:21:20 +00:00
Ken Raeburn
4acf8c78e6
(fix_new_exp): Handle O_add by creating an expression-valued symbol, and
...
calling fix_new_exp recursively.
(adjust_reloc_syms): If a fixup's symbol value is a sum of an undefined symbol
and a constant, fold the constant into the fixup, and refer to the undefined
symbol directly. Then process the fixup again from scratch.
(write_object_file): Before calling adjust_reloc_syms, make a pass through the
symbol list trying to resolve values.
(print_fixup): New routine, for debugging.
(write_relocs): Call bfd_install_relocation. Deleted various hacks for working
around problems with bfd_perform_relocation.
1994-09-28 19:20:11 +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
fac75dfebb
* gas/mips/beq.d, gas/mips/beq.s: Test that unconditional branch
...
overflows are correctly converted to jumps.
1994-09-28 17:42:30 +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
Ian Lance Taylor
fbc83deff8
* gas/mips: Add test cases for PIC code, both SVR4 style and
...
-membedded-pic style.
1994-09-26 21:43:26 +00:00
Stan Shebs
972b958d3a
No longer need to keep/lose any MPW stuff
1994-09-24 21:29:22 +00:00