Commit Graph

9199 Commits

Author SHA1 Message Date
Stu Grossman 30e441ca45 * configure.host: Add Lynx/rs6000 support.
* config/i386-nlm.mt:  Enable a.out file support.
	* config/rs6000lynx.mh:  Lynx/rs6000 host support.
1994-02-11 23:39:38 +00:00
Stu Grossman 475156577a * config.guess: Add Lynx/rs6000 config support. 1994-02-11 23:34:39 +00:00
Ian Lance Taylor c4e48be344 * ldlang.c (lookup_name): Take new argument, force_load. If true,
reload the file even if it is already loaded.
	(wild): Call lookup_name with force_load argument of 0.
	(open_input_bfds): Call lookup_name with force_load argument of 1.
	(print_symbol): Remove declaration of non-existent function.
	(print_one_symbol): Return true rather than falling off end.
1994-02-11 22:40:20 +00:00
Ian Lance Taylor 5ee3886b48 * archive.c (compute_and_write_armap): Rewrite somewhat to improve
memory usage.
1994-02-11 22:30:18 +00:00
Stan Shebs 9a793780e5 Fri Feb 11 13:10:42 1994 Stan Shebs (shebs@andros.cygnus.com)
* archive.c: Change all references to '\n' in archive magic
	to '\012', for greater portability.
	* ecoff.c (ecoff_write_armap): Ditto.
1994-02-11 21:18:16 +00:00
Stan Shebs 1158ee8b00 sparcly-nat.c is long gone 1994-02-11 20:23: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 e51437f199 * libiberty.h: New file. Declares functions provided by
libiberty.
1994-02-10 22:06:53 +00:00
Ian Lance Taylor 410945f102 * ldmain.c (main): Use %ld when printing long values. 1994-02-10 17:02:24 +00:00
Ian Lance Taylor 473e361e30 * emulparams/elf32mipb.s (OTHER_BSS_SYMBOLS): Define _fbss. 1994-02-10 17:00:32 +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
Jeff Law a62dd44f9c * som.c: Cast return values from BFD memory allocation routines to
avoid warnings from the HP compiler.
1994-02-10 05:36:41 +00:00
Ian Lance Taylor 0d634116b2 * coff-alpha.c (alpha_relocate_section): Accept a LITERAL
reloc on an "ldl" instruction too.
1994-02-09 22:17:49 +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
Ian Lance Taylor 945f125b45 * coff-rs6000.c (rs6000coff_mkarchive): Return false.
(rs6000_coff_snarf_ar_hdr): Don't declare errno; it's not used.
	Also removed unused variable namelen.
	(rs6000coff_write_armap): Declare orl_count and stridx parameters.
1994-02-09 17:59:32 +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 b20ab72634 * configure.in (alpha-dec-osf1*, alpha*-*-*): Build gas. 1994-02-08 21:42:55 +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
Ken Raeburn fa965415f5 * coff-alpha.c (reloc_nil): New function.
(alpha_howto_table): Use it as special_function to prevent certain relocs from
being adjusted by bfd_perform_relocation.  IGNORE reloc should be
partial_inplace.
(alpha_ecoff_get_relocated_section_contents): Accept a LITERAL reloc on an
"ldl" instruction too.
1994-02-08 20:58:20 +00:00
Peter Schauer 4dd4933e7c Change inclusion of <string.h> to sysdep.h. 1994-02-08 19:01:45 +00:00
Peter Schauer 5c9b5f58f3 * dis-buf.c, i386-dis.c: Include <string.h>. 1994-02-08 09:12:06 +00:00
Peter Schauer 4c1b6b07ea * config/alpha/alpha-nw.mt, config/alpha/alpha-osf1.mt (MT_CFLAGS):
Remove, no longer necessary now that we use bfd_vma for a CORE_ADDR.
1994-02-08 09:05:56 +00:00
Peter Schauer ba47c66add * README: Remove note about gcc warnings on alpha, these should be
gone now.
	* c-exp.y, ch-exp.y, core.c, corelow.c, eval.c, fork-child.c,
	m2-exp.y, minsyms.c, nlmread.c, parse.c, putenv.c, regex.c
	remote-utils.c, stabsread.c:  Include <string.h>.
	* regex.c:  Include "defs.h", change re_comp argument to const char *.
	* infptrace.c (fetch_register, store_inferior_registers):  Change
	regaddr to type CORE_ADDR.
	* config/alpha/alpha-nw.mt, config/alpha/alpha-osf1.mt (MT_CFLAGS):
	Remove, no longer necessary now that we use bfd_vma for a CORE_ADDR.
1994-02-08 09:01:03 +00:00
Peter Schauer 7c202d3775 * elf32-hppa.c (CURRENT_STUB_OFFSET, hppa_elf_build_arg_reloc_stub,
hppa_elf_build_long_branch_stub):  Cast to char * instead of int
	before performing pointer arithmetic.
1994-02-08 08:57:46 +00:00
Jeff Law 9ed21f0ebf * config.bfd (hppa*-*-osf*): Use bfd_name hppaosf for this
configuration.
        (hppa*-*-*elf*): This configuration used hppa-elf now.

        * som.c: This file is also used for HOST_HPPAOSF.

        * targets.c (bfd_target_vector): Enable som_vec for HOST_HPPAOSF.

        * hosts/hppaosf.h: New host configuration file.

        * config/hppabsd.mt (SELECT_VECS): Add bfd_elf32_hppa_vec as
        BSD handles both SOM and ELF object files.

        * config/hppaosf.mh (HDEFINES): Delete.  No longer needed.
        (RANLIB): Doesn't do anything, define it to be "echo".

        * config/hppaosf.mt: New target makefile fragment for a PA running
        OSF1.
1994-02-08 05:17:01 +00:00
Jeff Law 6941fd4d64 * som.c: This file is also used for HOST_HPPAOSF.
* targets.c (bfd_target_vector): Enable som_vec for HOST_HPPAOSF.
1994-02-08 05:09:34 +00:00
Jeff Law 1c8c89a8b2 New host configuration file. 1994-02-08 04:58:32 +00:00
Jeff Law 423dae05e4 Opps. 1994-02-08 00:40:55 +00:00
Jeff Law 6cc2ced133 Oops. 1994-02-08 00:40:22 +00:00
Ian Lance Taylor 66f1cff54b * archures.c (enum bfd_architecture): Added bfd_arch_powerpc.
(archures_init_table): If SELECT_ARCHITECTURES is not defined,
	added bfd_powerpc_arch.
	* bfd-in2.h: Rebuilt.
	* cpu-powerpc.c: New file.
	* Makefile.in (ALL_MACHINES, CFILES): Added cpu-powerpc.c.
	Rebuilt dependencies.
1994-02-08 00:38:00 +00:00
Jeff Law b3ade95e81 * Rename all "hppaosf" files to "hppaelf".
* Change all "osf" references to "elf" in hppaelf files.
        * Makefile.in: Likewise.
        * configure.in: Likewise.
1994-02-08 00:37:19 +00:00
Ian Lance Taylor 384c17918b PowerPC CPU support. 1994-02-08 00:35:31 +00:00
Jeff Law f7d4f6f622 * Rename all "hppaosf" files to "hppaelf". 1994-02-08 00:32:33 +00:00
Jeff Law 90e30f5104 Renamed hppaosf.sc to hppaelf.sc 1994-02-08 00:28:48 +00:00
Jeff Law a9cff99018 Renamed hppaosf.em to hppaelf.em 1994-02-08 00:28:05 +00:00
Jeff Law fd0a9d9823 Renamed hppaosf.sh to hppaelf.sh 1994-02-08 00:27:10 +00:00
Jeff Law 78b6df412f Renamed hppaosf.mh to hppaelf.mh 1994-02-08 00:25:39 +00:00
Jeff Law 96bae9ceb0 Renamed hppaosf.mt to hppaelf.mt 1994-02-08 00:25:05 +00:00
Stan Shebs e320f644a3 Mon Feb 7 15:53:02 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-make.in (CSEARCH): Add extra-include to search path.
1994-02-07 23:55:53 +00:00