external/binutils.git
25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sat, 11 Sep 1999 22:52:20 +0000 (22:52 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* peicode.h (coff_swap_scnhdr_in): Don't check for a special
section name of _BSS; check IMAGE_SCN_CNT_UNINITIALIZED_DATA
instead.  Don't clear the s_paddr field for an uninitialized data
section.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sat, 11 Sep 1999 22:46:37 +0000 (22:46 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* coffcode.h (coff_mkobject_hook): Set timestamp field in
coff_data_type to f_timdat.
* peicode.h (pe_mkobject_hook): Likewise.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sat, 11 Sep 1999 22:41:54 +0000 (22:41 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* peicode.h (coff_swap_filehdr_in): Check the NT executable magic
number if COFF_IMAGE_WITH_PE.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sat, 11 Sep 1999 22:33:45 +0000 (22:33 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* coffcode.h (coff_mkobject_hook): If COFF_WITH_PE, set HAS_DEBUG
to the reverse of IMAGE_FILE_DEBUG_STRIPPED.
(coff_write_object_contents): Set IMAGE_FILE_DEBUG_STRIPPED if
there is no SEC_DEBUGGING section.
* peicode.h (pe_mkobject_hook): Set HAS_DEBUG to the reverse of
IMAGE_FILE_DEBUG_STRIPPED.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sat, 11 Sep 1999 22:17:33 +0000 (22:17 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* pe-i386.c (COFF_LONG_FILENAMES): Define.
(COFF_SECTION_ALIGNMENT_ENTRIES): Define.
* pei-i386.c (COFF_LONG_FILENAMES): Define.
(COFF_SECTION_ALIGNMENT_ENTRIES): Define.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sat, 11 Sep 1999 22:10:33 +0000 (22:10 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* coffswap.h (IMAGE_BASE): Don't define.
* pei-arm.c (IMAGE_BASE): Don't define.
* pei-i386.c (IMAGE_BASE): Don't define.
* pei-mcore.c (IMAGE_BASE): Don't define.
* pei-ppc.c (IMAGE_BASE): Don't define.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sat, 11 Sep 1999 22:04:16 +0000 (22:04 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* cofflink.c (_bfd_coff_link_input_bfd): When writing out a
symbol, switch on the class when determining whether to modify the
value.  For PE, don't modify the value of a C_FCN symbol not named
.bf.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sat, 11 Sep 1999 21:51:55 +0000 (21:51 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* libbfd-in.h (_bfd_abort): Declare.
(abort): Define.
* bfd.c (_bfd_abort): New function.
* libbfd.h: Rebuild.

25 years ago * coff-ppc.c (COFF_SECTION_ALIGNMENT_ENTRIES): Define.
Ian Lance Taylor [Sat, 11 Sep 1999 21:39:03 +0000 (21:39 +0000)]
* coff-ppc.c (COFF_SECTION_ALIGNMENT_ENTRIES): Define.

1999-09-11  Donn Terry  <donn@interix.com>

* coffcode.h (coff_set_alignment_hook): Delete POWERPC_LE_PE
special handling.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sat, 11 Sep 1999 21:27:15 +0000 (21:27 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* cofflink.c (_bfd_coff_link_input_bfd): If a symbol is stripped,
don't write out the associated line numbers.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sat, 11 Sep 1999 21:15:16 +0000 (21:15 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* cofflink.c (_bfd_coff_write_global_sym): Handle section symbol
aux entries.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sat, 11 Sep 1999 21:04:09 +0000 (21:04 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* coffcode.h (coff_slurp_symbol_table): If PE, set BSF_DEBUGGING
for C_FCN/C_EFCN symbols, and set BSF_DEBUGGING_RELOC for such
symbols named .bf.

25 years ago * elfcode.h (write_relocs): Handle an absolute symbol in REL
Ian Lance Taylor [Sat, 11 Sep 1999 20:14:57 +0000 (20:14 +0000)]
* elfcode.h (write_relocs): Handle an absolute symbol in REL
relocs as we do for RELA relocs.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sat, 11 Sep 1999 15:26:22 +0000 (15:26 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* cofflink.c (coff_link_add_symbols): Don't warn about symbol type
changes when the base type is unknown.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sat, 11 Sep 1999 15:16:14 +0000 (15:16 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* coffgen.c (coff_print_symbol): Fix printing of aux record for
function symbols.

25 years ago * write.c (dump_section_relocs): Call print_symbol_value_1 to
Ian Lance Taylor [Sat, 11 Sep 1999 14:59:14 +0000 (14:59 +0000)]
* write.c (dump_section_relocs): Call print_symbol_value_1 to
print the symbol, rather than printing it here.

1999-09-11  Donn Terry  <donn@interix.com>

* write.c (adjust_reloc_syms): Print adjusted fixup.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sat, 11 Sep 1999 14:41:11 +0000 (14:41 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* syms.c (BSF_DEBUGGING_RELOC): Define.
* coffgen.c (fixup_symbol_value): Relocate a symbol which has
BSF_DEBUGGING_RELOC set.
* bfd-in2.h: Rebuild.

25 years ago1999-09-11 Donn Terry <donn@interix.com>
Ian Lance Taylor [Sat, 11 Sep 1999 14:24:59 +0000 (14:24 +0000)]
1999-09-11  Donn Terry  <donn@interix.com>

* expr.c (integer_constant): Correct too_many_digits calculation
in base 10 case.

25 years ago * ecoff.c (bfd_debug_section): Update initialization for new
Ian Lance Taylor [Fri, 10 Sep 1999 23:25:51 +0000 (23:25 +0000)]
* ecoff.c (bfd_debug_section): Update initialization for new
comdat_info field.
(_bfd_ecoff_styp_to_sec_flags): Add section parameter.
* libecoff.h (_bfd_ecoff_styp_to_sec_flags): Update declaration.

1999-09-10  H.J. Lu  <hjl@gnu.org>

* coff-alpha.c (alpha_ecoff_backend_data): Initialize the new
_bfd_filnmlen field.
* coff-mips.c (mips_ecoff_backend_data): Likewise.

25 years ago * elf-hppa.h (elf_hppa_final_link_relocate): Create .opd entries
Jeff Law [Fri, 10 Sep 1999 15:46:37 +0000 (15:46 +0000)]
    * elf-hppa.h (elf_hppa_final_link_relocate): Create .opd entries
        for FPTR relocs involving local symbols.

25 years ago * emulparms/elf64hppa.sh (LIB_PATH): Define.
Jeff Law [Fri, 10 Sep 1999 14:31:09 +0000 (14:31 +0000)]
    * emulparms/elf64hppa.sh (LIB_PATH): Define.

25 years ago * elf-hppa.h (elf_hppa_final_link_relocate): Get the right
Jeff Law [Fri, 10 Sep 1999 14:05:36 +0000 (14:05 +0000)]
    * elf-hppa.h (elf_hppa_final_link_relocate): Get the right
        value for the stub address in a call through a stub.
        Install the value for a local symbol directly into the DLT
        instead of generating a reloc.  Correctly handle FPTR64 relocs.

25 years ago * elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): New function.
Jeff Law [Fri, 10 Sep 1999 06:38:05 +0000 (06:38 +0000)]
    * elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): New function.
        (elf_hppa_remark_useless_dynamic_symbols): Similarly.
        (elf_hppa_final_link): Call them.

25 years ago * emulparms/elf64hppa.sh (OTHER_READONLY_SECTIONS): Put stubs before
Jeff Law [Fri, 10 Sep 1999 06:30:37 +0000 (06:30 +0000)]
    * emulparms/elf64hppa.sh (OTHER_READONLY_SECTIONS): Put stubs before
        unwinders so that they are closer to the text section.
        (OTHER_BSS_SECTIONS): Define.
        (EXECUTABLE_SYMBOLS): Provide __SYSTEM_ID and _FPU_STATUS.
        (INIT_START, INIT_END): Define.
        (FINI_START, FINI_END): Define.
        * scripttempl/elf.sc: Add support for INIT_START, INIT_END,
        FINI_START, FINI_END and OTHER_BSS_SECTIONS.

25 years ago * elflink.h (elf_fix_symbol_flags): Move weakdef handling here...
Ian Lance Taylor [Fri, 10 Sep 1999 04:22:23 +0000 (04:22 +0000)]
* elflink.h (elf_fix_symbol_flags): Move weakdef handling here...
(elf_adjust_dynamic_symbol): ...from here.

25 years ago * emulparms/elf64hppa.sh (TEXT_START_ADDR): Move up one page.
Jeff Law [Fri, 10 Sep 1999 03:49:14 +0000 (03:49 +0000)]
    * emulparms/elf64hppa.sh (TEXT_START_ADDR): Move up one page.
        (DATA_ADDR): Define.

25 years ago * emulparams/d10velf.sh (READONLY_START_ADDR): Set to 0x2000004.
Richard Henderson [Fri, 10 Sep 1999 01:04:25 +0000 (01:04 +0000)]
    * emulparams/d10velf.sh (READONLY_START_ADDR): Set to 0x2000004.

25 years ago * ld.texinfo: Fix arguments of @var to not contain punctuation.
Andreas Schwab [Thu, 9 Sep 1999 16:12:28 +0000 (16:12 +0000)]
* ld.texinfo: Fix arguments of @var to not contain punctuation.

25 years ago * doc/c-arm.texi: Fix arguments of @var to not contain
Andreas Schwab [Thu, 9 Sep 1999 16:09:52 +0000 (16:09 +0000)]
* doc/c-arm.texi: Fix arguments of @var to not contain
punctuation.

25 years ago * binutils.texi: Add info dir entries for all programs described
Andreas Schwab [Thu, 9 Sep 1999 16:01:34 +0000 (16:01 +0000)]
* binutils.texi: Add info dir entries for all programs described
here.  Fix arguments of @var to not contain punctuation.

25 years agoUpdate some comments.
Jeff Law [Thu, 9 Sep 1999 14:52:15 +0000 (14:52 +0000)]
Update some comments.

25 years ago * elf-hppa.h (elf_hppa_howto_table); There is no DIR64WR, DIR64DR
Jeff Law [Thu, 9 Sep 1999 14:51:33 +0000 (14:51 +0000)]
    * elf-hppa.h (elf_hppa_howto_table); There is no DIR64WR, DIR64DR
        relocation, remove them.  SECREL64->LTOFF16WF.
        (elf_hppa_final_link_relocate): Handle LTOFF* relocations.  Handle
        DIR* relocations.
        (elf_hppa_relocate_insn): Similarly.

25 years ago * elf-hppa.h (elf_hppa_final_link_relocate): Handle PLTOFF* relocs.
Jeff Law [Thu, 9 Sep 1999 14:20:18 +0000 (14:20 +0000)]
    * elf-hppa.h (elf_hppa_final_link_relocate): Handle PLTOFF* relocs.
        (elf_hppa_relocate_insn): Similarly.

25 years ago * elf-hppa.h (elf_hppa_final_link_relocate): Handle DPREL* and
Jeff Law [Thu, 9 Sep 1999 14:10:24 +0000 (14:10 +0000)]
    * elf-hppa.h (elf_hppa_final_link_relocate): Handle DPREL* and
        GPREL* relocations.
        (elf_hppa_relocate_insn): Similarly.

25 years ago * elf-hppa.h (elf_hppa_link_final_relocate): Fix typos.
Jeff Law [Thu, 9 Sep 1999 13:55:46 +0000 (13:55 +0000)]
    * elf-hppa.h (elf_hppa_link_final_relocate): Fix typos.
        Handle LTOFF_TP* relocs.
        (elf_hppa_relocate_insn): Similarly.

25 years ago * elf-hppa.h (elf_hppa_final_link_relocate): Handle PCREL* relocs.
Jeff Law [Thu, 9 Sep 1999 13:32:38 +0000 (13:32 +0000)]
    * elf-hppa.h (elf_hppa_final_link_relocate): Handle PCREL* relocs.
        Consistently deal with addends.  Handle DLTIND14F and DLTREL14F.
        (elf_hppa_relocate_insn): Handle PCREL* relocs.

25 years ago * elf-hppa.h (elf_hppa_final_link_relocate): Handle LT_OFF_FPTR*,
Jeff Law [Thu, 9 Sep 1999 13:01:11 +0000 (13:01 +0000)]
    * elf-hppa.h (elf_hppa_final_link_relocate): Handle LT_OFF_FPTR*,
        DIR32, DIR64 and FPTR64 relocations.
        (elf_hppa_relocate_insn): Similarly.

25 years agoWed Sep 8 17:56:11 1999 Jeffrey A Law (law@cygnus.com)
Jeff Law [Thu, 9 Sep 1999 12:01:24 +0000 (12:01 +0000)]
Wed Sep  8 17:56:11 1999  Jeffrey A Law  (law@cygnus.com)

       * elf-hppa.h (elf_hppa_final_link): Set the value of __gp to the
        address of the .PARISC.global section.
        (elf_hppa_relocate_section): Lookup and pass the PA64 hash
        table entry elf_hppa_final_link_relocate.  Do not give a warning
        for a reloc against an external symbol if it has a PA64 hash
        table entry.
        (elf_hppa_final_link_relocate): Significantly rework.  Handle
        DLTIND relocations.  Compute the final value of the relocation
        before passing the value of elf_hppa_relocate_insn.
        (elf_hppa_relocate_insn): Revamp to handle just bit tiwiddling
        relocation support.  Handle DLTIND relocation requests just like
        DLTREL relocation requests.  Simplify branch handling.

1999-09-08  Ulrich Drepper  <drepper@cygnus.com>

        * elf-hppa.h (elf_hppa_relocate_section): Catch problems with
        non-allocated section as done in i386 version.
        (elf_hppa_final_link_relocate): Uncomment R_PARISC_14F in switch
        statement since this is no know relocation.

25 years agoThu Sep 9 05:52:34 1999 Jeffrey A Law (law@cygnus.com)
Jeff Law [Thu, 9 Sep 1999 11:56:00 +0000 (11:56 +0000)]
Thu Sep  9 05:52:34 1999  Jeffrey A Law  (law@cygnus.com)

        * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Define.

1999-09-08  Ulrich Drepper  <drepper@cygnus.com>

        * emulparams/elf64hppa.sh (ELFSIZE): New.  Set to 64.

Wed Sep  8 00:07:39 1999  Jeffrey A Law  (law@cygnus.com)

        * emulparms/elf64hppa.sh (ENTRY): Define to main.

25 years agoimport gdb-1999-09-08 snapshot
Stan Shebs [Thu, 9 Sep 1999 00:02:17 +0000 (00:02 +0000)]
import gdb-1999-09-08 snapshot

25 years agoOnly support interworking and pic for ELF or COFF targets
Nick Clifton [Wed, 8 Sep 1999 13:10:28 +0000 (13:10 +0000)]
Only support interworking and pic  for ELF or COFF targets

25 years ago * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14F
Jeff Law [Wed, 8 Sep 1999 01:00:12 +0000 (01:00 +0000)]
    * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14F
        relocs.
        (elf_hppa_relocate_insn): Similarly.

25 years ago * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14WR and
Jeff Law [Wed, 8 Sep 1999 00:50:50 +0000 (00:50 +0000)]
    * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14WR and
        DLTREL14WD relocs.
        (elf_hppa_relocate_insn): Similarly.

25 years ago * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14R and
Jeff Law [Wed, 8 Sep 1999 00:09:52 +0000 (00:09 +0000)]
    * elf-hppa.h (elf_hppa_final_link_relocate): Handle DLTREL14R and
        DLTREL21L relocs.  Pass the output bfd to elf_hppa_relocate_insn.
        Pass the relocate type rather than the insn format to
        elf_hppa_relocate_insn.
        (elf_hppa_relocate_insn): Make switch dependent on relocation type
        rather than the opcode.  Handle DLTREL21L and DLTREL14R relocs.

25 years ago * hppa-dis.c (print_insn_hppa): Escape '%' in output strings.
Jeff Law [Tue, 7 Sep 1999 19:57:23 +0000 (19:57 +0000)]
    * hppa-dis.c (print_insn_hppa): Escape '%' in output strings.

25 years ago * hppa-dis.c (print_insn_hppa): Handle 'Z' argument.
Jeff Law [Tue, 7 Sep 1999 19:52:51 +0000 (19:52 +0000)]
    * hppa-dis.c (print_insn_hppa): Handle 'Z' argument.

25 years ago * config/tc-hppa.c (pa_ip): Support 'Z' argument.
Jeff Law [Tue, 7 Sep 1999 19:48:13 +0000 (19:48 +0000)]
    * config/tc-hppa.c (pa_ip): Support 'Z' argument.

25 years ago * hppa.h (pa_opcodes): Add "addil" variant which has the %r1 as
Jeff Law [Tue, 7 Sep 1999 19:46:47 +0000 (19:46 +0000)]
    * hppa.h (pa_opcodes): Add "addil" variant which has the %r1 as
        an explicit output argument.

25 years ago * config/tc-hppa.c (pa_ip): Put strict register checks before
Jeff Law [Tue, 7 Sep 1999 19:30:14 +0000 (19:30 +0000)]
    * config/tc-hppa.c (pa_ip): Put strict register checks before
        call to pa_parse_number.

25 years agoAdd patterns with correct names for mulu and muls instructions (mulu.w and muls.w)
Nick Clifton [Tue, 7 Sep 1999 17:26:21 +0000 (17:26 +0000)]
Add patterns with correct names for mulu and muls instructions (mulu.w and muls.w)

25 years ago * coffcode.h (bfd_coff_backend_data): Add _bfd_filnmlen field.
Ian Lance Taylor [Tue, 7 Sep 1999 04:28:27 +0000 (04:28 +0000)]
* coffcode.h (bfd_coff_backend_data): Add _bfd_filnmlen field.
(bfd_coff_filnmlen): Define.
(bfd_coff_std_swap_table): Initialize new field.
* coffgen.c (coff_fix_symbol_name): Use bfd_coff_filnmlen rather
than FILNMLEN.
(coff_write_symbols): Likewise.
(coff_get_normalized_symtab): Likewise.
* coff-sh.c (bfd_coff_small_swap_table): Initialize new field.
* libcoff.h: Rebuild.

25 years agoreformat for 80 column screen
Ian Lance Taylor [Tue, 7 Sep 1999 04:14:35 +0000 (04:14 +0000)]
reformat for 80 column screen

25 years ago1999-09-06 Donn Terry <donn@interix.com>
Ian Lance Taylor [Tue, 7 Sep 1999 04:06:50 +0000 (04:06 +0000)]
1999-09-06  Donn Terry  <donn@interix.com>

* coffcode.h (sort_by_secaddr): New static function if
COFF_IMAGE_WITH_PE.
(coff_compute_section_file_positions): If COFF_IMAGE_WITH_PE, sort
sections by VMA when assigning target_index values.  Always set
virt_size.

25 years agoremove unneeded ifdefs
Ian Lance Taylor [Tue, 7 Sep 1999 03:42:53 +0000 (03:42 +0000)]
remove unneeded ifdefs

25 years ago1999-09-06 Donn Terry <donn@interix.com>
Ian Lance Taylor [Tue, 7 Sep 1999 03:40:32 +0000 (03:40 +0000)]
1999-09-06  Donn Terry  <donn@interix.com>

* libcoff-in.h (struct pei_section_tdata): Add pe_flags field.
* coffcode.h (coff_set_alignment_hook): Set pe_flags field if
COFF_WITH_PE.
* libcoff.h: Rebuild.

25 years ago1999-09-06 Donn Terry <donn@interix.com>
Ian Lance Taylor [Tue, 7 Sep 1999 03:28:54 +0000 (03:28 +0000)]
1999-09-06  Donn Terry  <donn@interix.com>

* internal.h (DTYPE): Define.
* pe.h (struct external_PEI_filehdr): Rename from
external_PE_filehdr.  Define even if COFF_IMAGE_WITH_PE is not
defined.

25 years ago * config/obj-coff.c: Add ATTRIBUTE_UNUSED as needed for
Ian Lance Taylor [Tue, 7 Sep 1999 03:26:58 +0000 (03:26 +0000)]
* config/obj-coff.c: Add ATTRIBUTE_UNUSED as needed for
BFD_ASSEMBLER code.

25 years ago1999-09-06 Donn Terry <donn@interix.com>
Ian Lance Taylor [Tue, 7 Sep 1999 03:00:32 +0000 (03:00 +0000)]
1999-09-06  Donn Terry  <donn@interix.com>

* coffcode.h (coff_set_custom_section_alignment): Add const to
declaration to match definition.
(coff_write_object_contents): Don't set F_AR32W(R)? if
COFF_WITH_PE.

25 years ago * coff-i386.c (in_reloc_p): Add declaration.
Ian Lance Taylor [Tue, 7 Sep 1999 02:59:17 +0000 (02:59 +0000)]
* coff-i386.c (in_reloc_p): Add declaration.
(i386coff_vec): Simplify initialization of
application_section_flags.

25 years agoadd comment
Ian Lance Taylor [Tue, 7 Sep 1999 02:58:00 +0000 (02:58 +0000)]
add comment

25 years ago1999-09-06 Donn Terry <donn@interix.com>
Ian Lance Taylor [Tue, 7 Sep 1999 02:23:44 +0000 (02:23 +0000)]
1999-09-06  Donn Terry  <donn@interix.com>

* as.c (perform_an_assembly_pass): Set SEC_DATA for data_section.

25 years ago1999-09-06 Donn Terry <donn@interix.com>
Ian Lance Taylor [Tue, 7 Sep 1999 02:11:54 +0000 (02:11 +0000)]
1999-09-06  Donn Terry  <donn@interix.com>

* coffcode.h (sec_to_styp_flags): Write separate COFF_WITH_PE
version.  Move COFF_WITH_PE specific code to new version.
(stype_to_sec_flags): Likewise.  Add section parameter.
* coffgen.c (make_a_section_from_file): Set target_index before
calling styp_to_sec_flags.  Pass section to styp_to_sec_flags.
* libcoff.h: Rebuild.

25 years ago1999-09-06 Donn Terry <donn@interix.com>
Ian Lance Taylor [Mon, 6 Sep 1999 18:47:31 +0000 (18:47 +0000)]
1999-09-06  Donn Terry  <donn@interix.com>

* nm.c (print_symbol_info_bsd): Check for 'w' as well as 'U'.
(print_symbol_info_sysv): Likewise.
(print_symbol_info_posix): Likewise.

25 years ago1999-09-06 Donn Terry <donn@interix.com>
Ian Lance Taylor [Mon, 6 Sep 1999 18:44:56 +0000 (18:44 +0000)]
1999-09-06  Donn Terry  <donn@interix.com>

* syms.c (stt): Add some PE/PEI section names.
(bfd_decode_symclass): Return 'w', not 'U', for a weak undefined
symbol.
(bfd_symbol_info): Check for 'w'.

25 years ago1999-09-06 Donn Terry <donn@interix.com>
Ian Lance Taylor [Mon, 6 Sep 1999 18:34:29 +0000 (18:34 +0000)]
1999-09-06  Donn Terry  <donn@interix.com>

* section.c (struct bfd_comdat_info): Define.
(asection): Add comdat field.
(STD_SECTION): Initialize comdat field.
(bfd_make_section_anyway): Likewise.
* bfd-in2.h: Rebuild.

25 years ago * elflink.h (elf_link_add_object_symbols): Copy NON_GOT_REF flag
Andreas Schwab [Mon, 6 Sep 1999 10:56:08 +0000 (10:56 +0000)]
* elflink.h (elf_link_add_object_symbols): Copy NON_GOT_REF flag
to version symbols.

25 years ago * hppa.h: Add strict variants of PA1.0/PA1.1 loads and stores.
Jeff Law [Mon, 6 Sep 1999 10:42:11 +0000 (10:42 +0000)]
    * hppa.h: Add strict variants of PA1.0/PA1.1 loads and stores.
        Add a few PA2.0 loads and store variants.

25 years ago * config/tc-hppa.c (pa_ip): Get strict/non-strict mode from the
Jeff Law [Mon, 6 Sep 1999 10:28:21 +0000 (10:28 +0000)]
    * config/tc-hppa.c (pa_ip): Get strict/non-strict mode from the
        candidate instruction.  Require registers for register arguments
        when in strict mode.  Require assemble-time constants for
        constants when in strict mode.
        (pa_get_absolute_expression): Require a constant when in strict
        mode.

25 years agoFix value for -Wnuh command line option
Nick Clifton [Mon, 6 Sep 1999 10:24:19 +0000 (10:24 +0000)]
Fix value for -Wnuh command line option

25 years agoApplied patch from Scott Bambrough <scottb@netwinder.org>:
Nick Clifton [Mon, 6 Sep 1999 09:51:16 +0000 (09:51 +0000)]
Applied patch from Scott Bambrough  <scottb@netwinder.org>:

Added HOSTING_CRT0, HOSTING_LIBS for target "arm*-*-linux-gnu*"

25 years agouse bfd memory allcation routines
Nick Clifton [Mon, 6 Sep 1999 08:57:49 +0000 (08:57 +0000)]
use bfd memory allcation routines

25 years agofix date
Ian Lance Taylor [Sat, 4 Sep 1999 17:40:28 +0000 (17:40 +0000)]
fix date

25 years ago1999-09-04 Steve Chamberlain <sac@pobox.com>
Ian Lance Taylor [Sat, 4 Sep 1999 17:40:18 +0000 (17:40 +0000)]
1999-09-04  Steve Chamberlain  <sac@pobox.com>

* readelf.c: Include "elf/pj.h".
(dump_relocations): Handle EM_PJ.
(get_machine_name): Likewise.
(get_machine_flags): Likewise.

25 years ago1999-09-02 Steve Chamberlain <sac@pobox.com>
Ian Lance Taylor [Sat, 4 Sep 1999 17:38:46 +0000 (17:38 +0000)]
1999-09-02  Steve Chamberlain  <sac@pobox.com>

* binutils-all/objdump.exp: Add pj to cpus_expected.

25 years ago1999-09-04 Steve Chamberlain <sac@pobox.com>
Ian Lance Taylor [Sat, 4 Sep 1999 17:37:36 +0000 (17:37 +0000)]
1999-09-04  Steve Chamberlain  <sac@pobox.com>

* configure.tgt (pjl-*-*, pj-*-*): New targets.
* emulparams/pjelf.sh: New file.
* emulparams/pjlelf.sh: New file.
* scripttempl/pj.sc: New file.
* Makefile.am (ALL_EMULATIONS): Add epjelf.o and epjlelf.o.
(epjelf.o, epjlelf.o): New targets.
* Makefile.in: Rebuild.

25 years agoremove extraneous period
Ian Lance Taylor [Sat, 4 Sep 1999 17:29:42 +0000 (17:29 +0000)]
remove extraneous period

25 years ago1999-09-04 Steve Chamberlain <sac@pobox.com>
Ian Lance Taylor [Sat, 4 Sep 1999 17:29:22 +0000 (17:29 +0000)]
1999-09-04  Steve Chamberlain  <sac@pobox.com>

* config/tc-pj.c: New file, supports picoJava in ELF.
* config/tc-pj.h: Ditto.
* configure.in (pjl*, pj*): New targets.
* Makefile.am: Rebuild dependencies.
(CPU_TYPES): Add pj.
(TARGET_CPU_CFILES): Add config/tc-pj.c.
(TARGET_CPU_HFILES): Add config/tc-pj.h.
* doc/c-pj.texi: New file.
* doc/as.texinfo: Add some PJ specifics.
* doc/all.texi: Add PJ to the list of all architectures, sort them
all alphabetically.
* doc/Makefile.in (CPU_DOCS): Add c-pj.texi.
* configure, Makefile.in, doc/Makefile.in: Rebuild.

25 years ago1999-09-04 Steve Chamberlain <sac@pobox.com>
Ian Lance Taylor [Sat, 4 Sep 1999 17:18:59 +0000 (17:18 +0000)]
1999-09-04  Steve Chamberlain  <sac@pobox.com>

* gas/pj/{pj.exp, ops.c, ops.d}: New tests for picoJava.

25 years ago1999-09-04 Steve Chamberlain <sac@pobox.com>
Ian Lance Taylor [Sat, 4 Sep 1999 17:17:37 +0000 (17:17 +0000)]
1999-09-04  Steve Chamberlain  <sac@pobox.com>

* dis-asm.h (print_insn_pj): Declare.

25 years ago1999-09-04 Steve Chamberlain <sac@pobox.com>
Ian Lance Taylor [Sat, 4 Sep 1999 17:16:21 +0000 (17:16 +0000)]
1999-09-04  Steve Chamberlain  <sac@pobox.com>

* pj.h: New file.

25 years ago1999-09-04 Steve Chamberlain <sac@pobox.com>
Ian Lance Taylor [Sat, 4 Sep 1999 17:15:44 +0000 (17:15 +0000)]
1999-09-04  Steve Chamberlain  <sac@pobox.com>

* pj.h: New file.
* common.h (EM_PJ): Define.

25 years ago1999-09-04 Steve Chamberlain <sac@pobox.com>
Ian Lance Taylor [Sat, 4 Sep 1999 17:14:37 +0000 (17:14 +0000)]
1999-09-04  Steve Chamberlain  <sac@pobox.com>

* pj-opc.c: New file.
* pj-dis.c: New file.
* disassemble.c (disassembler): Handle bfd_arch_pj.
* configure.in: Handle bfd_pj_arch.
* Makefile.am: Rebuild dependencies.
(CFILES): Add pj-dis.c and pj-opc.c.
(ALL_MACHINES): Add pj-dis.lo and pj-opc.lo.
* configure, Makefile.in: Rebuild.

25 years ago1999-09-04 Steve Chamberlain <sac@pobox.com>
Ian Lance Taylor [Sat, 4 Sep 1999 17:07:46 +0000 (17:07 +0000)]
1999-09-04  Steve Chamberlain  <sac@pobox.com>

* cpu-pj.c: New file.
* elf32-pj.c: New file.
* config.bfd (pj*): New cpu.
(pj-*-*, pjl-*-*): New targets.
* configure.in (bfd_elf32_pj_vec): New target vector.
(bfd_elf32_pjl_vec): New target vector.
  * archures.c (bfd_arch_pj): Define.
* elf.c (prep_headers): Handle bfd_arch_pj.
* reloc.c: Define BFD_RELOC_PJ_* relocations.
* targets.c (bfd_elf32_pj_vec, bfd_elf32_pjl_vec): Declare and add
to target vector list.
* Makefile.am: Rebuild dependencies.
(ALL_MACHINES): Add cpu-pj.lo.
(ALL_MACHINES_CFILES): Add cpu-pj.c.
(BFD32_BACKENDS): Add elf32-pj.lo.
(BFD32_BACKENDS_CFILES): Add elf32-pj.c.
* configure, Makefile.in, bfd-in2.h, libbfd.h: Rebuild.

25 years ago1999-09-04 Steve Chamberlain <sac@pobox.com>
Ian Lance Taylor [Sat, 4 Sep 1999 16:52:13 +0000 (16:52 +0000)]
1999-09-04  Steve Chamberlain  <sac@pobox.com>

* config.sub: Add support for configuring for pj.

25 years ago * elf-bfd.h (ELF_LINK_NON_GOT_REF): Define.
Ian Lance Taylor [Sat, 4 Sep 1999 16:26:08 +0000 (16:26 +0000)]
* elf-bfd.h (ELF_LINK_NON_GOT_REF): Define.
* elflink.h (elf_adjust_dynamic_symbol): Copy REF_REGULAR_NONWEAK
and NON_GOT_REF from weak defined symbol to real symbol.
* elf32-i386.c (elf_i386_check_relocs): Set NON_GOT_REF.
(elf_i386_adjust_dynamic_symbol): If NON_GOT_REF is not set, don't
create a COPY reloc.
* elf32-sparc.c (elf32_sparc_check_relocs): Set NON_GOT_REF.
(elf32_sparc_adjust_dynamic_symbol): If NON_GOT_REF is not set,
don't create a COPY reloc.

25 years ago1999-09-04 H.J. Lu <hjl@gnu.org>
Ian Lance Taylor [Sat, 4 Sep 1999 15:49:35 +0000 (15:49 +0000)]
1999-09-04  H.J. Lu  <hjl@gnu.org>

* i386-dis.c (print_insn_i386): Set bytes_per_line to 7.

25 years ago * emulparams/elf64hppa.sh (MAXPAGESIZE): Define.
Jeff Law [Sat, 4 Sep 1999 02:20:41 +0000 (02:20 +0000)]
    * emulparams/elf64hppa.sh (MAXPAGESIZE): Define.
        (OTHER_READONLY_SECTIONS, DATA_PLT): Likewise.

25 years agorebuild
Ian Lance Taylor [Fri, 3 Sep 1999 18:34:45 +0000 (18:34 +0000)]
rebuild

25 years ago * elflink.h (elf_bfd_final_link): When counting relocations, don't
Ian Lance Taylor [Fri, 3 Sep 1999 18:34:02 +0000 (18:34 +0000)]
* elflink.h (elf_bfd_final_link): When counting relocations, don't
count those in sections we are not including in the link.

25 years ago * hppa.h: Add HPUX specific symbol type definitions.
Jeff Law [Fri, 3 Sep 1999 02:23:08 +0000 (02:23 +0000)]
    * hppa.h: Add HPUX specific symbol type definitions.

25 years ago * elflink.h (elf_link_add_object_symbols): Work around bogus SH_LINK
Jeff Law [Thu, 2 Sep 1999 23:44:54 +0000 (23:44 +0000)]
    * elflink.h (elf_link_add_object_symbols): Work around bogus SH_LINK
        field in hpux11 shared libraries.

25 years ago * emulparams/elf64hppa.sh: New file.
Jeff Law [Thu, 2 Sep 1999 20:35:35 +0000 (20:35 +0000)]
    * emulparams/elf64hppa.sh: New file.
        * configure.tgt (hppa*w-*-*): Use elf64hppa emulation.
        * Makefile.am (ALL_64_EMULATIONS): Add eelf64hppa.o
        (eelf64hppa.c): Add dependencies.
        * Makefile.in: Rebuilt.

25 years ago * hppa.h: Add HPUX specific dynamic and program header table
Jeff Law [Thu, 2 Sep 1999 20:17:33 +0000 (20:17 +0000)]
    * hppa.h: Add HPUX specific dynamic and program header table
        specific definitions.

25 years agoFix memory leak.
Nick Clifton [Thu, 2 Sep 1999 17:56:51 +0000 (17:56 +0000)]
Fix memory leak.

25 years agoEnable --emulation={i386coff,i386elf} for i386 gas.
Alan Modra [Thu, 2 Sep 1999 15:12:01 +0000 (15:12 +0000)]
Enable --emulation={i386coff,i386elf} for i386 gas.

25 years agoDo not dump literal pool when a .section .line directive is encountered.
Nick Clifton [Thu, 2 Sep 1999 10:39:18 +0000 (10:39 +0000)]
Do not dump literal pool when a .section .line directive is encountered.

25 years agoAdd test for strongarm to ScottB's patch.
Nick Clifton [Thu, 2 Sep 1999 10:11:11 +0000 (10:11 +0000)]
Add test for strongarm to ScottB's patch.

25 years ago * gas/vtable/vtable.exp: Added [istarget "arm*-*-*"] to run dump
Catherine Moore [Wed, 1 Sep 1999 21:17:36 +0000 (21:17 +0000)]
    * gas/vtable/vtable.exp: Added [istarget "arm*-*-*"] to run dump
        test "entry0" instead of "entry1".  ARM targets use REL relocs,
        and should use the test entry0.

25 years agoFix minor typos introduced while cleaning up the previous patch.
Jeff Law [Wed, 1 Sep 1999 20:06:15 +0000 (20:06 +0000)]
Fix minor typos introduced while cleaning up the previous patch.

25 years ago * elf-hppa.h (elf_hppa_add_symbol_hook): New function.
Jeff Law [Wed, 1 Sep 1999 19:42:17 +0000 (19:42 +0000)]
    * elf-hppa.h (elf_hppa_add_symbol_hook): New function.
        (elf_hppa_final_link, elf_hppa_relocate_section): Likewise.
        (elf_hppa_final_link_relocate, elf_hppa_relocate_insn): Likewise.