Michael Meissner
74e1b52ea3
Allow .stab section to contain non PC relative addresses if -mrelocatable.
1995-03-08 15:03:50 +00:00
Ken Raeburn
82a7c4572a
* config/tc-m68k.c (opcode_ptr): Return pointer to const.
...
(md_begin): Make hash table errors fatal. Process opcode aliases after main
opcode table.
(md_apply_fix_2, case 4): Recode setting of lower_limit to avoid gcc warning.
1995-03-08 08:10:49 +00:00
David Edelsohn
3f4487d078
Patches to ARC to make byte order runtime selectable.
1995-03-08 04:47:31 +00:00
Ian Lance Taylor
3e39a55624
* doc/as.texinfo: Add documentation for SPARC V9, from Doug Evans
...
<dje@cygnus.com>.
1995-03-07 21:08:53 +00:00
Jeff Law
5f24161709
* config/tc-hppa.c: Change all occurences of pa-89 with pa-11 to
...
be consistent with current naming conventions.
(md_begin): Set a default architecture and machine type.
(pa_ip): If the current instruction specifies a newer machine type
than the current machine type, then update the current machine
type.
(need_pa11_opcode): Likewise.
1995-03-06 17:02:38 +00:00
Jeff Law
2c23d22bee
* config/tc-hppa.c (pa_ip, case 'z'): Don't lose argument
...
relocation bits for absolute calls.
1995-03-06 02:42:14 +00:00
Ken Raeburn
cb7973c33e
* config/tc-h8300.* (md_operand): Change empty function to empty macro.
...
* config/tc-h8300.c (build_bytes): Make H8/300-H warning message clearer.
1995-03-03 22:55:46 +00:00
Ken Raeburn
46f1280981
m68k entry i forgot to check in
1995-03-03 22:49:11 +00:00
Ken Raeburn
0578ade3f2
* write.c (write_contents): If bfd_set_section_contents fails, print a message
...
and exit, instead of aborting.
1995-03-03 22:44:04 +00:00
Michael Meissner
3f81f3cfe4
If -mrelocatable, warn about relocs that are incompatible.
1995-03-03 21:34:36 +00:00
Ken Raeburn
33d8f4697c
read.c, tc-* md_operand changes
1995-02-28 23:38:47 +00:00
Ian Lance Taylor
0877841d73
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust PLT or
...
GOT relocs either.
1995-02-28 20:35:41 +00:00
Kung Hsu
d2c0206038
* configure.in: add a29k-*-vxworks configuration.
1995-02-27 21:05:00 +00:00
Ian Lance Taylor
7811254cb0
* config/tc-mips.c (load_register): Correctly handle 32 bit values
...
with the high bit set in 64 bit mode.
PR 6381.
1995-02-24 19:42:43 +00:00
Jeff Law
e386acc8d7
* config/tc-hppa.c (md_apply_fix): Don't subtract the value of the
...
add symbol if it's a common symbol (the value of a common symbol
is its size, not a value in the traditional sense).
1995-02-23 06:16:35 +00:00
Ian Lance Taylor
546f553610
* config/tc-mips.c (append_insn): If listing_prev_line is called,
...
call frag_grow to make sure there is still room for a variant.
1995-02-23 02:20:57 +00:00
Ian Lance Taylor
61420a2049
* config/tc-mips.c (md_pseudo_table): Add 2byte, 4byte and 8byte
...
if OBJ_ELF. From gary@Intrepid.COM (Gary Funck).
1995-02-17 20:13:41 +00:00
Ian Lance Taylor
7a3761e194
* config/obj-elf.c (elf_frob_symbol): Warn if a symbol is both
...
weak and common.
* config/obj-aout.c (obj_aout_frob_symbol): Likewise.
1995-02-17 19:54:47 +00:00
Michael Meissner
5836732bf5
Add PC relative support to PowerPC ELF assembler.
1995-02-17 17:51:00 +00:00
David Edelsohn
b8ed3de398
* expr.c (operand): Move md_operand handling to default case
...
(so it works).
1995-02-16 22:35:50 +00:00
Ian Lance Taylor
efc538bab9
Wed Feb 15 16:08:47 1995 Jason Molenda <crash@cygnus.com>
...
* config/tc-h8500.c (tc_coff_symbol_emit_hook): Add ignored
parameter, to match prototype.
1995-02-15 21:11:10 +00:00
Ian Lance Taylor
49ad0c4cf3
* config/tc-mips.c (md_apply_fix): Accept BFD_RELOC_16, for
...
DWARF. From gary@Intrepid.COM (Gary Funck).
1995-02-15 21:08:05 +00:00
Ian Lance Taylor
adcf2b9d57
* config/tc-mips.c (macro): Handle M_U{L,S}D[_A] (unaligned double
...
loads and stores).
1995-02-15 20:43:57 +00:00
Ian Lance Taylor
34419a7fe3
Gas reloc handling reeks.
...
PR 6343.
1995-02-15 20:34:32 +00:00
Michael Meissner
4a6b2f8bbd
All ELF relocs.
1995-02-15 20:15:07 +00:00
Ian Lance Taylor
b2b8c24e2f
* config/tc-mips.c (macro): Don't use the target register as a
...
base register when building the address for M_L{W,D}{L,R}_AB.
1995-02-15 16:48:18 +00:00
Ian Lance Taylor
08b7351f06
* config/tc-sparc.h (tc_fix_adjustable): Define if OBJ_ELF.
...
* config/tc-sparc.c (md_apply_fix): If OBJ_ELF, subtract out the
value of a defined symbol; the value was added in by
fixup_segment. This was previously corrected, if the reloc was
changed to be against a section symbol, in tc_gen_reloc.
1995-02-13 21:18:22 +00:00
Ian Lance Taylor
e13a80f72f
* config/tc-i386.c (tc_i386_fix_adjustable): Use S_IS_EXTERN
...
rather than !S_IS_LOCAL.
You might think they would be equivalent, but....
1995-02-10 19:05:43 +00:00
David Edelsohn
2ec8f45e6a
Lotsa arc stuff.
1995-02-10 02:00:13 +00:00
Ian Lance Taylor
79c4bb347e
* config/tc-i386.c (md_assemble): Adjust conditions for changing
...
BFD_RELOC_32 to BFD_RELOC_386_GOTPC to handle a switch in frags.
Patch originally from Rob Ryan <robr@cmu.edu>.
* config/tc-i386.c: Include subsegs.h.
(tc_i386_fix_adjustable): Declare return value.
(i386_operand): Don't use an assignment directly as a condition.
1995-02-09 23:19:27 +00:00
Jeff Law
e6d311352a
* config/tc-hppa.c (md_apply_fix): In some cases subtract the
...
value of the add symbol from valp. Offsets braindamage in the
"machine independent" fixup_segment.
1995-02-09 17:44:30 +00:00
Ken Raeburn
e10c7dfcf4
* messages.c (as_abort): New function.
...
* as.h (as_abort): Declare it.
(abort): New macro.
1995-02-08 23:57:26 +00:00
Ken Raeburn
15f146bec4
Thu Jan 19 18:10:05 1995 Pat Rankin (rankin@eql.caltech.edu)
...
* config/vms-conf.h (HAVE_UNISTD_H): define it unconditionally.
* config-gas.com: test for availability of <unistd.h>; create a rudimentary
one if necessary.
1995-02-08 23:52:51 +00:00
Michael Meissner
06c08e9a1f
Add support for powerpc-*-eabi in configure.in, rebuild configure.
1995-02-07 18:42:04 +00:00
Jeff Law
b4682e519f
Apparently I forgot to commit this change:
...
* config/tc-hppa.c (md_apply_fix): Go ahead and call
hppa_field_adjust to get a new value for R_DATA_ONE_SYMBOL
relocations in SOM.
(hppa_fix_adjustable): Refine somewhat.
1995-02-07 18:20:57 +00:00
Ken Raeburn
c54c7aaca3
Bryan Ford's changes for 16-bit i386 support, and i386-msdos support.
1995-02-06 08:53:05 +00:00
Ken Raeburn
b003a2d9ee
vms fixes from pat rankin
1995-02-02 21:33:40 +00:00
Ken Raeburn
e2bf68803d
* config/tc-m68k.c (cpu32_control_regs): New macro.
...
(m68k_init_after_args): Use it, for cpu32 processors.
1995-02-02 20:23:15 +00:00
Ken Raeburn
a18a0f225d
* config/tc-h8300.c (get_specific): Add parens around | inside &.
...
(skip_colonthing): Set L_8 if ":8" is specified.
1995-01-27 00:05:09 +00:00
Ian Lance Taylor
76e30835ad
* config/tc-ppc.c (md_begin): Permit mfdec to be duplicated on the
...
601. Check that the error return from hash_insert is "exists".
1995-01-26 23:41:12 +00:00
Michael Meissner
da8fa3ba29
Allow configuration of PowerPC embedded ABI.
1995-01-26 16:39:26 +00:00
Jim Wilson
8d9a1cce3f
* tc-sh.c (little): Add argument IGNORE to avoid compiler warnings.
...
(md_pseudo_table): Add space for consistent formatting.
(COND8_RANGE, COND12_RANGE): Delete unused macros.
(COND8_F, COND8_M, COND12_F, COND12_M, UNCOND12_F, UNCOND12_M):
Correct minimum and maximum branch offsets. Add comments explaining
why these numbers are correct.
1995-01-26 00:26:11 +00:00
Ian Lance Taylor
1eeb357e6a
Wed Jan 25 15:32:09 1995 David Edelsohn <edelsohn@mhpcc.edu>
...
* config/tc-ppc.c (md_parse_option): Accept mpwr2 as a synonym for
mpwrx; mppc32, m603, and m604 as synonyms for mppc; and mppc64 and
m620 for PowerPC64 mode.
(ppc_symbol_new_hook): Add T0 as synonym for TC0 suffix.
1995-01-25 20:43:50 +00:00
Ken Raeburn
f2224fe249
"gcc -fno-builtin -Wall -Wwrite-strings -Wshadow" can be your friend.
...
Well, sometimes.
Bunch of patches from Pat Rankin for cleaning up some warnings in vax-vms gas.
1995-01-24 21:56:29 +00:00
Jeff Law
359bb9a364
* config/tc-hppa.c (pa_ip, case 'D'): Fix typo which caused
...
miscompilation of "diag" instructions.
* gas/hppa/basic/basic.exp (do_system): Update.
1995-01-24 04:50:43 +00:00
Ken Raeburn
7343338436
configure regen, tc-mips.c libiberty.h include
1995-01-23 21:57:32 +00:00
Ian Lance Taylor
9cc7c60b40
* config/tc-sh.h (tc_init_after_args): Don't define.
...
* config/tc-sh.c (md_begin): Remove unused variable table.
(md_assemble): Remove unused variable p.
(md_convert_frag): Cast fr_address to unsigned long for printf.
(md_apply_fix): Use as_warn_where rather than as_warn.
(sh_init_after_args): Remove empty function.
1995-01-23 19:22:52 +00:00
Ian Lance Taylor
eb10ff23af
* configure.in (i386-*-gnu*elf*): New target.
1995-01-23 19:09:02 +00:00
Ian Lance Taylor
be7571b69a
* hash.c (hash_ask): If we find the slot after wrapping around,
...
break out of the loop. Fixes bug in Jan 18 change.
1995-01-22 00:04:01 +00:00
Ken Raeburn
b2683e0914
back out new hash routine
1995-01-20 22:14:27 +00:00