Ian Lance Taylor [Thu, 27 May 1999 21:57:48 +0000 (21:57 +0000)]
1999-05-28 Martin Dorey <mdorey@madge.com>
* config/tc-i960.c: Several minor changes to add ELF and
BFD_ASSEMBLER support.
* config/tc-i960.h: Likewise.
* configure.in (i960-*-elf*): New target.
* aclocal.m4, configure: Rebuild.
Ian Lance Taylor [Thu, 27 May 1999 21:54:35 +0000 (21:54 +0000)]
rebuild dependencies
Ian Lance Taylor [Thu, 27 May 1999 21:49:21 +0000 (21:49 +0000)]
1999-05-28 Martin Dorey <mdorey@madge.com>
* configure.tgt (i960-*-elf*): New target.
* emulparams/elf32_i960.sh: New file.
* Makefile.am (ALL_EMULATIONS): Add eelf32_i960.o.
(eelf32_i960.c): New target.
* Makefile.in: Rebuild.
Ian Lance Taylor [Thu, 27 May 1999 21:44:39 +0000 (21:44 +0000)]
fix copyrights
Ian Lance Taylor [Thu, 27 May 1999 21:42:14 +0000 (21:42 +0000)]
1999-05-28 Martin Dorey <mdorey@madge.com>
* elf32-i960.c: New file.
* elf.c (prep_headers): Handle bfd_arch_i960.
* targets.c (bfd_target_vector): Add &bfd_elf32_i960_vec.
* config.bfd (i960-*-elf*): New target.
* configure.in (bfd_elf32_i960_vec): New target vector.
* Makefile.am (BFD32_BACKENDS): Add elf32-i960.lo.
(BFD32_BACKENDS_CFILES): Add elf32-i960.c.
* Makefile.in, aclocal.m4, configure: Rebuild.
Ian Lance Taylor [Thu, 27 May 1999 21:40:25 +0000 (21:40 +0000)]
rebuild
Ian Lance Taylor [Thu, 27 May 1999 21:29:05 +0000 (21:29 +0000)]
* i960.h: New file.
Ian Lance Taylor [Thu, 27 May 1999 20:48:12 +0000 (20:48 +0000)]
break long line
Nick Clifton [Thu, 27 May 1999 07:41:14 +0000 (07:41 +0000)]
Add support for BFD_RELOC_ARM_PLT32
Jeff Law [Thu, 27 May 1999 03:19:32 +0000 (03:19 +0000)]
* hppa.h (pa_opcodes): Add several processor specific system
instructions.
Andreas Schwab [Thu, 27 May 1999 03:16:15 +0000 (03:16 +0000)]
* objcopy.c (copy_archive): Preserve dates of archive members if
requested.
Andreas Schwab [Thu, 27 May 1999 03:02:23 +0000 (03:02 +0000)]
* readelf.c (dump_relocations): Always print the addend on RELA
systems even if there is no symbol.
(process_program_headers): Reset dynamic_size before looping
through the program headers.
(process_version_sections): Cast sh_offset to unsigned long for
printing in case bfd_vma is wider.
(process_symbol_table): Use get_symbol_index_type when printing
st_shndx.
Nick Clifton [Wed, 26 May 1999 17:23:32 +0000 (17:23 +0000)]
Use correct template
Jeff Law [Wed, 26 May 1999 16:04:11 +0000 (16:04 +0000)]
* hppa.h (pa_opcodes): Add second entry for "comb", "comib",
"addb", and "addib" to be used by the disassembler.
Nick Clifton [Wed, 26 May 1999 08:27:38 +0000 (08:27 +0000)]
Applied patches from Philip Blundell <pb@nexus.co.uk>, to improve PIC support.
Jason Molenda [Tue, 25 May 1999 18:09:09 +0000 (18:09 +0000)]
import gdb-1999-05-25 snapshot
DJ Delorie [Tue, 25 May 1999 12:10:27 +0000 (12:10 +0000)]
* windres.c: add verbose option
(main): process verbose option
* resrc.c (look_for_default): new. Look for the default
preprocessor in a given location.
(read_rc_file): for foo/bar-windres, look for foo/bar-gcc,
foo/gcc (in case of foo/windres), and then gcc (the old default).
Catherine Moore [Tue, 25 May 1999 11:56:16 +0000 (11:56 +0000)]
* coff-arm.c (coff_arm_relocate_section): Don't emit
base file entries for pc-relative values.
DJ Delorie [Tue, 25 May 1999 11:37:40 +0000 (11:37 +0000)]
* peicode.h (coff_swap_sym_in): When we create the actual section
to reflect the not-there section C_SECTION symbols refer to,
change the symbol class to C_STAT as the section is now really
there.
Alan Modra [Mon, 24 May 1999 18:25:27 +0000 (18:25 +0000)]
ÿ
Fiz i386-iaout breakage introduced by last patch.
Alan Modra [Mon, 24 May 1999 18:25:25 +0000 (18:25 +0000)]
è
Fiz i386-iaout breakage introduced by last patch.
Nick Clifton [Mon, 24 May 1999 15:20:21 +0000 (15:20 +0000)]
Updated to match latest version in EGCS
Nick Clifton [Mon, 24 May 1999 12:49:30 +0000 (12:49 +0000)]
1999-05-24 Philip Blundell <philb@gnu.org>
* emultempl/armelf.em (before_parse): Set config.dynamic_link and
config.has_shared.
* emulparams/armelf.sh (GENERATE_SHLIB_SCRIPT): Define.
* emulparams/armelf_linux.sh (GENERATE_SHLIB_SCRIPT): Likewise
Nick Clifton [Mon, 24 May 1999 10:06:39 +0000 (10:06 +0000)]
1999-05-24 Philip Blundell <pb@nexus.co.uk>
* elf32-arm.h (elf32_arm_relocate_section): Undo change of
1999-03-25
Jason Molenda [Sun, 23 May 1999 20:02:56 +0000 (20:02 +0000)]
Sync up with Cygnus CVS repository (cvs import doesn't handle these
automatically, alas. This cleanpu must be automated in the near future).
Tue Mar 9 19:25:11 1999 Stan Shebs <shebs@andros.cygnus.com>
* h8-cfg.texi: Remove, hasn't been used in years.
1999-05-10 Martin Hunt <hunt@cygnus.com>
* debugify.c, debugify.h: Removed because they are no
longer used.
Tue Mar 16 15:29:04 1999 Stan Shebs <shebs@andros.cygnus.com>
* go32-xdep.c: Remove, no longer used by anything.
Nick Clifton [Sat, 22 May 1999 14:49:51 +0000 (14:49 +0000)]
Accept 'sp' as a valid register name.
Nick Clifton [Sat, 22 May 1999 09:55:50 +0000 (09:55 +0000)]
Add definitions related to shared objects (copied from elf32.em)
Jason Molenda [Wed, 19 May 1999 19:58:41 +0000 (19:58 +0000)]
import gdb-1999-0519
Catherine Moore [Wed, 19 May 1999 10:20:12 +0000 (10:20 +0000)]
* coff-arm.c (coff_arm_relocate_section): Account for
multiple glue sections when generating base file entries.
Nick Clifton [Wed, 19 May 1999 07:27:14 +0000 (07:27 +0000)]
Use renamed ARM cpu flag bits
Nick Clifton [Wed, 19 May 1999 07:25:59 +0000 (07:25 +0000)]
Renumber cpu flag bits to avoid collision with PE flag bits
Andreas Schwab [Wed, 19 May 1999 03:50:52 +0000 (03:50 +0000)]
* Makefile.am (ALL_EMULATIONS): Remove earmlinux.o and
earm26linux.o, add earmelf_linux.o and earmelf_linux26.o.
* Makefile.in: Regenerated.
Nick Clifton [Mon, 17 May 1999 09:46:52 +0000 (09:46 +0000)]
Add xfail for mcore-elf
Nick Clifton [Mon, 17 May 1999 09:26:37 +0000 (09:26 +0000)]
Update to match lattest assembler/objdump outpuyt
Alan Modra [Mon, 17 May 1999 08:35:42 +0000 (08:35 +0000)]
è
Add missing files from last change in gas/testsuite.
i386-dis.c: Catch a number of cases where an invalid modrm would result in
bogus disassembly. const lots of places.
Alan Modra [Mon, 17 May 1999 08:35:41 +0000 (08:35 +0000)]
a
Add missing files from last change in gas/testsuite.
i386-dis.c: Catch a number of cases where an invalid modrm would result in
bogus disassembly. const lots of places.
Alan Modra [Mon, 17 May 1999 08:35:40 +0000 (08:35 +0000)]
Ø
Add missing files from last change in gas/testsuite.
i386-dis.c: Catch a number of cases where an invalid modrm would result in
bogus disassembly. const lots of places.
Alan Modra [Mon, 17 May 1999 03:21:52 +0000 (03:21 +0000)]
è
Move bitfield overflow checks to after the md_apply_fix call in
fixup_segment so that md_apply_fix has a chance to modify value.
Handle 8 and 16-bit pcrel relocs for i386.
Prototypes and other minor code cleanups.
Alan Modra [Mon, 17 May 1999 03:21:50 +0000 (03:21 +0000)]
n
Move bitfield overflow checks to after the md_apply_fix call in
fixup_segment so that md_apply_fix has a chance to modify value.
Handle 8 and 16-bit pcrel relocs for i386.
Prototypes and other minor code cleanups.
Alan Modra [Mon, 17 May 1999 03:21:49 +0000 (03:21 +0000)]
*** empty log message ***
Alan Modra [Mon, 17 May 1999 03:21:46 +0000 (03:21 +0000)]
/
Move bitfield overflow checks to after the md_apply_fix call in
fixup_segment so that md_apply_fix has a chance to modify value.
Handle 8 and 16-bit pcrel relocs for i386.
Prototypes and other minor code cleanups.
Alan Modra [Mon, 17 May 1999 03:21:41 +0000 (03:21 +0000)]
Move bitfield overflow checks to after the md_apply_fix call in
fixup_segment so that md_apply_fix has a chance to modify value.
Handle 8 and 16-bit pcrel relocs for i386.
Prototypes and other minor code cleanups.
Nick Clifton [Sun, 16 May 1999 14:16:52 +0000 (14:16 +0000)]
reinstate uin_reloc_p
Nick Clifton [Sun, 16 May 1999 14:12:20 +0000 (14:12 +0000)]
Add support for generating an mcore-elf dll.
Nick Clifton [Sun, 16 May 1999 14:02:47 +0000 (14:02 +0000)]
Add mcore-elf support for shared libraries
Nick Clifton [Sun, 16 May 1999 13:57:59 +0000 (13:57 +0000)]
Add PLT relolcs
Nick Clifton [Sat, 15 May 1999 15:38:13 +0000 (15:38 +0000)]
Add support for mcore RVA relocs.
Nick Clifton [Sat, 15 May 1999 15:25:22 +0000 (15:25 +0000)]
Add support for mcore to dlltool.
Nick Clifton [Sat, 15 May 1999 15:13:18 +0000 (15:13 +0000)]
Defined rva relocations.
Andreas Schwab [Fri, 14 May 1999 02:02:26 +0000 (02:02 +0000)]
* elf32-arm.h (elf32_arm_relocate_section): Fix operator
precedence between bit-and and comparison.
Andreas Schwab [Fri, 14 May 1999 01:53:28 +0000 (01:53 +0000)]
* config/atof-ieee.c (gen_to_words): Correctly round a
denormalized number. Fix off-by-one in range checking for
exponent in a denormal.
Richard Henderson [Thu, 13 May 1999 09:49:48 +0000 (09:49 +0000)]
Joel Sherrill (joel@OARcorp.com)
* configure.tgt (i386-*-rtemself*, sh-*-rtemself*): New targets.
(mips*el-*-rtems*, powerpcle-*-rtems*): New targets.
Richard Henderson [Thu, 13 May 1999 09:49:29 +0000 (09:49 +0000)]
Joel Sherrill (joel@OARcorp.com)
* configure.in (i386-*-rtemself*, sh-*-rtemself*): New targets.
Richard Henderson [Thu, 13 May 1999 09:49:09 +0000 (09:49 +0000)]
Joel Sherrill (joel@OARcorp.com)
* config.bfd (i[3456]86*-*-rtems*, m68k*-*-rtems*): Added to
list of target formats (targ_selvecs).
(i[3456]86*-*-rtemself*, mips*el-*-rtems*): New targets.
(powerpcle*-*rtems*, sh-*-rtemself*): New targets.
Alan Modra [Thu, 13 May 1999 06:00:30 +0000 (06:00 +0000)]
P
i386 PIII SIMD support, remove ReverseRegRegmem kludge
tidy a few things in i386 intel mode disassembly
Alan Modra [Thu, 13 May 1999 06:00:14 +0000 (06:00 +0000)]
X
i386 PIII SIMD support, remove ReverseRegRegmem kludge
tidy a few things in i386 intel mode disassembly
Alan Modra [Thu, 13 May 1999 06:00:13 +0000 (06:00 +0000)]
ÿ
i386 PIII SIMD support, remove ReverseRegRegmem kludge
tidy a few things in i386 intel mode disassembly
Alan Modra [Thu, 13 May 1999 06:00:10 +0000 (06:00 +0000)]
i386 PIII SIMD support, remove ReverseRegRegmem kludge
tidy a few things in i386 intel mode disassembly
DJ Delorie [Wed, 12 May 1999 22:03:10 +0000 (22:03 +0000)]
* rclex.l: add code to suppress certain output from cpp, replace
all returns with MAYBE_RETURN
(MAYBE_RETURN): new, implement the suppression by returning
IGNORED_TOKEN as needed.
(cpp_line): remember which file we're in, mark data from included
*.h files for suppression.
* rcparse.y (input): allow IGNORED_TOKEN outside of known constructs
DJ Delorie [Tue, 11 May 1999 21:06:50 +0000 (21:06 +0000)]
1999-05-10 DJ Delorie <dj@cygnus.com>
* scripttempl/pe.sc: Specify the output arch, which Ian says is
the Right Thing to do.
* emultempl/pe.em: various changes to parameterize the
target-specific information.
(gld_i386pe_after_open): Detect and fix MS import libraries
by renaming the member objects (which are all named the same).
* pe-dll.c: various changes to parameterize the target-specific
information.
(generate_reloc): support relocs more generically to allow for
expansion.
(pe_exe_build_sections): new; used to add .relocs to .exes
(pe_exe_fill_sections): ditto
DJ Delorie [Tue, 11 May 1999 21:06:16 +0000 (21:06 +0000)]
1999-05-10 DJ Delorie <dj@cygnus.com>
* windres.c (quot): Quote shell metacharacters in a string
(main): quote parameters to cpp that might have metacharacters in
them. Allow -D as an alias for --define to allow for sharing make
macros with gcc.
* objdump.c (dump_reloc_set): don't core if howto->name is NULL
* Makefile.am: Give rescoff.c a cpu-specific -D so it can set
the correct BFD.
* Makefile.in: ditto
* rescoff.c (write_coff_file): Set the correct BFD
DJ Delorie [Tue, 11 May 1999 21:05:44 +0000 (21:05 +0000)]
* ecoff.c (_bfd_ecoff_write_armap): give the symtab element a
reasonable mode until "ar x" is smart enough to skip it (fixes
gcc/libgcc.a builds on mips-ecoff targets
* coffcode.h (styp_to_sec_flags): Explain how COMDATs are supposed
to work. Hack to support MS import libraries, which use different
COMDAT types than GNU.
(coff_slurp_symbol_table): C_SECTION symbols are local; they refer
to implied zero-length sections (see peicode below)
* coffgen.c (coff_get_normalized_symtab): Properly read long MS
filename symbols, which use one *or more* auxents.
* coffswap.h (coff_swap_aux_in): ditto
* peicode.h (coff_swap_sym_in): Build the implied zero-length
sections
DJ Delorie [Tue, 11 May 1999 20:31:53 +0000 (20:31 +0000)]
* ld-srec/srec.exp: Do not run tests for PE based ports.
Stan Shebs [Tue, 11 May 1999 20:29:07 +0000 (20:29 +0000)]
import gdb-1999-05-10
Jeff Law [Tue, 11 May 1999 14:57:28 +0000 (14:57 +0000)]
* elf32-v850.c (v850_elf_howto_table): Make partial_inplace false
for all relocations.
Stan Shebs [Tue, 11 May 1999 13:35:55 +0000 (13:35 +0000)]
import gdb-1999-05-10
Jim Blandy [Tue, 11 May 1999 12:42:30 +0000 (12:42 +0000)]
*** empty log message ***
Jim Blandy [Tue, 11 May 1999 12:42:12 +0000 (12:42 +0000)]
* cplus-dem.c (main): Use table lookup to distinguish identifier
characters from non-identifier characters.
(standard_symbol_alphabet, hp_symbol_alphabet): New functions.
Catherine Moore [Mon, 10 May 1999 18:30:21 +0000 (18:30 +0000)]
1999-05-10 Catherine Moore <clm@cygnus.com>
* emulttempl/pe.em (gld_${EMULATION_NAME}_after_open):
Check for TARGET_IS_arm_epoc_pe.
(gld_${EMULATION_NAME}_before_allocation): Likewise.
Catherine Moore [Mon, 10 May 1999 18:27:37 +0000 (18:27 +0000)]
* bfd-in.h (bfd_arm_allocate_interworking_sections): Static
if COFF_IMAGE_WITH_PE.
(bfd_arm_process_before_allocation): Likewise.
(bfd_arm_get_bfd_for_interworking): Likewise.
* coff-arm.c: Likewise.
* bfd-in2.h: Regenerate.
* configure.in (armpe_little_vec): Remove coff-arm.lo.
(armpe_big_vec): Likewise.
* configure: Rebuild.
Nick Clifton [Mon, 10 May 1999 08:36:58 +0000 (08:36 +0000)]
Check for period after .rel{a} when detecting reloc sections.
Richard Henderson [Sat, 8 May 1999 23:40:58 +0000 (23:40 +0000)]
* ldlang.c (walk_wild, walk_wild_file, walk_wild_section,
output_section_callback, gc_section_callback): New functions for
generic section walks.
(wild, lang_gc_wild): Use walk_wild.
(wild_file, lang_gc_wild_file): Deleted. Common logic moved to
walk_wild_file.
(wild_section, lang_gc_wild_section): Deleted. Common logic moved
to walk_fild_section. Unique logic moved into callbacks
output_section_callback and gc_section_callback.
Richard Henderson [Sat, 8 May 1999 23:31:09 +0000 (23:31 +0000)]
* config/tc-ppc.c (md_parse_option): Recognize -mppc64bridge.
(md_begin): Allow ppc32 insns in ppc64bridge mode.
(ppc_insert_operand): Accept SIGNOPT in ppc64 mode.
Richard Henderson [Sat, 8 May 1999 23:28:34 +0000 (23:28 +0000)]
* ppc.h (PPC_OPCODE_64_BRIDGE): New.
Nick Clifton [Fri, 7 May 1999 09:14:56 +0000 (09:14 +0000)]
Use .short to display unidentified instructions
Nick Clifton [Fri, 7 May 1999 07:57:25 +0000 (07:57 +0000)]
restore mcore files (Duh!)
Nick Clifton [Fri, 7 May 1999 07:44:11 +0000 (07:44 +0000)]
Replace assert (about endianism) with an error message
Nick Clifton [Fri, 7 May 1999 07:40:05 +0000 (07:40 +0000)]
REstore mcore support (duh!)
Nick Clifton [Fri, 7 May 1999 07:34:06 +0000 (07:34 +0000)]
fix output format.
Nick Clifton [Fri, 7 May 1999 07:33:44 +0000 (07:33 +0000)]
restore. (Duh!)
Richard Henderson [Thu, 6 May 1999 23:16:36 +0000 (23:16 +0000)]
* config/tc-i386.c (i386_immediate): Skip whitespace before
complaining about junk after expression.
(i386_displacement): Likewise.
Richard Henderson [Thu, 6 May 1999 20:59:17 +0000 (20:59 +0000)]
* configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
* getruntime.c: Only attempt to include sys/resource.h and
use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
are defined.
Richard Henderson [Thu, 6 May 1999 19:52:29 +0000 (19:52 +0000)]
* symbols.c (symbol_find_base): Use memcpy instead of strcpy.
Don't copy before downcaseing.
Richard Henderson [Thu, 6 May 1999 17:12:02 +0000 (17:12 +0000)]
Fred Fish <fnf@be.com>
* dwarf2.c (read_abbrevs): Change cast of dwarf_abbrev_buffer
assignment from "unsigned char *" to "char *".
(decode_line_info): Likewise for dwarf_line_buffer assignment.
Ian Lance Taylor [Thu, 6 May 1999 11:03:33 +0000 (11:03 +0000)]
* rename.c (smart_rename): Fix test of whether file exists.
Nick Clifton [Thu, 6 May 1999 07:41:56 +0000 (07:41 +0000)]
Set display_endian based on target endianism.
Nick Clifton [Thu, 6 May 1999 07:20:24 +0000 (07:20 +0000)]
Remove traces of mcore.
Nick Clifton [Thu, 6 May 1999 07:08:37 +0000 (07:08 +0000)]
remove mentions of mcore.
Nick Clifton [Thu, 6 May 1999 07:07:55 +0000 (07:07 +0000)]
Currently CYGNUS local
Stan Shebs [Wed, 5 May 1999 21:45:13 +0000 (21:45 +0000)]
import gdb-
19990504 snapshot
Catherine Moore [Wed, 5 May 1999 19:02:14 +0000 (19:02 +0000)]
* dlltool.c (interwork): Remove.
(arm_interwork_jtab): Use bx insn.
(thumb_jtab): Likewise.
(MARM_INTERWORK): New machine type.
(rvaafter): Handle it.
(rvabefore) Likewise.
(asm_prefix): Likewise.
(gen_exp_type): Check machine type instead of
interwork flag.
(make_one_lib_file): Likewise.
(make_head): Likewise.
(make_tail): Likewise.
(usage): Update machine types.
(main): Remove -interwork support.
Catherine Moore [Wed, 5 May 1999 18:56:25 +0000 (18:56 +0000)]
* coff-arm.c (coff_arm_relocate_section): Add one to
address of ARM_RVA32 thumb functions.
Stan Shebs [Wed, 5 May 1999 14:45:51 +0000 (14:45 +0000)]
import gdb-
19990504 snapshot
Catherine Moore [Wed, 5 May 1999 11:34:29 +0000 (11:34 +0000)]
Remove extra copy of elf32_m68k_copy_private_bfd_data.
Catherine Moore [Wed, 5 May 1999 11:00:55 +0000 (11:00 +0000)]
* readelf.c (get_machine_flags): Check for EF_CPU32.
(get_data_encoding): Fix typo.
Catherine Moore [Wed, 5 May 1999 10:58:59 +0000 (10:58 +0000)]
* tc-m68k.c: Include elf/m68k.h.
(m68k_elf_final_processing): New routine.
* tc-m68k.h (elf_tc_final_processing m68k_elf_final_processing):
Define.
Catherine Moore [Wed, 5 May 1999 10:57:16 +0000 (10:57 +0000)]
* m68k.h (EF_CPU32): Define.
Catherine Moore [Wed, 5 May 1999 10:56:18 +0000 (10:56 +0000)]
* elf32-m68k.c (elf32_m68k_set_private_flags): New.
(elf32_m68k_copy_private_bfd_data): New.
(elf32_m68k_merge_private_bfd_data): New.
(elf32_m68k_print_private_bfd_data): New.
(CPU32_FLAG): Define.
(PLT_CPU32_ENTRY_SIZE): Define.
(elf_cpu32_plt0_entry): Declare.
(elf_cpu32_plt_entry): Declare.
(elf_m68k_adjust_dynamic_symbol): Generate cpu32 plt entries.
(elf_m68k_finish_dynamic_symbol): Likewise.
(elf_m68k_finish_dynamic_sections): Likewise.
(elf_backend_plt_header_size): Remove definition.
(bfd_elf32_bfd_copy_private_bfd_data): Define.
(bfd_elf32_bfd_merge_private_bfd_data): Define.
(bfd_elf32_bfd_set_private_flags): Define.
(bfd_elf32_bfd_print_private_bfd_data): Define.
Stan Shebs [Tue, 4 May 1999 18:52:32 +0000 (18:52 +0000)]
Remove pregenerated info file
Jeff Law [Mon, 3 May 1999 09:26:28 +0000 (09:26 +0000)]
* config/tc-hppa.c (md_apply_fix): Handle 22 bit fmt insn like a
17 bit fmt insn.