OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
24 years ago2000-05-13 H.J. Lu (hjl@gnu.org)
H.J. Lu [Sat, 13 May 2000 16:54:32 +0000 (16:54 +0000)]
2000-05-13  H.J. Lu  (hjl@gnu.org)

* lib/ld-lib.exp (default_ld_link): Redirect the linker output
to link_output and make it global.

* ld-elfvsb/elf-offset.ld: New. ELF visibility fearture
tests.
* ld-elfvsb/elfvsb.dat: Likewise.
* ld-elfvsb/elfvsb.exp: Likewise.
* ld-elfvsb/main.c: Likewise.
* ld-elfvsb/sh1.c: Likewise.
* ld-elfvsb/sh2.c: Likewise.

24 years agoFix cpu_flags for sys{enter,exit} fx{save,restore}
Alan Modra [Sat, 13 May 2000 14:01:54 +0000 (14:01 +0000)]
Fix cpu_flags for sys{enter,exit} fx{save,restore}

24 years agoQuell some gcc warnings by defining textdomain and bindtextdomain
Alan Modra [Sat, 13 May 2000 13:05:36 +0000 (13:05 +0000)]
Quell some gcc warnings by defining textdomain and bindtextdomain
as intl/libgettext.h does.

24 years agoAdd x86 gas -q option to quiet some x86 gas warnings.
Alan Modra [Sat, 13 May 2000 12:49:55 +0000 (12:49 +0000)]
Add x86 gas -q option to quiet some x86 gas warnings.
Remove useless -m flag_do_long_jump from x86 gas.
If BFD_ASSEMBLER, store --defsym value in a bfd_vma, and use scan_bfd_vma.

24 years ago`.arch cpu_type' pseudo for x86.
Alan Modra [Sat, 13 May 2000 09:26:23 +0000 (09:26 +0000)]
`.arch cpu_type' pseudo for x86.

24 years ago2000-05-12 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 13 May 2000 06:38:34 +0000 (06:38 +0000)]
2000-05-12  H.J. Lu  <hjl@gnu.org>

* nlmconv.c (temp_filename): Removed.

* nlmconv.c (link_inputs): Use make_temp_file () instead of
choose_temp_base ().
* objdump.c (display_target_list): Likewise.
(display_info_table): Likewise.

24 years ago * config.sub (basic_machine): Recognize hppa64 as a valid cpu type.
Jeff Law [Fri, 12 May 2000 17:23:42 +0000 (17:23 +0000)]
    * config.sub (basic_machine): Recognize hppa64 as a valid cpu type.

24 years agoFix disassembly of DLRS{H|B} instruction
Nick Clifton [Fri, 12 May 2000 17:15:21 +0000 (17:15 +0000)]
Fix disassembly of DLRS{H|B} instruction

24 years agoRemove the erroneous ">>>>>>> 1.419".
H.J. Lu [Fri, 12 May 2000 15:35:15 +0000 (15:35 +0000)]
Remove the erroneous ">>>>>>> 1.419".

24 years ago* config/tc-mn10300.h (md_end): Define.
Alexandre Oliva [Fri, 12 May 2000 06:16:30 +0000 (06:16 +0000)]
* config/tc-mn10300.h (md_end): Define.
(mn10300_finalize): Declare.
* config/tc-mn10300.c: Include dwarf2dbg.h.
(debug_line): Define.
(md_assemble): Generate dwarf2 line info.
(mn10300_finalize): New function.  Finalize dwarf2 info.

24 years ago(bfd_target_vector): #ifdef BFD64 rs6000coff64_vec
Alan Modra [Fri, 12 May 2000 06:07:04 +0000 (06:07 +0000)]
(bfd_target_vector): #ifdef BFD64 rs6000coff64_vec

24 years agoRestore some functionality removed by previous patch.
Alan Modra [Thu, 11 May 2000 23:24:27 +0000 (23:24 +0000)]
Restore some functionality removed by previous patch.
Tidy printing of bfd_vma's.

24 years agoDon't mask top 32 bits of 64-bit address.
Alan Modra [Thu, 11 May 2000 07:10:19 +0000 (07:10 +0000)]
Don't mask top 32 bits of 64-bit address.

24 years agoAdd toplevel configure support for ia64-elf.
Jim Wilson [Thu, 11 May 2000 04:27:08 +0000 (04:27 +0000)]
Add toplevel configure support for ia64-elf.
* configure.in (ia64*-*-elf*): Add gdb and friends to noconfigdirs.

24 years agoUlf Carlsson's patches:
Alan Modra [Thu, 11 May 2000 01:55:11 +0000 (01:55 +0000)]
Ulf Carlsson's patches:
Include *-*-linux* in svr4pic tests
Test weak symbol handling.

24 years ago(md_estimate_size_before_relax): Use the external version of
Alan Modra [Thu, 11 May 2000 01:48:09 +0000 (01:48 +0000)]
(md_estimate_size_before_relax): Use the external version of
the relocation for weak symbols.

24 years ago2000-05-10 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 10 May 2000 23:12:35 +0000 (23:12 +0000)]
2000-05-10  H.J. Lu  <hjl@gnu.org>

* ldlang.c (open_input_bfds): Don't load the same file within
a group again if the whole archive has been loaded already.

24 years ago* ppc-opc.c (powerpc_opcodes): Make the predicted-branch opcodes
Geoffrey Keating [Wed, 10 May 2000 19:42:25 +0000 (19:42 +0000)]
* ppc-opc.c (powerpc_opcodes): Make the predicted-branch opcodes
also available in common mode when powerpc syntax is being used.

24 years agoUnwind info bug fixes from David Mosberger.
Jim Wilson [Tue, 9 May 2000 01:54:37 +0000 (01:54 +0000)]
Unwind info bug fixes from David Mosberger.
* config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed
frame size in units of 16 bytes, as required per SW Conventions manual.
(output_unw_records): Output info-block header as a dword to get
byte-order right.

24 years agoFix some nits shown up by objcopy.
Alan Modra [Tue, 9 May 2000 00:43:44 +0000 (00:43 +0000)]
Fix some nits shown up by objcopy.

24 years ago * djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst
Eli Zaretskii [Mon, 8 May 2000 15:13:30 +0000 (15:13 +0000)]
* djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst
        with the version name.

24 years ago * djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst
Eli Zaretskii [Mon, 8 May 2000 15:06:26 +0000 (15:06 +0000)]
* djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst
        with the version name.

* config/djgpp/djconfig.sh: Use more warning switches.

* config/djgpp/fnchange.lst: Replace the leading gdb-0222 with the
        @V@ placebo.

24 years ago(print_insn_tic54x): Declare.
Alan Modra [Mon, 8 May 2000 11:01:40 +0000 (11:01 +0000)]
(print_insn_tic54x): Declare.

24 years agoMichael Sokolov's 68000 patches + assorted compiler warning fixes.
Alan Modra [Mon, 8 May 2000 10:24:06 +0000 (10:24 +0000)]
Michael Sokolov's 68000 patches + assorted compiler warning fixes.

24 years agoFix breakage from 2000-03-31 bfd/srec.c change.
Alan Modra [Mon, 8 May 2000 10:11:19 +0000 (10:11 +0000)]
Fix breakage from 2000-03-31 bfd/srec.c change.

24 years agoFix coredump discovered running m68k testsuite.
Alan Modra [Mon, 8 May 2000 10:00:27 +0000 (10:00 +0000)]
Fix coredump discovered running m68k testsuite.

24 years agoKill compiler warnings with ATTRIBUTE_UNUSED.
Alan Modra [Mon, 8 May 2000 07:22:54 +0000 (07:22 +0000)]
Kill compiler warnings with ATTRIBUTE_UNUSED.

24 years ago* trad-core.c (trad_unix_core_file_p): Return
Alan Modra [Mon, 8 May 2000 06:57:39 +0000 (06:57 +0000)]
* trad-core.c (trad_unix_core_file_p): Return
bfd_error_wrong_format rather than bfd_error_file_truncated.

24 years agoDataDirectory virtual address is relative. Fix to suit.
Alan Modra [Mon, 8 May 2000 05:52:58 +0000 (05:52 +0000)]
DataDirectory virtual address is relative.  Fix to suit.

24 years ago(setup_section): Add const and gettext calls for err.
Alan Modra [Mon, 8 May 2000 04:28:06 +0000 (04:28 +0000)]
(setup_section): Add const and gettext calls for err.

24 years agoSupport for tic54x target.
Timothy Wall [Sat, 6 May 2000 17:14:34 +0000 (17:14 +0000)]
Support for tic54x target.

24 years ago * xcoff.h: Rename to xcoff-target.h
Clinton Popetz [Sat, 6 May 2000 01:47:18 +0000 (01:47 +0000)]
* xcoff.h: Rename to xcoff-target.h
* Makefile.am: Change all instances of xcoff.h to xcoff-target.h
* coff-rs6000.c: Ditto.
* coff64-rs6000.c: Ditto.
* coff-pmac.c: Ditto.
* Makefile.in: Regenerate.

24 years agobfd:
Clinton Popetz [Sat, 6 May 2000 01:41:50 +0000 (01:41 +0000)]
bfd:
* coffcode.h (coff_set_arch_mach_hook, coff_set_flags):
Change U802TOC64MAGIC to U803XTOCMAGIC.

include:
* coff/rs6k64.h (U802TOC64MAGIC): Change to U803XTOCMAGIC.

24 years ago2000-05-04 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Fri, 5 May 2000 18:12:53 +0000 (18:12 +0000)]
2000-05-04  Michael Snyder  <msnyder@seadog.cygnus.com>

        * elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1.
        * bfd-in.h: Prototype bfd_elf_get_arch_size.
        * bfd-in2.h: Prototype bfd_elf_get_arch_size.

24 years agoFix thinko in 2000-05-02 change.
Alan Modra [Thu, 4 May 2000 12:45:43 +0000 (12:45 +0000)]
Fix thinko in 2000-05-02 change.

24 years ago2000-05-03 Martin v. Löwis <loewis@informatik.hu-berlin.de>
H.J. Lu [Thu, 4 May 2000 06:38:33 +0000 (06:38 +0000)]
2000-05-03  Martin v. Löwis  <loewis@informatik.hu-berlin.de>

* elflink.h (elf_link_add_object_symbols): Reset dynindx for
hidden and internal symbols.
(elf_fix_symbol_flags): Clear NEEDS_PLT for symbols with
visibility.
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Do not
assign a PLT or GOT entry to symbols with hidden and
internal visibility.

24 years agoJust mention current year in printed copyright message.
Alan Modra [Thu, 4 May 2000 03:53:00 +0000 (03:53 +0000)]
Just mention current year in printed copyright message.

24 years ago* ppc-opc.c (VA, VB, VC, VD, VS, SIMM, UIMM, SHB): New macros, for
J.T. Conklin [Wed, 3 May 2000 22:25:08 +0000 (22:25 +0000)]
* ppc-opc.c (VA, VB, VC, VD, VS, SIMM, UIMM, SHB): New macros, for
vector unit operands.
(VX, VX_MASK, VXA, VXA_MASK, VXR, VXR_MASK): New macros, for vector
unit instruction formats.
(PPCVEC): New macro, mask for vector instructions.
(powerpc_operands): Add table entries for above operand types.
(powerpc_opcodes): Add table entries for vector instructions.

* ppc-dis.c (print_insn_big_powerpc): Add PPC_OPCODE_ALTIVEC to mask.
(print_insn_little_powerpc): Likewise.
(print_insn_powerpc): Prepend 'v' when printing vector registers.

24 years ago* config/tc-ppc.c (pre_defined_registers): Add entries for vector
J.T. Conklin [Wed, 3 May 2000 22:23:01 +0000 (22:23 +0000)]
* config/tc-ppc.c (pre_defined_registers): Add entries for vector
unit registers.
(md_parse_option): Recognize -m7400.

24 years ago* ppc.h (PPC_OPCODE_ALTIVEC): New opcode flag for vector unit.
J.T. Conklin [Wed, 3 May 2000 22:19:45 +0000 (22:19 +0000)]
* ppc.h (PPC_OPCODE_ALTIVEC): New opcode flag for vector unit.
(PPC_OPERAND_VR): New operand flag for vector registers.

24 years ago * config/atof-ieee.c (gen_to_words): When adding carry back in,
Ian Lance Taylor [Wed, 3 May 2000 21:23:52 +0000 (21:23 +0000)]
* config/atof-ieee.c (gen_to_words): When adding carry back in,
don't permit lp to become less than the words array.

24 years agoFix little endian relocs
Nick Clifton [Wed, 3 May 2000 18:50:55 +0000 (18:50 +0000)]
Fix little endian relocs

24 years agoFix 64 bit target section start on 32 bit machine.
Alan Modra [Wed, 3 May 2000 11:22:42 +0000 (11:22 +0000)]
Fix 64 bit target section start on 32 bit machine.

24 years agoUpdate copyright message.
Alan Modra [Wed, 3 May 2000 06:38:40 +0000 (06:38 +0000)]
Update copyright message.

24 years agogo32 bss alignment.
Alan Modra [Wed, 3 May 2000 04:25:33 +0000 (04:25 +0000)]
go32 bss alignment.

24 years ago2000-05-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 2 May 2000 17:54:32 +0000 (17:54 +0000)]
2000-05-02  H.J. Lu  <hjl@gnu.org>

* readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
and ELFOSABI_OPENBSD.

24 years ago2000-05-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 2 May 2000 17:51:36 +0000 (17:51 +0000)]
2000-05-02  H.J. Lu  <hjl@gnu.org>

* elf.c (prep_headers): USe ELFOSABI_NONE instead of
ELFOSABI_SYSV.

24 years ago2000-05-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 2 May 2000 17:49:32 +0000 (17:49 +0000)]
2000-05-02  H.J. Lu  <hjl@gnu.org>

* common.h (ELFOSABI_NONE): Renamed from ELFOSABI_SYSV.
(ELFOSABI_MODESTO): Defined.
(ELFOSABI_OPENBSD): Likewise.

24 years agoCorrect a typo in the author's surname!
Ben Elliston [Tue, 2 May 2000 12:47:19 +0000 (12:47 +0000)]
Correct a typo in the author's surname!

24 years agoRestore elf32-hppa target vec.
Alan Modra [Tue, 2 May 2000 11:18:33 +0000 (11:18 +0000)]
Restore elf32-hppa target vec.

24 years agofix gcc warnings
Alan Modra [Tue, 2 May 2000 02:29:17 +0000 (02:29 +0000)]
fix gcc warnings

24 years agoFix just added ia64-linux support to conform with others.
Jim Wilson [Tue, 2 May 2000 00:58:51 +0000 (00:58 +0000)]
Fix just added ia64-linux support to conform with others.
* configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.

24 years agoLd testsuite support for ia64-linux.
Jim Wilson [Tue, 2 May 2000 00:39:34 +0000 (00:39 +0000)]
Ld testsuite support for ia64-linux.
* configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
host "ia64-*-linux-gnu*".

24 years agoFix IA-64 --enable-targets=all bug reports.
Jim Wilson [Tue, 2 May 2000 00:23:54 +0000 (00:23 +0000)]
Fix IA-64 --enable-targets=all bug reports.
* Makefile.am (BFD32_BACKENDS): Add efi-app-ia32.lo.
(BFD32_BACKENDS_CFILES): Add efi-app-ia32.c.
(BFD64_BACKENDS): Delete coff-ia64.lo.  Add efi-app-ia64.lo.
(BFD64_BACKENDS_CFILES): Delete coff-ia64.c.  Add efi-app-ia64.c.
* Makefile.in: Rebuild.

24 years agoAssorted code cleanup and fixes for hppa. Re-enable elf32-hppa as
Alan Modra [Tue, 2 May 2000 00:12:52 +0000 (00:12 +0000)]
Assorted code cleanup and fixes for hppa.  Re-enable elf32-hppa as
it now compiles even if it doesn't work too well.

24 years agoelf fixes.
Alan Modra [Tue, 2 May 2000 00:00:27 +0000 (00:00 +0000)]
elf fixes.

24 years agoDuplicate hppa*-*-*elf* behaviour for hppa*-*-linux*.
Alan Modra [Mon, 1 May 2000 23:56:49 +0000 (23:56 +0000)]
Duplicate hppa*-*-*elf* behaviour for hppa*-*-linux*.
Fix elf tests for targets that define LABELS_WITHOUT_COLONS.

24 years agoFix tests to remove leading zeroes from labels
Nick Clifton [Mon, 1 May 2000 18:08:39 +0000 (18:08 +0000)]
Fix tests to remove leading zeroes from labels

24 years ago * h8300.h (EOP): Add missing initializer.
Jeff Law [Mon, 1 May 2000 16:55:50 +0000 (16:55 +0000)]
    * h8300.h (EOP): Add missing initializer.

24 years ago* macro.c (macro_expand_body): Don't prepend macro number with zeroes.
Catherine Moore [Mon, 1 May 2000 14:01:06 +0000 (14:01 +0000)]
* macro.c (macro_expand_body): Don't prepend macro number with zeroes.

24 years ago * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
Denis Chertykov [Mon, 1 May 2000 11:14:05 +0000 (11:14 +0000)]
* config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
More comments added.
(md_begin): Removed "construct symbols for each register name".
Because register names conflicts with GCC generated function
names.
(avr_operand): Now constant numbers can be used as a register
identifiers (0 as r0, 31 as r31).
(md_assemble): use skip_space () before parsing instruction
operands.

24 years ago * config/tc-avr.c: New AVR_ISA_ defined.
Denis Chertykov [Mon, 1 May 2000 08:48:32 +0000 (08:48 +0000)]
* config/tc-avr.c: New AVR_ISA_ defined.
(md_assemble): Handle opcodes with optional operands (lpm,elpm).
(avr_operand): Handle 'a', 'v' and 'z' constraint letters needed
for `fmul', `movw' and `lpm R,Z' instructions.
(avr_operands): Warn if current opcode is a two-word instruction
and previous opcode was cpse/sbic/sbis/sbrc/sbrs.
(avr_opcodes): New commands added.
(REGISTER_P): Check 'a' and 'v' constraint letters.
(mcu_types): New MCU added.

24 years ago * avr-dis.c (reg_fmul_d): New. Extract destination register from
Denis Chertykov [Mon, 1 May 2000 08:45:11 +0000 (08:45 +0000)]
* avr-dis.c (reg_fmul_d): New. Extract destination register from
FMUL instruction.
(reg_fmul_r): New. Extract source register from FMUL instruction.
(reg_muls_d): New. Extract destination register from MULS instruction.
(reg_muls_r): New. Extract source register from MULS instruction.
(reg_movw_d): New. Extract destination register from MOVW instruction.
(reg_movw_r): New. Extract source register from MOVW instruction.
(print_insn_avr): Handle MOVW, MULS, MULSU, FMUL, FMULS, FMULSU,
EICALL, EIJMP, LPM r,Z, ELPM r,Z, SPM, ESPM instructions.

24 years ago * readelf.c (guess_is_rela): AVR uses RELA relocations.
Denis Chertykov [Mon, 1 May 2000 06:53:41 +0000 (06:53 +0000)]
* readelf.c (guess_is_rela): AVR uses RELA relocations.
(get_machine_name): machine name for EM_AVR added.

24 years agoEnsure all pe targets use bfd.
Alan Modra [Mon, 1 May 2000 06:53:26 +0000 (06:53 +0000)]
Ensure all pe targets use bfd.

24 years agoFix "incompatible types in return" gcc error.
Alan Modra [Mon, 1 May 2000 05:02:57 +0000 (05:02 +0000)]
Fix "incompatible types in return" gcc error.

24 years agoFix bfd_coff_small_swap_table initialisation.
Alan Modra [Mon, 1 May 2000 04:47:39 +0000 (04:47 +0000)]
Fix bfd_coff_small_swap_table initialisation.

24 years ago2000-04-30 Ben Elliston <bje@redhat.com>
Ben Elliston [Sun, 30 Apr 2000 15:04:58 +0000 (15:04 +0000)]
2000-04-30  Ben Elliston  <bje@redhat.com>

* bfdint.texi (BFD generated files): Fix another typo.

24 years ago * xcoff.h: Forgot to cvs add in last patch.
Clinton Popetz [Sat, 29 Apr 2000 14:41:30 +0000 (14:41 +0000)]
* xcoff.h: Forgot to cvs add in last patch.

24 years ago * libcoff.h: Sigh, whitespace differences after 'make headers'.
Clinton Popetz [Sat, 29 Apr 2000 02:45:34 +0000 (02:45 +0000)]
* libcoff.h: Sigh, whitespace differences after 'make headers'.

24 years ago * coffcode.h Copy changes mistakenly done to libcoff.h in
Clinton Popetz [Sat, 29 Apr 2000 02:41:36 +0000 (02:41 +0000)]
* coffcode.h Copy changes mistakenly done to libcoff.h in
4/24/2000 patch.

24 years agoCorrectly check gcc version.
Alan Modra [Sat, 29 Apr 2000 00:56:29 +0000 (00:56 +0000)]
Correctly check gcc version.

24 years ago * Makefile.am (BFD64_BACKENDS, BFD64_BACKENDS_CFILES): Add
Clinton Popetz [Fri, 28 Apr 2000 20:02:30 +0000 (20:02 +0000)]
* Makefile.am (BFD64_BACKENDS, BFD64_BACKENDS_CFILES): Add
coffdu-rs6000.{lo,c}.
(coff-pmac.lo, coff-rs6000.lo, coff64-rs6000.lo): Add dependency
on xcoff.h
* Makefile.in: Regenerate.
* xcoff.h: New file.
* coff-pmac.c: Use xcoff.h instead of coff-rs6000.c.
* coff-rs6000.c: Move all declarations and defines that are
common to the xcoff backends into xcoff.h
* coff64-rs6000.c: Ditto,

24 years ago * coff-mips.c (mips_ecoff_backend_data): Add initialization of
Clinton Popetz [Fri, 28 Apr 2000 13:50:57 +0000 (13:50 +0000)]
* coff-mips.c (mips_ecoff_backend_data):  Add initialization of
_bfd_coff_force_symnames in strings and
_bfd_coff_debug_string_prefix_length to their default values.
* coff-sh.c: (bfd_coff_small_swap_table): Ditto.

24 years ago * coff-alpha.c (alpha_ecoff_backend_data): Add initialization of
Clinton Popetz [Fri, 28 Apr 2000 13:17:26 +0000 (13:17 +0000)]
* coff-alpha.c (alpha_ecoff_backend_data): Add initialization of
_bfd_coff_force_symnames in strings and
_bfd_coff_debug_string_prefix_length to their default values.

24 years agoReference count .plt and .got on x86 for garbage collection code. Fix a
Alan Modra [Thu, 27 Apr 2000 00:31:17 +0000 (00:31 +0000)]
Reference count .plt and .got on x86 for garbage collection code.  Fix a
couple of m68k and ppc bugs discovered while testing x86 gc.

24 years ago * config.bfd: Remove extraneous bfd_powerpc_64_arch.
Clinton Popetz [Wed, 26 Apr 2000 21:35:19 +0000 (21:35 +0000)]
* config.bfd: Remove extraneous bfd_powerpc_64_arch.

24 years ago Add XCOFF64 support.
Clinton Popetz [Wed, 26 Apr 2000 15:09:44 +0000 (15:09 +0000)]
Add XCOFF64 support.

bfd:
* Makefile.am (coff64-rs6000.lo): New rule.
* Makefile.in: Regenerate.
* coff-rs6000.c (xcoff_mkobject, xcoff_copy_private_bfd_data,
xcoff_is_local_label_name, xcoff_rtype2howto,
xcoff_reloc_type_lookup, xcoff_slurp_armap, xcoff_archive_p,
xcoff_read_ar_hdr, xcoff_openr_next_archived_file, xcoff_write_armap,
xcoff_write_archive_contents): No longer static, and prefix with _bfd_.
(NO_COFF_SYMBOLS): Define.
(xcoff64_swap_sym_in, xcoff64_swap_sym_out, xcoff64_swap_aux_in,
xcoff64_swap_aux_out): New functions; handle xcoff symbol tables
internally.
(MINUS_ONE): New macro.
(xcoff_howto_tabl, xcoff_reloc_type_lookup): Add 64 bit POS
relocation.
(coff_SWAP_sym_in, coff_SWAP_sym_out, coff_SWAP_aux_in,
coff_SWAP_aux_out): Map to the new functions.
* coff64-rs6000.c: New file.
* libcoff.h (bfd_coff_backend_data): Add new fields
_bfd_coff_force_symnames_in_strings and
_bfd_coff_debug_string_prefix_length.
(bfd_coff_force_symnames_in_strings,
bfd_coff_debug_string_prefix_length): New macros for above fields.
* coffcode.h (coff_set_arch_mach_hook): Handle XCOFF64 magic.
Set machine to 620 for XCOFF64.  Use bfd_coff_swap_sym_in instead
of using coff_swap_sym_in directly.
(FORCE_SYMNAMES_IN_STRINGS): New macro, defined for XCOFF64.
(coff_set_flags) Set magic for XCOFF64.
(coff_compute_section_file_positions): Add symbol name length to
string section length if bfd_coff_debug_string_prefix_length is
true.
(coff_write_object_contents): Don't do reloc overflow for XCOFF64.
(coff_slurp_line_table): Use bfd_coff_swap_lineno_in instead of
using coff_swap_lineno_in directly.
(bfd_coff_backend_data): Add _bfd_coff_force_symnames_in_strings
and _bfd_coff_debug_string_prefix_length fields.
* coffgen.c (coff_fix_symbol_name, coff_write_symbols): Force
symbol names into strings table when
bfd_coff_force_symnames_in_strings is true.
* coffswap.h (MAX_SCNHDR_NRELOC, MAX_SCNHDR_NLNNO, GET_RELOC_VADDR,
SET_RELOC_VADDR): New macros.
(coff_swap_reloc_in, coff_swap_reloc_out): Use above macros.
(coff_swap_aux_in, coff_swap_aux_out): Remove RS6000COFF_C
code.
(coff_swap_aouthdr_in, coff_swap_aouthdr_out): Handle XCOFF64
changes within RS6000COFF_C specific code.
(coff_swap_scnhdr_out): Use PUT_SCNHDR_NLNNO, PUT_SCNHDR_NRELOC,
MAX_SCNHDR_NRELOC, and MAX_SCNHDR_NLNNO.
* reloc.c (bfd_perform_relocation, bfd_install_relocation):
Extend existing hack on target name.
* xcofflink.c (XCOFF_XVECP): Extend existing hack on
target name.
* coff-tic54x.c (ticof): Keep up to date with new fields
in bfd_coff_backend_data.
* config.bfd: Add bfd_powerpc_64_arch to targ_arch and define
targ_selvecs to include rs6000coff64_vec for rs6000.
* configure.in: Add rs6000coff64_vec case.
  * cpu-powerpc.c: New bfd_arch_info_type.

gas:
* as.c (parse_args): Allow md_parse_option to override -a listing
option.
* config/obj-coff.c (add_lineno): Change type of offset parameter
from "int" to "bfd_vma."
* config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
(ppc_mach, ppc_subseg_align, ppc_target_format): New.
(ppc_change_csect): Align correctly for XCOFF64.
(ppc_machine): New function, which discards "ppc_machine" line.
(ppc_tc): Cons for 8 when code is 64 bit.
(md_apply_fix3): Don't check operand->insert.  Handle 64 bit
relocations.
(md_parse_option): Handle -a64 and -a32.
(ppc_xcoff64): New.
* config/tc-ppc.h (TARGET_MACH): Define.
(TARGET_FORMAT): Move to function.
(SUB_SEGMENT_ALIGN): Use ppc_subseg_align.

include:
* include/coff/rs6k64.h: New file.

opcodes:
* configure.in: Add bfd_powerpc_64_arch.
* disassemble.c (disassembler): Use print_insn_big_powerpc for
64 bit code.

24 years agoRemove '/' from comment_chars for FreeBSD so divide operator works.
Alan Modra [Tue, 25 Apr 2000 22:55:20 +0000 (22:55 +0000)]
Remove '/' from comment_chars for FreeBSD so divide operator works.
Fix as.1 typo.

24 years agoMention IA-64.
Jim Wilson [Tue, 25 Apr 2000 20:54:41 +0000 (20:54 +0000)]
Mention IA-64.

24 years ago * Makefile.am: Add PA64 support. Add missing dependencies for
Jeff Law [Tue, 25 Apr 2000 17:21:28 +0000 (17:21 +0000)]
    * Makefile.am: Add PA64 support.  Add missing dependencies for
        PA32 elf support.
        * Makefile.in: Rebuilt.
        * configure.tgt: Add PA64 support (currently disabled).

24 years ago * configure.in: Configury support for PA64 (currently disabled).
Jeff Law [Tue, 25 Apr 2000 17:02:33 +0000 (17:02 +0000)]
    * configure.in: Configury support for PA64 (currently disabled).
        * configure: Rebuilt.

24 years agoUse record_alignment, not bfd_set_section_alignment.
Alan Modra [Tue, 25 Apr 2000 10:02:20 +0000 (10:02 +0000)]
Use record_alignment, not bfd_set_section_alignment.

24 years agoKeep shift count smaller than 32.
Alan Modra [Tue, 25 Apr 2000 08:55:01 +0000 (08:55 +0000)]
Keep shift count smaller than 32.

24 years agoCope with PE relocs.
Alan Modra [Tue, 25 Apr 2000 07:19:46 +0000 (07:19 +0000)]
Cope with PE relocs.

24 years agoplace_orphan optimisations
Alan Modra [Tue, 25 Apr 2000 05:14:16 +0000 (05:14 +0000)]
place_orphan optimisations

24 years agoReally fix last IA-64 gas testsuite failure.
Jim Wilson [Tue, 25 Apr 2000 01:52:27 +0000 (01:52 +0000)]
Really fix last IA-64 gas testsuite failure.
* gas/ia64/opc-i.d: Change pmin2.u to pmin2.  Change pmax2.u to pmax2.
Change MLI to MLX.  Switch operands for output matching tbit.z.orcm,
tbit.z.andcm, tbit.nz.orcm, tbit.nz.andcm, tnat.z.orcm, tnat.z.andcm,
tnat.nz.orcm, tnat.nz.andcm inputs.
* gas/ia64/opc-i.pl: Insert padding nops before last dep.
* gas/ia64/opc-i.s: Regenerate.

24 years agoNote that output section data commands can only appear inside output section
Nick Clifton [Tue, 25 Apr 2000 00:27:24 +0000 (00:27 +0000)]
Note that output section data commands can only appear inside output section
descriptions and not between them.

24 years agoDocument behaviour of .align 0 for ARM targets.
Nick Clifton [Mon, 24 Apr 2000 23:57:30 +0000 (23:57 +0000)]
Document behaviour of .align 0 for ARM targets.
Remove incomplete v5e code from tc-arm.c

24 years agoFix last remaining IA-64 gas testsuite failure.
Jim Wilson [Mon, 24 Apr 2000 23:53:54 +0000 (23:53 +0000)]
Fix last remaining IA-64 gas testsuite failure.
* gas/ia64/opc-i.s: Regenerate.
* gas/ia64/opc-f.pl: Add explicit stop at end.

24 years ago * obj-som.c: Terminate obj_pseudo_table.
Jeff Law [Mon, 24 Apr 2000 23:48:13 +0000 (23:48 +0000)]
     * obj-som.c: Terminate obj_pseudo_table.

24 years agoInitialise signed_overflow field
Nick Clifton [Mon, 24 Apr 2000 17:32:36 +0000 (17:32 +0000)]
Initialise signed_overflow field

24 years ago * config.bfd: Only disable elf32-hppa vectors, not all of the
Jeff Law [Mon, 24 Apr 2000 08:31:33 +0000 (08:31 +0000)]
    * config.bfd: Only disable elf32-hppa vectors, not all of the
        BSD and OSF configuration support.  Provide (disabled) clauses
        for PA64 support.
        * configure.in: Add clause for PA64 support.
        * configure: Rebuilt.

24 years ago * targets.c (bfd_target_vector): Add bfd_elf64_hppa_vec.
Jeff Law [Mon, 24 Apr 2000 08:26:09 +0000 (08:26 +0000)]
    * targets.c (bfd_target_vector): Add bfd_elf64_hppa_vec.
        (bfd_elf64_hppa_vec): Declare.

24 years ago * Makefile.am (BFD64_BACKENDS): Add elf64-hppa.lo
Jeff Law [Mon, 24 Apr 2000 08:23:47 +0000 (08:23 +0000)]
    * Makefile.am (BFD64_BACKENDS): Add elf64-hppa.lo
        (BFD64_BACKENDS_CFILES): Add elf64-hppa.c
        (elf64-hppa.lo): Add dependencies.
        * Makefile.in: Rebuilt.

24 years ago * elf64-hppa.c, elf64-hppa.h: New files with PA64 support.
Jeff Law [Mon, 24 Apr 2000 08:17:58 +0000 (08:17 +0000)]
    * elf64-hppa.c, elf64-hppa.h: New files with PA64 support.

24 years ago * libhppa.h (dis_assemble_16): New function.
Jeff Law [Mon, 24 Apr 2000 08:14:43 +0000 (08:14 +0000)]
    * libhppa.h (dis_assemble_16): New function.
        (pa_arch): Added pa20w element.

24 years ago * elf-bfd.h: Add prototypes for bfd_elf32_write_relocs,
Jeff Law [Mon, 24 Apr 2000 07:55:09 +0000 (07:55 +0000)]
    * elf-bfd.h: Add prototypes for bfd_elf32_write_relocs,
        bfd_elf32_slurp_reloc_table, bfd_elf64_write_relocs, and
        bfd_elf64_slurp_reloc_table.

        * elfcode.h (elf_write_relocs, elf_slurp_reloc_table): New
        definitions to get external names.
        (elf_write_relocs): Renamed from write_relocs and make global.
        (elf_slurp_reloc_table): Make global.
        (_bfd_elf,size_info): Use elf_write_relocs instead of write_relocs.

24 years ago * archive.c (hpux_uid_gid_encode): New function.
Jeff Law [Mon, 24 Apr 2000 07:52:50 +0000 (07:52 +0000)]
    * archive.c (hpux_uid_gid_encode): New function.
        (bfd_ar_hdr_from_filesystem): Use it if HPUX_LARGE_AR_IDS is
        defined and the ID is greater than 99999.
        (bfd_generic_stat_arch_elt): If HPUX_LARGE_AR_IDS is defined decode
        special uid/gid fields into 32 bit values.

24 years ago * djunpack.bat: New file.
Eli Zaretskii [Sun, 23 Apr 2000 07:23:05 +0000 (07:23 +0000)]
* djunpack.bat: New file.

* config/djgpp/README: Explain how to unpack using djunpack.bat.