Ian Lance Taylor
3919ffeb06
* config/obj-coffbfd.c (fill_section): Correct test for whether to
...
fill a section (from Minh Tran-Le <TRANLE@intellicorp.com>).
1994-02-25 21:16:56 +00:00
Ken Raeburn
f95de5d9fd
* read.c (potable): Added ".this_GCC_requires_the_GNU_assembler", which is
...
ignored by gas, but will cause other assemblers to choke. Intended for use by
gcc ports that require gas instead of native assemblers.
1994-02-24 16:38:42 +00:00
Jeff Law
2563162846
* gas/hppa/more.parse/parse.exp (no subspace test): Only expect
...
a failure if gas is not producing an ELF object.
1994-02-24 15:12:50 +00:00
Jeff Law
cb6af92833
* config/ho-hppaosf.h: Fix braino in test for ANSI-C.
1994-02-24 15:11:19 +00:00
Jeff Law
08c5812ce1
* write.c (write_contents): Give the user a reasonable error
...
message rather than "assertion failed" if bfd_set_section_contents
fails.
1994-02-24 00:53:24 +00:00
Ken Raeburn
c9c45af14e
this is i386-mach3 *host* support (not target like in last mistaken msg)...
1994-02-22 18:09:19 +00:00
Ken Raeburn
75ec0c908b
keep te-mach.h
1994-02-22 17:57:49 +00:00
Ken Raeburn
3dcd9356fa
Should've got checked in with i386-mach3 config changes.
...
(Already in change log.)
1994-02-22 17:57:35 +00:00
Ian Lance Taylor
2e5fdb1db0
* ecoff.c (ecoff_build_debug): Don't set hdr->magic here. It is
...
now set in bfd/ecofflink.c:ecoff_write_symhdr.
1994-02-22 04:30:14 +00:00
Ian Lance Taylor
380fa957e5
* config/obj-coffbfd.c (write_object_file): use bfd_get_error (),
...
not bfd_error.
* config/obj-elf.c (elf_frob_file): Likewise.
1994-02-22 03:49:59 +00:00
Ian Lance Taylor
9d90491e82
* read.c (s_lcomm): Use an alignment power of 3 for 8 byte .lcomm
...
variables.
1994-02-22 03:49:42 +00:00
Ian Lance Taylor
254f845017
PowerPC ELF is now in BFD; fix comment claiming otherwise.
1994-02-22 00:14:02 +00:00
Ian Lance Taylor
c8d02404ea
* config/ho-hpux.h (BROKEN_ASSERT): Define if not __GNUC__.
1994-02-21 23:17:59 +00:00
Ian Lance Taylor
9eb5f4b8c6
* read.c (read_a_source_file): Use correct arguments to memcpy
...
(broken 19 Jul 1993). From kjd@pescadero.stanford.edu (Kenneth
Duda).
1994-02-21 19:44:01 +00:00
Ian Lance Taylor
4d88d6dcb3
* config/obj-coff.h (obj_coff_section): Declare.
...
* config/obj-coff.c (obj_pseudo_table): For "section", use
obj_coff_section.
(obj_coff_section): Rewrite.
1994-02-21 02:06:52 +00:00
Ken Raeburn
3eacff1741
update -- keep more stuff recently added
1994-02-18 22:09:23 +00:00
Ken Raeburn
5efa30faad
keep new te-mach.h
1994-02-18 22:04:40 +00:00
Ken Raeburn
9e0cbfbbe3
First cut at i386-mach3 support.
1994-02-18 20:08:11 +00:00
Ken Raeburn
06471862ca
First attempt at i386-mach3 support.
...
te-mach.h: New file.
obj-aout.c (obj_aout_frob_file): New function.
obj-aout.h (obj_aout_frob_file): Declare it.
(frob_file): New macro.
tc-i386.c (md_apply_fix_1) [TE_Mach]: Don't adjust pcrel32 relocations.
tc-i386.h (TARGET_FORMAT) [TE_Mach]: Use a.out-mach3.
1994-02-18 19:57:35 +00:00
Ken Raeburn
741f4d6676
write.c (write_object_file): Removed register declarations.
1994-02-18 19:53:26 +00:00
Ken Raeburn
04bde70d04
missed atof-generic log entry last time
1994-02-18 19:41:53 +00:00
Roland Pesch
673b162c1a
Correct info about evaluating macro args (distinct from evaluating preprocessor
...
vars); add version number (1); formatting improvements.
1994-02-18 01:10:24 +00:00
Ian Lance Taylor
5e65fbc84b
Some support for PowerPC ELF, although it isn't in BFD yet.
...
* configure.in: If cpu is powerpc*, use ppc.
(ppc-*-sysv4*): Use object format elf.
* config/tc-ppc.h: Only declare a number of things if OBJ_COFF is
defined.
(TARGET_ARCH): Make it call ppc_arch.
(ppc_arch): Declare.
(TARGET_FORMAT): Set based on OBJ_COFF or OBJ_ELF.
(NO_STRING_ESCAPES): Define.
(LOCAL_LABEL, FAKE_LABEL_NAME): Define for OBJ_ELF.
* config/tc-ppc.c: Only define a number of functions of OBJ_COFF
is defined.
(md_pseudo_table): Most pseudo-ops are OBJ_COFF specific. Added
OBJ_COFF specific "bi" and "ei".
(md_parse_option): Fix handling of -u. Make -m601 set
PPC_OPCODE_601. If OBJ_ELF, accept -V and -Q.
(ppc_set_cpu): New function.
(ppc_arch): New function.
(md_begin): Call ppc_set_cpu.
(ppc_insert_operand): For a signed operand accept an unsigned
value, for IBM compatibility.
(ppc_byte): Don't call stringer for strings; instead, treat two
double quotes as a single double quote.
(ppc_comm): Set sy_tc.output for a .lcomm symbol.
(ppc_biei): New function.
(ppc_tc): If not OBJ_COFF, ignore first argument.
(ppc_fix_adjustable): Call as_bad_where, not as_bad.
(ppc_is_toc_sym): New function.
(md_apply_fix): Use ppc_is_toc_sym. Handle BFD_RELOC_16 and
BFD_RELOC_8.
1994-02-17 21:37:32 +00:00
David MacKenzie
f61b81b7c1
* messages.c (as_perror) [BFD_ASSEMBLER]: Use bfd_get_error and
...
bfd_set_error and new error names.
1994-02-17 18:14:04 +00:00
Roland Pesch
dd565f85bf
(1) remove dangling references to old internal sections (pass1, difference)
...
(2) move explanation of new MIPS options from summary section to MIPS-options
section; add summaries in appropriate spots.
(3) usual minor rephrasing in passing.
1994-02-16 01:52:25 +00:00
Ken Raeburn
c25be7f4e9
* configure.in: Support i960-vxworks versions > 5.0 as coff.
...
Default is still bout if no version is specified.
1994-02-16 01:28:59 +00:00
Jeff Law
1e95993e94
* gas/hppa/basic/fmemLRbug.s: New test.
...
* gas/hppa/basic/basic.exp: Run it.
1994-02-14 17:25:25 +00:00
Roland Pesch
71165d7698
Formatting improvements from first eyeball once-over.
1994-02-12 07:12:40 +00:00
Roland Pesch
68ac42f696
Clean formatting under TeX/FSF layout and TeX/Cygnus layout
1994-02-12 04:53:38 +00:00
Roland Pesch
24b9a4e211
Keep the new gasp manual.
1994-02-12 04:25:34 +00:00
Roland Pesch
bddd4c2329
A manual for the GNU assembler preprocessor.
1994-02-12 03:59:03 +00:00
Ian Lance Taylor
b1237b9d04
* config/tc-mips.c (macro): Do unaligned loads and stores
...
correctly when big endian, and give errors on overflow rather than
generating incorrect code.
1994-02-11 18:16:19 +00:00
Ian Lance Taylor
605e1d90e3
* as.c: Include libiberty.h.
1994-02-10 22:33:56 +00:00
Ian Lance Taylor
c02fd8dc3e
* read.c (do_align): Don't define label just_record_alignment
...
unless it might be used.
1994-02-10 22:32:21 +00:00
Ian Lance Taylor
4045fbb497
* config/tc-i386.c (md_pseudo_table): Remove "zero".
...
* config/tc-m88k.c (md_pseudo_table): Likewise.
1994-02-10 16:27:34 +00:00
Ken Raeburn
6440d65c34
* config/tc-sparc.c (sparc_ip): Reject integer values for pc-relative operand
...
fields. This forces "call 0" to become "jmpl %g0,%o7" with no relocs needed.
1994-02-10 06:48:19 +00:00
Ken Raeburn
0586b4600f
* gas/alpha/fp.*: New files.
...
* lib/gas-defs.exp (regexp_diff): Report noted mismatch at
verbosity level 3 or above only.
1994-02-10 05:39:17 +00:00
Ian Lance Taylor
d87c080eaf
* as.h (xmalloc, xrealloc): Declare using PTR rather than char *.
...
* xmalloc.c (xmalloc, xrealloc): Use PTR rather than char *.
1994-02-09 18:23:23 +00:00
Ian Lance Taylor
ddb393cf89
* app.c (do_scrub_next_char): If NO_STRING_ESCAPES is defined,
...
don't treat backslash specially inside strings.
* read.c (next_char_of_string): Likewise.
1994-02-09 18:11:20 +00:00
Stan Shebs
66c774bb3e
Wed Feb 9 09:42:45 1994 Stan Shebs (shebs@andros.cygnus.com)
...
* config/obj-coffbfd.c (obj_coff_init_stab_section): Use memset
instead of memcpy to zero the initial stab symbol, duh.
* config/obj-elf.c (obj_elf_init_stab_section): Ditto.
* config/obj-som.c (obj_som_init_stab_section): Ditto.
1994-02-09 17:47:40 +00:00
Ian Lance Taylor
356315fe1c
* write.c (fixup_segment): Use as_bad_where, not as_bad.
1994-02-09 05:02:25 +00:00
Ken Raeburn
cfaf70e3a6
sparclite-coff fix: obj-coff.c, symbols.c, write.c modified for abs_symbol
1994-02-09 00:51:26 +00:00
Ken Raeburn
e8501a72ce
(adjust_reloc_syms): Use abs_symbol instead of calling section_symbol.
1994-02-09 00:04:43 +00:00
Ken Raeburn
cafb569b7a
-Wall is Ian's friend; make them both happy (by removing `/*' inside comment).
1994-02-08 23:07:55 +00:00
Ken Raeburn
7496639ab5
* configure.in (alpha-*-netware*): New target, like alpha-*-osf*.
1994-02-08 21:52:01 +00:00
Ken Raeburn
8a74b870a5
tc-alpha fixes
1994-02-08 21:09:10 +00:00
Ken Raeburn
df44a8523f
* write.c (write_relocs): Print some sensible error message if
...
bfd_perform_relocation returns bfd_reloc_overflow.
1994-02-08 21:02:35 +00:00
Jeff Law
a2f0b50733
* gas/hppa/*/*.exp: Change xfails to check for PA ELF rather than
...
PA OSF1.
1994-02-07 23:54:54 +00:00
Ken Raeburn
2d33b3aacb
tc-alpha.c (md_atof): Warn that FP vals might not assemble properly
1994-02-07 21:36:35 +00:00
Ken Raeburn
c3591adb28
configure.in, tc-alpha, atof-generic changes
1994-02-07 21:14:39 +00:00