Commit Graph

1941 Commits

Author SHA1 Message Date
David Edelsohn
2e715f06c3 * config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_SPARC_WDISP16
and BFD_RELOC_SPARC_WDISP19.
1995-05-24 00:04:19 +00:00
Ken Raeburn
6e43bf824c fix emulation code so configurations not supporting it still build 1995-05-23 23:20:52 +00:00
Ken Raeburn
70d6c39671 fix up stab handling 1995-05-23 01:45:12 +00:00
Ken Raeburn
4761bb029a more emulation fixes 1995-05-23 00:09:34 +00:00
David Edelsohn
1fc2205e09 * config/tc-arc.c (md_pcrel_from): Return 0 for undefined symbols. 1995-05-22 23:58:52 +00:00
Ken Raeburn
0509f0643c more vms updates from Pat Rankin 1995-05-20 20:11:38 +00:00
Ken Raeburn
a088fb62b3 From Pat Rankin:
For VMS gas port, make libiberty build on its own instead of driving it all out
of the gas directory.  Also improve some of the libiberty support for VMS.
1995-05-20 19:59:47 +00:00
Ken Raeburn
078d1a5afa From Richard Earnshaw (rearnsha@armltd.co.uk):
* gasp.c (istrue): Correctly test for string inequality.
1995-05-19 18:43:49 +00:00
Ken Raeburn
ff15324f63 Bunch of changes from Richard Earnshaw for generic bi-endian ARM aout targets.
Details in change logs.
1995-05-18 22:21:18 +00:00
David Edelsohn
f57b30fc38 Fix typo in keeping of ld.d. 1995-05-17 22:02:46 +00:00
Ken Raeburn
ff17873d14 * config/obj-ecoff.c (ecoff_pop_insert): New function.
(ecoff_format_ops): Use it.
(obj_ecoff_frob_symbol): Now static.
1995-05-16 23:36:53 +00:00
Michael Meissner
9914665911 Little endian fix 1995-05-16 23:30:21 +00:00
Ken Raeburn
b444036dd9 * config/tc-mips.c (mips_init_after_args): New function. Set byte_order here.
(md_parse_option): Not here.
(byte_order): Don't bother initializing.
* config/tc-mips.h (mips_init_after_args): Declare.
(tc_init_after_args): New macro.
1995-05-16 23:27:02 +00:00
Ken Raeburn
739708fa4a Make Irix 5 configuration work again:
* config/obj-multi.h (obj_frob_symbol, obj_frob_file, S_GET_SIZE, S_SET_SIZE,
S_GET_ALIGN, S_SET_ALIGN, obj_copy_symbol_attributes, OBJ_PROCESS_STAB): New
macros.
* config/tc-mips.c: Protect against redefining them also when including
obj-elf.h.  Test only OBJ_ELF for including elf/mips.h.
1995-05-16 22:28:26 +00:00
Ken Raeburn
b0d419969e read.c (s_lcomm): Do ELF/ECOFF test at run time, not compile time. 1995-05-16 22:17:17 +00:00
David Edelsohn
58ca0030db * config/tc-arc.c (md_longopts): -EB/-EL renamed to
-mbig-endian/-mlittle-endian.
	(md_show_usage): Likewise.
1995-05-15 20:42:57 +00:00
Steve Chamberlain
b04b02a544 Fri May 12 14:17:47 1995 Steve Chamberlain <sac@slash.cygnus.com>
Initial support for PE object files.
	* configure.in, configure (i386-*-pe, i386-*-*nt): Add.
	* config/obj-coff.c (fixup_segment): Cope with PE wierdness.
	* config/obj-coff.h (TE_PE): New target format.
1995-05-12 21:26:01 +00:00
Ken Raeburn
511cd41cc1 update for new files 1995-05-12 00:04:35 +00:00
Ken Raeburn
bb2c928158 fix non-mips elf config 1995-05-11 19:03:53 +00:00
Ken Raeburn
5ca286c3f1 forgot to regenerate after last change 1995-05-10 23:30:49 +00:00
Ken Raeburn
e7757ad0bc First cut at handling multiple emulation modes for some MIPS targets.
Mostly works, not entirely.
Details in ChangeLog.
1995-05-10 23:08:40 +00:00
Michael Meissner
8370e93e49 Add little endian PowerPC support. 1995-05-09 21:17:19 +00:00
Jeff Law
56187f656d * config/tc-hppa.c (md_apply_fix): Cast *valp to an integer when
comparing against signed values.
	(hppa_force_relocation): Make "distance" an integer.
1995-05-09 17:00:48 +00:00
Ken Raeburn
1e63de912e * obj.h (struct format_ops) [BFD_ASSEMBLER]: New type.
(this_format) [BFD_ASSEMBLER]: Declare new variable, if not already defined as
a macro.
1995-05-09 04:53:50 +00:00
Ken Raeburn
fd1fdba258 * subsegs.h (seg_info): Provide dummy version for non-BFD_ASSEMBLER,
non-MANY_SEGMENTS configuration.  It should never get invoked, but this is
easier than conditionalizing some of the uses.
(struct seg_info_trash): Dummy type used by above to make code compile.
1995-05-09 01:50:04 +00:00
Ken Raeburn
e51a3912ef SEPARATE_STAB_SECTIONS should be defined to 1, not empty. 1995-05-05 21:44:11 +00:00
Ken Raeburn
52f969e29e * read.h (get_stab_string_offset): Declare unconditionally. 1995-05-04 23:44:28 +00:00
Ken Raeburn
5b9a7bef31 * config/obj-ecoff.h (OBJ_PROCESS_STAB): Add new first argument, ignored.
* config/obj-elf.h (OBJ_PROCESS_STAB) [ECOFF_DEBUGGING]: Ditto.

* config/obj-ecoff.h (ECOFF_DEBUGGING): Define to 1, not empty.
* config/obj-elf.h (ECOFF_DEBUGGING): Ditto.  Test value, not whether it's
defined.
1995-05-04 23:41:32 +00:00
Ken Raeburn
8c5e0f5e05 * stabs.c (get_stab_string_offset): Always define. If SEPARATE_STAB_SECTIONS
isn't set, abort.
(SEPARATE_STAB_SECTIONS): Default to zero.
(aout_process_stab): New function, split out from s_stab_generic.
(OBJ_PROCESS_STAB) [AOUT_STABS]: Define to call aout_process_stab, if not
already defined.
(s_stab_generic): Test SEPARATE_STAB_SECTIONS at run time.  If it's not set,
and OBJ_PROCESS_STAB isn't defined, abort.  Always pass six arguments to
OBJ_PROCESS_STAB.
* config/obj-aout.h (AOUT_STABS): Define.
* config/obj-bout.h (AOUT_STABS): Define.
1995-05-04 23:40:26 +00:00
Ken Raeburn
9777b772c8 * as.h (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): If not already defined, define
them to zero.
* config/tc-*.h, config/te-*.h: If defining them, define them to be 1 instead
of empty.
* expr.c (integer_constant, operand): Test them at run time instead of compile
time.
* read.c (read_a_source_file): Ditto.
* symbols.c (colon): Ditto.
(dollar_*, define_dollar_label, fb_*): Define unconditionally.
* symbols.h (dollar_*, define_dollar_label, fb_*): Declare unconditionally.
1995-05-04 01:56:40 +00:00
Jeff Law
a2fa9f9824 * gas/hppa/reloc/longcall.s: New test.
* gas/hppa/reloc/reloc.exp: Run it.
1995-05-03 19:17:14 +00:00
Jeff Law
4829cd65a7 * config/tc-hppa.c (md_apply_fix): Do nothing for an out of range
PC relative call since those only occur in cases where the linker
	can fix them up.
	(hppa_force_relocation): Force relocations for out of range PC
	relative calls.
1995-05-03 19:10:55 +00:00
Jeff Law
55ac59da2e Add hppa1.1-hp-lites support. 1995-05-02 22:39:41 +00:00
Ken Raeburn
8baa2ba4c1 * gas/mips/ld.d: Modified for gas delay-slot fixes. 1995-05-02 20:40:22 +00:00
Ken Raeburn
2c4022afdd read.c, tc-mips changes 1995-05-02 19:33:44 +00:00
Ken Raeburn
1dc1e7989f * config/tc-mips.c: Use USE_STDARG and USE_VARARGS instead of NO_STDARG &c.
* config/tc-mips.c (mips_target_format): Changed to a function, checking flavor
and byte order at run time.
(md_parse_option, cases OPTION_EB and OPTION_EL): Set target_big_endian here.
(md_begin): Not here.
* config/tc-mips.h (mips_target_format): Adjust declaration.
(TARGET_FORMAT): Call mips_target_format.

* config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Define in terms of OUTPUT_FLAVOR.
* config/tc-mips.c (g_switch_value, g_switch_seen): Define unconditionally.
(md_begin, mips_ip, md_parse_option, s_change_sec, s_option, s_abicalls,
nopic_need_relax): Check USE_GLOBAL_POINTER_OPT at run time, instead of
compiling conditionally on GPOPT.
(GPOPT): Don't define.
(md_shortopts): Always include -G.
(RDATA_SECTION_NAME): Select at run time.
(md_begin): Test for ELF format at run time instead of compile time.
(mips_ip, s_change_sec): Ditto.
(md_parse_option, cases OPTION_CALL_SHARED and OPTION_NON_SHARED): Ditto.
(OPTION_CALL_SHARED, OPTION_NON_SHARED, mips_regmask_frag): Define
unconditionally.
1995-05-02 19:33:00 +00:00
Ken Raeburn
2209b19c4e (pop_insert): New function.
(pop_override_ok, pop_table_name): New variables.
(md_pop_insert, obj_pop_insert): New macros.
(pobegin): Use them.

(target_big_endian): If TARGET_BYTES_BIG_ENDIAN is defined, initialize to 1.
1995-05-02 19:30:17 +00:00
Ken Raeburn
833c46e1fb Move cpu-specific dependencies into Makefile.in, instead of having sometimes
multiple copies in config/*.mt.  Select between several make variables with
autoconf substitution of cpu_type into a variable name reference.
1995-05-02 06:46:21 +00:00
Ken Raeburn
78dace0a00 deleting more unused macros 1995-05-02 06:26:15 +00:00
Ken Raeburn
91a165d12e delete some unused TE_* macros 1995-05-02 04:47:35 +00:00
Ken Raeburn
12aab635e0 * read.c (s_app_file): If obj_app_file is defined, call it with string as argument.
Don't call c_dot_file_symbol or elf_file_symbol.
* config/obj-coff.h (obj_app_file): Define as c_dot_file_symbol.
* config/obj-elf.h (obj_app_file): Define as elf_file_symbol.

* as.h (OUTPUT_FLAVOR): Don't define here.
* config/obj-aout.h (OUTPUT_FLAVOR) [BFD_ASSEMBLER]: Define.
* config/obj-bout.h (OUTPUT_FLAVOR): Define.
* config/obj-coff.h (OUTPUT_FLAVOR) [BFD_ASSEMBLER]: Define.
* config/obj-ecoff.h (OUTPUT_FLAVOR): Define.
* config/obj-elf.h (OUTPUT_FLAVOR): Define.
1995-05-01 20:44:46 +00:00
David Edelsohn
dd0f8fcfe4 (gas-dg-test): Detect invalid values of `do_what'. 1995-04-30 20:16:22 +00:00
David Edelsohn
00ff097af1 New testcase to test ARC specific warnings. 1995-04-30 06:38:13 +00:00
David Edelsohn
f6959b8dbb * lib/gas-dg.exp: New file. 1995-04-30 06:35:49 +00:00
David Edelsohn
5af38f24a1 New file (interfaces to dg.exp). 1995-04-30 06:34:53 +00:00
David Edelsohn
3fb52301f0 Initial pass at ARC docs. 1995-04-30 06:14:16 +00:00
David Edelsohn
86a90ab902 ARC stuff. 1995-04-30 04:48:46 +00:00
David Edelsohn
33cfa9b642 Avoid "8 byte insn in delay slot" warning message. 1995-04-30 04:30:57 +00:00
David Edelsohn
85f667f79f * Makefile.in (RUNTEST): Use one in srcdir if present.
(RUNTESTFLAGS): Define.
1995-04-28 03:08:55 +00:00
Ken Raeburn
931a8fab1b Support for more portable alignment handling in assembly code, based on patches
from Bryan Ford <baford@schirf.cs.utah.edu>:
* read.c (potable): Added balign and p2align, for aligning by bytes or powers
of two independent of what ".align" does for a given target.
* doc/as.texinfo: Document them.
1995-04-26 20:02:18 +00:00