OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
21 years agoRemove redundant references to V850EA architecture.
Nick Clifton [Mon, 2 Sep 2002 11:44:39 +0000 (11:44 +0000)]
Remove redundant references to V850EA architecture.

21 years ago * arc-opc.c: Include bfd.h.
Alan Modra [Mon, 2 Sep 2002 06:00:05 +0000 (06:00 +0000)]
* arc-opc.c: Include bfd.h.
(arc_get_opcode_mach): Subtract off base bfd_mach value.

21 years ago * aoutx.h (NAME(aout,machine_type)): Recognize bfd_mach_i386_i386
Alan Modra [Mon, 2 Sep 2002 05:58:55 +0000 (05:58 +0000)]
* aoutx.h (NAME(aout,machine_type)): Recognize bfd_mach_i386_i386
and bfd_mach_i386_i386_intel_syntax.

21 years agodaily update
Alan Modra [Mon, 2 Sep 2002 00:00:06 +0000 (00:00 +0000)]
daily update

21 years agodaily update
Alan Modra [Sun, 1 Sep 2002 00:00:07 +0000 (00:00 +0000)]
daily update

21 years ago * read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not
Hans-Peter Nilsson [Sat, 31 Aug 2002 18:51:07 +0000 (18:51 +0000)]
* read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not
ATTRIBUTE_UNUSED.

21 years ago * ld-mmix/bpo-10.d: Tweak for change in symbols handling.
Hans-Peter Nilsson [Sat, 31 Aug 2002 17:23:58 +0000 (17:23 +0000)]
* ld-mmix/bpo-10.d: Tweak for change in symbols handling.
* ld-mmix/bpo-11.d: Ditto.

* ld-mmix/b-nosym.d: Adjust for changed output for absence of
symbols.

* ld-mmix/sec-7m.d: Rename tested section from .debug_info to
.di.
* ld-mmix/sec-7a.s, ld-mmix/sec-7b.s, ld-mmix/sec-7c.s,
ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: Ditto.

21 years agodaily update
Alan Modra [Sat, 31 Aug 2002 00:00:08 +0000 (00:00 +0000)]
daily update

21 years ago * bfd-in.h (align_power): Cast constants to bfd_vma type.
Dave Anglin [Fri, 30 Aug 2002 18:36:18 +0000 (18:36 +0000)]
* bfd-in.h (align_power): Cast constants to bfd_vma type.
* bfd-in2.h (align_power): Likewise.

21 years agoUpdate description to reflect D10V TS3 board.
Nick Clifton [Fri, 30 Aug 2002 11:34:40 +0000 (11:34 +0000)]
Update description to reflect D10V TS3 board.

21 years ago * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
Alan Modra [Fri, 30 Aug 2002 08:30:41 +0000 (08:30 +0000)]
* emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".

21 years ago * v850-dis.c (disassemble): Remove bfd_mach_v850ea case.
Alan Modra [Fri, 30 Aug 2002 08:28:08 +0000 (08:28 +0000)]
* v850-dis.c (disassemble): Remove bfd_mach_v850ea case.

* mips-dis.c (_print_insn_mips): Don't use hard-coded mach constants.

21 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Fri, 30 Aug 2002 08:11:44 +0000 (08:11 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

* cpu-avr.c (compatible): Don't use hard-coded mach constants.
* cpu-powerpc.c (powerpc_compatible): Likewise.
* cpu-rs6000.c (rs6000_compatible): Likewise.

21 years agodaily update
Alan Modra [Fri, 30 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years agoRemove redundant reference to E_V850EA_ARCH.
Nick Clifton [Thu, 29 Aug 2002 15:43:47 +0000 (15:43 +0000)]
Remove redundant reference to E_V850EA_ARCH.

21 years ago * chew.c (paramstuff, outputdots, perform, bang and usage): Remove
Dave Anglin [Thu, 29 Aug 2002 14:37:19 +0000 (14:37 +0000)]
* chew.c (paramstuff, outputdots, perform, bang and usage): Remove
void from function definitions.

21 years agoAdd linker relaxation to v850 toolchain
Nick Clifton [Thu, 29 Aug 2002 06:49:35 +0000 (06:49 +0000)]
Add linker relaxation to v850 toolchain

21 years agodaily update
Alan Modra [Thu, 29 Aug 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * objdump.c (dump_bfd): Restore lines accidentally deleted in
Alan Modra [Wed, 28 Aug 2002 12:32:06 +0000 (12:32 +0000)]
* objdump.c (dump_bfd): Restore lines accidentally deleted in
last commit.

21 years agoAdd TMS320C4x support
Nick Clifton [Wed, 28 Aug 2002 10:38:51 +0000 (10:38 +0000)]
Add TMS320C4x support

21 years ago * write.c (BFD_FAST_SECTION_FILL): Remove unused macro.
Alan Modra [Wed, 28 Aug 2002 03:35:59 +0000 (03:35 +0000)]
* write.c (BFD_FAST_SECTION_FILL): Remove unused macro.
(TC_ADJUST_RELOC_COUNT): Tweak param name.
(TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_SECTION): Likewise.
(TC_FIX_ADJUSTABLE, MD_PCREL_FROM_SECTION): Likewise.
(RELOC_ENUM): Define.
(fix_new_internal): Use RELOC_ENUM.
(fix_new, fix_new_exp): Likewise.
(adjust_reloc_syms): Comment.  Remove unnecessary tests on sym != NULL.
Replace gotos with continue.
(write_relocs): Formatting.  Avoid symbol loops in
RELOC_EXPANSION_POSSIBLE case too.  Report bfd_reloc_outofrange
errors, and error number in other cases.
(fixup_segment): Remove param names from prototype.  Rename
"this_segment_type" to "this_segment".  Update linkrelax comment.
Remove "size, "place" and "where" local vars.  Formatting.  Update
"no symbol" comment.  Remove #if 0 and #if 1.

21 years ago * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
Alan Modra [Wed, 28 Aug 2002 01:55:46 +0000 (01:55 +0000)]
* emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
strtoul and strtoull with bfd_scan_vma.
(gld${EMULATION_NAME}_read_file): Likewise.

21 years ago * ld-discard/discard.exp: xfail m6812.
Alan Modra [Wed, 28 Aug 2002 00:11:40 +0000 (00:11 +0000)]
* ld-discard/discard.exp: xfail m6812.
* ld-scripts/map-address.d: Adjust for extras emitted by pe targets.

21 years ago * configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*.
Alan Modra [Wed, 28 Aug 2002 00:10:47 +0000 (00:10 +0000)]
* configure.tgt: Remove h8[35]00-*-hms*.  Add h8500-*-rtems*.

21 years agodaily update
Alan Modra [Wed, 28 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago * gas/mcore/allinsn.d: Escape dots. Pass -z to objdump and adjust
Alan Modra [Tue, 27 Aug 2002 23:51:47 +0000 (23:51 +0000)]
* gas/mcore/allinsn.d: Escape dots.  Pass -z to objdump and adjust
to suit.  Match coff relocs.  Match "from address pool" comments.
* gas/sparc/pcrel.s: Use 2b label in expressions.
* gas/sparc/pcrel64.s: Likewise.
* gas/sparc/pcrel.d: Adjust to suit.
* gas/sparc/pcrel64.d: Likewise.
* gas/vtable/vtable.exp: Move xfails to ..
(proc vtable_setup_xfails): .. here. Add i866.

21 years ago * gas/macros/macros.exp (strings): Update xfails.
Alan Modra [Tue, 27 Aug 2002 23:35:19 +0000 (23:35 +0000)]
* gas/macros/macros.exp (strings): Update xfails.

21 years ago * app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy.
Alan Modra [Tue, 27 Aug 2002 23:34:18 +0000 (23:34 +0000)]
* app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES.  Tidy.

21 years agoHandle .rdata_runtime_pseudo_reloc sections.
Nick Clifton [Tue, 27 Aug 2002 11:12:53 +0000 (11:12 +0000)]
Handle .rdata_runtime_pseudo_reloc sections.

21 years ago * dwarf2dbg.c: Always include dwarf2dbg.h.
Alan Modra [Tue, 27 Aug 2002 11:09:43 +0000 (11:09 +0000)]
* dwarf2dbg.c: Always include dwarf2dbg.h.
(dwarf2_directive_file): Adjust dummy version args.
* ecoff.c (ecoff_directive_weakext): Add ATTRIBUTE_UNUSED.
* expr.c (clean_up_expression <O_subtract>): Allow subtraction
when symbol values differ.
* read.c (do_align): Add ATTRIBUTE_UNUSED to label.
(pseudo_set <O_subtract>): Remove unnecessary segment test.
* config/obj-bout.c (obj_pseudo_table): Warning fix.

21 years agoRevert ARM linker patch and apply similar patch to bfd instead
Nick Clifton [Tue, 27 Aug 2002 11:01:55 +0000 (11:01 +0000)]
Revert ARM linker patch and apply similar patch to bfd instead

21 years agodaily update
Alan Modra [Tue, 27 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years agoRevert last change.
Alan Modra [Mon, 26 Aug 2002 23:15:48 +0000 (23:15 +0000)]
Revert last change.

21 years ago * gas/m68k/all.exp: xfail non-ELF targets on pcrel test.
Alan Modra [Mon, 26 Aug 2002 11:42:12 +0000 (11:42 +0000)]
* gas/m68k/all.exp: xfail non-ELF targets on pcrel test.

21 years ago * gas/m68hc11/insns.d: Quote dots.
Alan Modra [Mon, 26 Aug 2002 11:35:32 +0000 (11:35 +0000)]
* gas/m68hc11/insns.d: Quote dots.
* gas/m68hc11/opers12.d: Likewise.

21 years ago * gas/ieee-fp/x930509a.exp: Run the test but xfail. Add c80 to xfails.
Alan Modra [Mon, 26 Aug 2002 11:27:02 +0000 (11:27 +0000)]
* gas/ieee-fp/x930509a.exp: Run the test but xfail.  Add c80 to xfails.

21 years ago * gas/vax/quad.exp: Use quad_elf.s for ELF targets.
Alan Modra [Mon, 26 Aug 2002 11:06:32 +0000 (11:06 +0000)]
* gas/vax/quad.exp: Use quad_elf.s for ELF targets.
* gas/vax/quad.s: Align
* gas/vax/quad_elf.s: New version of quad.s with %reg.

21 years ago * gas/sparc/sparc.exp (sparc_elf_setup): New.
Alan Modra [Mon, 26 Aug 2002 10:44:12 +0000 (10:44 +0000)]
* gas/sparc/sparc.exp (sparc_elf_setup): New.
Use it to xfail for non-ELF targets.

21 years ago * gas/tic54x/align.s: Add comment.
Alan Modra [Mon, 26 Aug 2002 10:37:58 +0000 (10:37 +0000)]
* gas/tic54x/align.s: Add comment.
* gas/tic54x/align.d: Adjust .text size for 2002-05-23 write.c change.
* gas/tic54x/extaddr.d: Similarly adjust disassembly tail.

21 years ago * ld-mmix/b-nosym.d: Adjust for "no symbols" on stdout.
Alan Modra [Mon, 26 Aug 2002 10:16:34 +0000 (10:16 +0000)]
* ld-mmix/b-nosym.d: Adjust for "no symbols" on stdout.

21 years ago * binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" on
Alan Modra [Mon, 26 Aug 2002 10:15:46 +0000 (10:15 +0000)]
* binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" on
stdout.
(strip_executable): Likewise.

21 years ago * nm.c (display_rel_file): Don't report "no symbols" as an error.
Alan Modra [Mon, 26 Aug 2002 10:14:15 +0000 (10:14 +0000)]
* nm.c (display_rel_file): Don't report "no symbols" as an error.
* objdump.c (slurp_symtab): Likewise.
(slurp_dynamic_symtab): Likewise.
(dump_symbols): Likewise.  Do print "no symbols" to stdout.

21 years ago * coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC.
Alan Modra [Mon, 26 Aug 2002 09:01:41 +0000 (09:01 +0000)]
* coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC.

21 years ago * config/tc-w65.c (md_section_align): Fix typo.
Alan Modra [Mon, 26 Aug 2002 08:55:33 +0000 (08:55 +0000)]
* config/tc-w65.c (md_section_align): Fix typo.
(md_parse_option): Return 0, not 1.

21 years ago * aoutx.h (NAME(aout,reloc_type_lookup)): Handle BFD_RELOC_8.
Alan Modra [Mon, 26 Aug 2002 08:46:21 +0000 (08:46 +0000)]
* aoutx.h (NAME(aout,reloc_type_lookup)): Handle BFD_RELOC_8.

21 years agodaily update
Alan Modra [Mon, 26 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years agodaily update
Alan Modra [Sun, 25 Aug 2002 00:01:20 +0000 (00:01 +0000)]
daily update

21 years ago * MAINTAINERS: Change my mailing address.
Geoffrey Keating [Sat, 24 Aug 2002 22:43:14 +0000 (22:43 +0000)]
* MAINTAINERS: Change my mailing address.

21 years ago * elf32-sh.c (sh_elf_copy_indirect_symbol): New.
Alan Modra [Sat, 24 Aug 2002 01:44:56 +0000 (01:44 +0000)]
* elf32-sh.c (sh_elf_copy_indirect_symbol): New.
(create_got_section, allocate_dynrelocs, readonly_dynrelocs):
Likewise.
(struct elf_sh_pcrel_relocs_copied): Removed.
(struct elf_sh_dyn_relocs): New.
(struct elf_sh_link_hash_entry): Replace pcrel_relocs_copied
field with dyn_relocs.
(struct elf_sh_link_hash_table): Add short-cuts to get dynamic
sections and sym_sec.
(sh_elf_link_hash_newfunc): Clear dyn_relocs.
(sh_elf_link_hash_table_create): Clear shorts-cuts and sym_sec.
(sh_elf_create_dynamic_sections): Use create_got_section instead
of _bfd_elf_create_got_section.
(sh_elf_check_relocs): Likewise.
(sh_elf_create_dynamic_sections): Use short-cuts to the dynamic
sections.
(sh_elf_adjust_dynamic_symbol, sh_elf_size_dynamic_sections,
sh_elf_relocate_section, sh_elf_check_relocs,
sh_elf_finish_dynamic_symbol, sh_elf_finish_dynamic_sections):
Likewise.
(sh_elf_adjust_dynamic_symbol): Handle nocopyreloc. Keep the
dynamic relocations and avoiding the copy relocation when we
didn't find any dynamic relocations in the section which has
contents or is read-only.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.
(sh_elf_size_dynamic_sections): Don't reset the size of
.rela.got section even if dynamic_sections_created flag is off.
Don't use sh_elf_discard_copies. Scan all input bfd and use
allocate_dynrelocs. Call readonly_dynrelocs to determine
whether we need DT_TEXTREL.
(sh_elf_adjust_dynamic_symbol): Use plt.refcount to determine
whether the symbol was never referred to.
(sh_elf_relocate_section): Use WILL_CALL_FINISH_DYNAMIC_SYMBOL.
(sh_elf_gc_sweep_hook): Fill with the real sweep function.
(sh_elf_check_relocs): Call create_got_section if the short-cut
to .got is null. Increment reference counters only instead of
allocating space on dynamic sections here. Don't conditionalize
uninitialized got.offset value when marking the symbol as a
global offset table entry. Keep relocations for symbols satisfied
by a dynamic library to avoid copy relocations for the symbol.
Set dynobj field of an elf hash table if needed.
(sh_elf_finish_dynamic_sections): Handle null section pointer
correctly.
(elf_backend_copy_indirect_symbol): Defined.
(elf_backend_can_refcount): Defined.

21 years agodaily update
Alan Modra [Sat, 24 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago2002-08-23 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 23 Aug 2002 22:24:57 +0000 (22:24 +0000)]
2002-08-23  Andrew Cagney  <ac131313@redhat.com>

* texinfo/texinfo.tex: Import version 2002-06-04.06.

21 years agoImport config.guess and config.sub.
Andrew Cagney [Fri, 23 Aug 2002 21:22:39 +0000 (21:22 +0000)]
Import config.guess and config.sub.

21 years ago * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
Dave Anglin [Fri, 23 Aug 2002 16:07:02 +0000 (16:07 +0000)]
* MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.

21 years agoUndo previous delta. Add comment explaining why.
Nick Clifton [Fri, 23 Aug 2002 09:42:21 +0000 (09:42 +0000)]
Undo previous delta.  Add comment explaining why.

21 years ago * elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le): Copy
Alan Modra [Fri, 23 Aug 2002 08:26:13 +0000 (08:26 +0000)]
* elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le): Copy
contents of .got.plt[2] to tr0, not address of .got.plt.
(sh_elf_finish_dynamic_symbol): Do not apply GOT_BIAS when
patching absolute plt entry. For shmedia plt entry, set bottom bit
of branch to plt0 as this is a branch to an shmedia instruction.
* elf64-sh64.c (elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le):
Copy contents of .got.plt[2] to tr0, not address of .got.plt.
(elf_sh64_plt_entry_be, elf_sh64_plt_entry_le): Use ptrel to
branch to plt0.
(sh64_elf64_finish_dynamic_symbol): Do not apply GOT_BIAS when
patching absolute plt entry. For shmedia plt entry, branch to
plt0 is now ptrel, so use relative offset.  Set bottom bit of
branch target as it is a branch to an shmedia instruction.

21 years ago * ld-sh/sh64/rd-sh64.exp: New framework file.
Alan Modra [Fri, 23 Aug 2002 08:14:06 +0000 (08:14 +0000)]
* ld-sh/sh64/rd-sh64.exp: New framework file.
* ld-sh/sh64/init-cmpct.d, ld-sh/sh64/init-media.d,
ld-sh/sh64/init64.d, ld-sh/sh64/init.s: New tests for
correct setting of ISA bit for init and fini entry-points.

21 years ago * elf32-sh.c (sh_elf_finish_dynamic_sections): Set LSB of DT_INIT
Alan Modra [Fri, 23 Aug 2002 08:13:12 +0000 (08:13 +0000)]
* elf32-sh.c (sh_elf_finish_dynamic_sections): Set LSB of DT_INIT
value if .init is an SHmedia function.  Similarly for DT_FINI.
* elf64-sh64.c (sh64_elf64_finish_dynamic_sections): Likewise.

21 years agoAdd --with-lib-patch configure switch.
Nick Clifton [Fri, 23 Aug 2002 08:03:32 +0000 (08:03 +0000)]
Add --with-lib-patch configure switch.

21 years agooops - omitted from previous delta
Nick Clifton [Fri, 23 Aug 2002 07:34:44 +0000 (07:34 +0000)]
oops - omitted from previous delta

21 years ago * bfd/elf32-sh.c (sh_elf_size_dynamic_sections): Zero initialize
Alan Modra [Fri, 23 Aug 2002 04:23:37 +0000 (04:23 +0000)]
* bfd/elf32-sh.c (sh_elf_size_dynamic_sections): Zero initialize
dynamic section.
* bfd/elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise.

21 years agodaily update
Alan Modra [Fri, 23 Aug 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years agoNote that if '@' is a comment character then another symbol is used to prefix
Nick Clifton [Thu, 22 Aug 2002 20:10:53 +0000 (20:10 +0000)]
Note that if '@' is a comment character then another symbol is used to prefix
the section's type.

21 years agoUse a simple byte read when reading the return address register column.
Nick Clifton [Thu, 22 Aug 2002 20:00:14 +0000 (20:00 +0000)]
Use a simple byte read when reading the return address register column.

21 years agoopcodes: Fix definition of "in rd,imm16" opcode.
Nick Clifton [Thu, 22 Aug 2002 19:22:35 +0000 (19:22 +0000)]
opcodes: Fix definition of "in rd,imm16" opcode.
gas: Adjust ptr variable also in "case 0" case.

21 years agoSet the last bit of DT_INIT and DT_FINI depending on the type of the function.
Nick Clifton [Thu, 22 Aug 2002 19:11:51 +0000 (19:11 +0000)]
Set the last bit of DT_INIT and DT_FINI depending on the type of the function.

21 years agoAdd powerpc64-*-*bsd* target.
Nick Clifton [Thu, 22 Aug 2002 17:45:36 +0000 (17:45 +0000)]
Add powerpc64-*-*bsd* target.

21 years agoAdd Jeff Law as HPPA maintainer
Nick Clifton [Thu, 22 Aug 2002 17:35:42 +0000 (17:35 +0000)]
Add Jeff Law as HPPA maintainer

21 years agoAdd sh-nto support
Nick Clifton [Thu, 22 Aug 2002 17:27:20 +0000 (17:27 +0000)]
Add sh-nto support

21 years ago * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define.
Jeff Law [Thu, 22 Aug 2002 16:24:24 +0000 (16:24 +0000)]
    * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define.

21 years agoUpdated Turkish translation.
Nick Clifton [Thu, 22 Aug 2002 16:22:03 +0000 (16:22 +0000)]
Updated Turkish translation.

21 years agoSet bfd_error to no_symbols if the symbols could not be read.
Nick Clifton [Thu, 22 Aug 2002 16:12:00 +0000 (16:12 +0000)]
Set bfd_error to no_symbols if the symbols could not be read.

21 years agoFix arm-aout failures
Nick Clifton [Thu, 22 Aug 2002 16:10:05 +0000 (16:10 +0000)]
Fix arm-aout failures

21 years agoTurn off default excluded functions in FLAT profile.
Nick Clifton [Thu, 22 Aug 2002 11:07:15 +0000 (11:07 +0000)]
Turn off default excluded functions in FLAT profile.

21 years ago * elf32-m68hc11.c: Formatting fixes.
Alan Modra [Thu, 22 Aug 2002 05:41:53 +0000 (05:41 +0000)]
* elf32-m68hc11.c: Formatting fixes.
(elf32_m68hc11_gc_mark_hook): Correct params.  Remove unnecessary test.
* elf32-m68hc12.c: Formatting fixes.
(elf32_m68hc11_gc_mark_hook): Correct params.  Remove unnecessary test.

21 years ago * gas/ppc/ppc.exp: Don't run e500 test on xcoff targets.
Alan Modra [Thu, 22 Aug 2002 05:23:43 +0000 (05:23 +0000)]
* gas/ppc/ppc.exp: Don't run e500 test on xcoff targets.
* gas/ppc/astest2.d: Escape dots.

21 years ago * coff-rs6000.c (rs6000coff_vec <object_flags>): Add SEC_CODE and
Alan Modra [Thu, 22 Aug 2002 05:13:04 +0000 (05:13 +0000)]
* coff-rs6000.c (rs6000coff_vec <object_flags>): Add SEC_CODE and
SEC_DATA.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
(aix5coff64_vec): Likewise.

21 years ago * elf-bfd.h (struct elf_backend_data): Add struct elf_backend_data
Alan Modra [Thu, 22 Aug 2002 01:27:20 +0000 (01:27 +0000)]
* elf-bfd.h (struct elf_backend_data): Add struct elf_backend_data
param to elf_backend_copy_indirect_symbol.
(_bfd_elf_link_hash_copy_indirect): Likewise.
* elflink.h (elf_add_default_symbol, elf_fix_symbol_flags): Adjust
calls to copy_indirect_symbol.
* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
* elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
* elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise.
* elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
* elfxx-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise.
* elfxx-mips.h (_bfd_mips_elf_copy_indirect_symbol): Likewise.
* elf.c (_bfd_elf_link_hash_copy_indirect): Likewise.  Properly
test refcounts for "used" values.

21 years agodaily update
Alan Modra [Thu, 22 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago2002-08-21 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 21 Aug 2002 23:37:34 +0000 (23:37 +0000)]
2002-08-21  Elena Zannoni  <ezannoni@redhat.com>

        * config/tc-ppc.c (ppc_cleanup): Do something only if format
        is ELF.
        (ppc_apuinfo_section_add): Define only if format is ELF.
        (md_assemble): Emit APUinfo section only if format is ELF.
        Fix formatting.

21 years agodaily update
Alan Modra [Wed, 21 Aug 2002 00:00:03 +0000 (00:00 +0000)]
daily update

21 years ago * config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): Cast.
Alan Modra [Tue, 20 Aug 2002 23:49:27 +0000 (23:49 +0000)]
* config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): Cast.
* config/tc-frv.c: Likewise.
* config/tc-hppa.c: Likewise.
* config/tc-ia64.c: Likewise.
* config/tc-ip2k.c: Likewise.
* config/tc-m68hc11.c: Likewise.
* config/tc-m68k.c: Likewise.
* config/tc-mmix.c: Likewise.
* config/tc-mn10300.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-sparc.c: Likewise.
* config/tc-v850.c: Likewise.

21 years ago * ldlang.c (offsetof): Define if not defined.
Alan Modra [Tue, 20 Aug 2002 23:48:18 +0000 (23:48 +0000)]
* ldlang.c (offsetof): Define if not defined.

21 years ago * gmon_io.c (gmon_io_read_64, gmon_io_write_64): Define only if
Alan Modra [Tue, 20 Aug 2002 23:47:26 +0000 (23:47 +0000)]
* gmon_io.c (gmon_io_read_64, gmon_io_write_64): Define only if
BFD_HOST_U_64_BIT is defined.
(gmon_io_read_vma, gmon_io_write_vma): Add ifdefs.

21 years ago * readelf.c (parse_args): Change debug_dump_opt to static.
Alan Modra [Tue, 20 Aug 2002 23:46:41 +0000 (23:46 +0000)]
* readelf.c (parse_args): Change debug_dump_opt to static.

21 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Add PARAMS to
Alan Modra [Tue, 20 Aug 2002 23:45:41 +0000 (23:45 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Add PARAMS to
argument declaration.

21 years ago[gas/]
Richard Sandiford [Tue, 20 Aug 2002 08:28:35 +0000 (08:28 +0000)]
[gas/]
* config/tc-mips.c (macro2): Implement rotates by zero using shifts
        by zero.

[gas/testsuite]
* gas/mips/rol.s: Add rotate by zero tests.
* gas/mips/rol.d: Update accordingly.
* gas/mips/rol64.d: Expect rotates by zero to use dsrl.

21 years ago* Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
Alexandre Oliva [Tue, 20 Aug 2002 03:04:03 +0000 (03:04 +0000)]
* Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
* configure.in (CC_FOR_TARGET, GCJ_FOR_TARGET, CXX_FOR_TARGET,
CXX_FOR_TARGET_FOR_RECURSIVE_MAKE): Likewise.

21 years agodaily update
Alan Modra [Tue, 20 Aug 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2002-08-19 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 19 Aug 2002 21:12:34 +0000 (21:12 +0000)]
2002-08-19  Elena Zannoni <ezannoni@redhat.com>

        * archures.c (bfd_mach_ppc_e500): Added.
        * bfd-in2.h: Rebuilt.
        * cpu-powerpc.c (bfd_powerpc_archs): Added e500.

21 years ago2002-08-19 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 19 Aug 2002 21:08:55 +0000 (21:08 +0000)]
2002-08-19  Elena Zannoni  <ezannoni@redhat.com>

        From matthew green  <mrg@redhat.com>

        * config/tc-ppc.c (PPC_OPCODE_CLASSIC): Enable this everywhere
        PPC_OPCODE_PPC is, except for BookE architectures.
        (md_parse_option): Add support for -mspe.
        (md_show_usage): Add -mspe.
        (md_parse_option): Add support for -me500 and
        -me500x2 to generate code for Motorola e500 core complex.
        (md_show_usage): Add -me500 and -me500x2.

        (PPC_APUINFO_ISEL, PPC_APUINFO_PMR, PPC_APUINFO_RFMCI,
        PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE, PPC_APUINFO_EFS,
        PPC_APUINFO_BRLOCK): New macros.

        (ppc_cleanup): New function.
        (ppc_apuinfo_section_add): New function.
        (APUID): New macro.
        (md_assemble): Collect info and write the APUinfo section.

        * config/tc-ppc.h (md_cleanup): Define.
        (ppc_cleanup): Export.
        (ELF_TC_SPECIAL_SECTIONS): Add .PPC.EMB.apuinfo section.

21 years ago2002-08-19 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 19 Aug 2002 21:01:02 +0000 (21:01 +0000)]
2002-08-19  Elena Zannoni   <ezannoni@redhat.com>

        From  matthew green  <mrg@redhat.com>

        * e500.s: New tests for e500 instructions.
        * e500.d: Results for new test.
        * ppc.exp: Test e500.s.

21 years ago2002-08-19 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 19 Aug 2002 20:59:10 +0000 (20:59 +0000)]
2002-08-19  Elena Zannoni  <ezannoni@redhat.com>

        From  matthew green  <mrg@redhat.com>

        * ppc-dis.c (powerpc_dialect): Support `-m500', `-m500x2' and
        `-mefs'. Turn off AltiVec for E500 and efs.
        (print_insn_powerpc): Don't print an AltiVec instruction if the
        dialect is not efs.

        * ppc-opc.c (insert_pmrn, extract_pmrn, insert_ev2, extract_ev2,
        insert_ev4, extract_ev4, insert_ev8, extract_ev8): New functions
        for extracting pmrn/evld/evstd/etc operands.
        (CRB, CRFD, CRFS, DC, RD): New instruction fields.
        (CT): Make this equal to RD + 1.
        (PMRN): New operand.
        (RA): Update.
        (EVUIMM, EVUIMM_2, EVUIMM_4, EVUIMM_8): New operands.
        (WS): Update.
        (EVSEL, EVSEL_MASK): New instruction form and mask for EVSEL.
        (ISEL, ISEL_MASK): New instruction form and mask for ISEL.
        (XISEL, XISEL_MASK): New instruction form and mask for ISEL.
        (CTX, CTX_MASK): New instruction form and mask for context cache
        instructions.
        (UCTX, UCTX_MASK): New instruction form and mask for user context
        cache instructions.
        (XC, XC_MASK, XUC, XUC_MASK): New instruction forms.
        (CLASSIC): New define.
        (PPCESPE): New define.
        (PPCISEL, , PPCBRLK, PPCPMR, PPCCHLK, PPCRFMI): New
        defines for integer select, cache control, branch
        locking, power management, cache locking and machine check
        APU instructions, respectively.
        (efsabs, efsnabs, efsneg, efsadd, efssub, efsmul,
        efsdiv, efscmpgt, efscmplt, efscmpeq, efststgt, efststlt,
        efststeq, efscfui, efsctuiz, efscfsi, efscfuf, efscfsf,
        efsctui, efsctsi, efsctsiz, efsctuf, efsctsf,
        evaddw, evaddiw, evsubfw, evsubifw, evabs, evneg, evextsb,
        evextsh, evrndw, evcntlzw, evcntlsw, brinc, evand, evandc, evor,
        evorc, evxor, eveqv, evnand, evnor, evrlw, evrlwi, evslw, evslwi,
        evsrws, evsrwu, evsrwis, evsrwiu, evsplati, evsplatfi, evmergehi,
        evmergelo, evmergehilo, evmergelohi, evcmpgts, evcmpgtu, evcmplts,
        evcmpltu, evcmpeq, evsel, evldd, evlddx, evldw, evldwx, evldh,
        evldhx, evlwhe, evlwhex, evlwhou, evlwhoux, evlwhos, evlwhosx,
        evlwwsplat, evlwwsplatx, evlwhsplat, evlwhsplatx, evlhhesplat,
        evlhhesplatx, evlhousplat, evlhousplatx, evlhossplat, evlhossplatx,
        evstdd, evstddx, evstdw, evstdwx, evstdh, evstdhx, evstwwe,
        evstwwex, evstwwo, evstwwox, evstwhe, evstwhex, evstwho, evstwhox,
        evfsabs, evfsnabs, evfsneg, evfsadd, evfssub, evfsmul, evfsdiv,
        evfscmpgt, evfscmplt, evfscmpeq, evfststgt, evfststlt, evfststeq,
        evfscfui, evfsctuiz, evfscfsi, evfscfuf, evfscfsf, evfsctui,
        evfsctsi, evfsctsiz, evfsctuf, evfsctsf, evsabs, evsnabs, evsneg,
        evsadd, evssub, evsmul, evsdiv, evscmpgt, evsgmplt, evsgmpeq,
        evststgt, evststlt, evststeq, evscfui, evscfsi, evscfuf, evscfsf,
        evsctui, evsctuiz, evsctsi, evsctsiz, evsctuf, evsctsf, evmhossf,
        evmhossfa, evmhosmf, evmhosmfa, evmhosmi, evmhosmia, evmhoumi,
        evmhoumia, evmhessf, evmhessfa, evmhesmf, evmhesmfa, evmhesmi,
        evmhesmia, evmheumi, evmheumia, evmhossfaaw, evmhossiaaw,
        evmhosmfaaw, evmhosmiaaw, evmhousiaaw, evmhoumiaaw, evmhessfaaw,
        evmhessiaaw, evmhesmfaaw, evmhesmiaaw, evmheusiaaw, evmheumiaaw,
        evmhossfanw, evmhossianw, evmhosmfanw, evmhosmianw, evmhousianw,
        evmhoumianw, evmhessfanw, evmhessianw, evmhesmfanw, evmhesmianw,
        evmheusianw, evmheumianw, evmhogsmfaa, evmhogsmiaa, evmhogumiaa,
        evmhegsmfaa, evmhegsmiaa, evmhegumiaa, evmhogsmfan, evmhogsmian,
        evmhogumian, evmhegsmfan, evmhegsmian, evmhegumian, evmwhssf,
        evmwhssfa, evmwhssfaa, evmwhssmaa, evmwhsmfaa, evmwhsmiaa,
        evmwhusiaa, evmwhumiaa, evmwhssfan, evmwhssian, evmwhsmfan,
        evmwhsmian, evmwhusian, evmwhumian, evmwhgssfaa, evmwhgsmfaa,
        evmwhgsmiaa, evmwhgumiaa, evmwhgssfan, evmwhgsmfan, evmwhgsmian,
        evmwhgumian, evmwhsmf, evmwhsmfa, evmshsmi, evmshsmia, evmshumi,
        evmshumia, evmmlssf, evmmlssfa, evmwlsmf, evmwlsmfa, evmwlumi,
        evmwlumia, evmwlssfaaw, evmwlssiaaw, evmwlsmfaaw, evmwlsmiaaw,
        evmwlusiaaw, evmwlumiaaw, evmwissfanw, evmwissianw, evmwlsmfanw,
        evmwlsmianw, evmwlusianw, evmwlumianw, evmwssf, evmwssfa,
        evmwsmf, evmwsmfa, evmwsmi, evmwsmia, evmwumi, evmwumia,
        evmwssfaa, evmwsmfaa, evmwsmiaa, evmwumiaa, evmwssfan, evmwsmfan,
        evmwsmian, evmwumian, evaddssiaaw, evaddsmiaaw, evaddusiaaw,
        evaddumiaaw, evsubfssiaaw, evsubfsmiaaw, evsubfusiaaw,
        evsubfumiaaw, evmra, evdivws, evdivws): New e500x2 Core Complex
        instructions.
        (rfmci): New machine check APU instruction.
        (isel): New integer select APU instructino.
        (icbtls, icbtlse, icblc, icblce, dcbtls, dcbtlse, dcbtstls,
        dcbtstlse, dcblc, dcblce): New cache control APU instructions.
        (mtspefscr, mfspefscr): New instructions.
        (mfpmr, mtpmr): New performance monitor APU instructions.
        (savecontext): New context cache APU instructions.
        (bblels, bbelr): New branch locking APU instructions.
        (bblels, bbelr): New instructions.
        (mftbl, mftbu, mftb): Set as CLASSIC instructions.  Add BOOKE alias.

21 years ago2002-08-19 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 19 Aug 2002 20:55:48 +0000 (20:55 +0000)]
2002-08-19  Elena Zannoni <ezannoni@redhat.com>

        From matthew green  <mrg@redhat.com>

        * ppc.h (PPC_OPCODE_SPE): New opcode flag for Powerpc e500
        instructions.
        (PPC_OPCODE_ISEL, PPC_OPCODE_BRLOCK, PPC_OPCODE_PMR,
        PPC_OPCODE_CACHELCK, PPC_OPCODE_RFMCI): New opcode flags for the
        e500x2 Integer select, branch locking, performance monitor,
        cache locking and machine check APUs, respectively.
        (PPC_OPCODE_EFS): New opcode type for efs* instructions.
        (PPC_OPCODE_CLASSIC): New opcode type for Classic PowerPC instructions.

21 years ago * elf32-m68hc12.c (elf_backend_can_gc_sections): False.
Alan Modra [Mon, 19 Aug 2002 06:38:43 +0000 (06:38 +0000)]
* elf32-m68hc12.c (elf_backend_can_gc_sections): False.

21 years agodaily update
Alan Modra [Mon, 19 Aug 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years agodaily update
Alan Modra [Sun, 18 Aug 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago* elf.c (bfd_elf_get_elf_syms): Change type of `esym' to
Andrew Cagney [Sat, 17 Aug 2002 16:09:02 +0000 (16:09 +0000)]
* elf.c (bfd_elf_get_elf_syms): Change type of `esym' to
`bfd_byte'.

21 years ago * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Use the
Stan Cox [Sat, 17 Aug 2002 15:31:29 +0000 (15:31 +0000)]
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Use the
IRIX 6 segment layout for NEWABI.

21 years ago * config/obj-elf.c (obj_elf_change_section): Make non-static.
Stan Cox [Sat, 17 Aug 2002 15:09:29 +0000 (15:09 +0000)]
* config/obj-elf.c (obj_elf_change_section): Make non-static.
config/tc-mips.c (s_change_section): New function to support
IRIX .section pseudo-op.

21 years agoRevert previous delta - it was bogus.
Nick Clifton [Sat, 17 Aug 2002 09:59:34 +0000 (09:59 +0000)]
Revert previous delta - it was bogus.