OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years ago * i386-dis.c (twobyte_has_modrm): Update table.
Alan Modra [Sat, 12 May 2001 12:07:10 +0000 (12:07 +0000)]
* i386-dis.c (twobyte_has_modrm): Update table.
(need_modrm): Give it file scope.
(MODRM_CHECK): Define.
(dofloat): Use MODRM_CHECK.
(OP_E): Likewise.
(OP_EM): Likewise.
(OP_EX): Likewise.
and fix testsuite yet again now that we are getting correct disassembly.

23 years agoOops, wrong address for pmuludq insn.
Alan Modra [Sat, 12 May 2001 10:28:20 +0000 (10:28 +0000)]
Oops, wrong address for pmuludq insn.

23 years agoCorrect cvtps2dq, movdq2q, movq2dq, and movq problems.
Alan Modra [Sat, 12 May 2001 09:52:40 +0000 (09:52 +0000)]
Correct cvtps2dq, movdq2q, movq2dq, and movq problems.

23 years agomerge from gcc
DJ Delorie [Fri, 11 May 2001 20:22:28 +0000 (20:22 +0000)]
merge from gcc

23 years ago * elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind
Jakub Jelinek [Fri, 11 May 2001 12:36:47 +0000 (12:36 +0000)]
* elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind
sections as well.
(elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO
to .gnu.linkonce.t.FOO text section.

* readelf.c (process_unwind): Print all unwind sections, not just
one.

* config/tc-ia64.c (special_linkonce_name): New.
(make_unw_section): Map .gnu.linkonce.t.FOO text section into
.gnu.linkonce.ia64unw{,i}.FOO.
(ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO.
(dot_endp): Add comment about it.

* elf/ia64.h (ELF_STRING_ia64_unwind_once): Define.
(ELF_STRING_ia64_unwind_info_once): Define.

* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
.gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
output sections.
* emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.

23 years ago * merge.c (struct sec_merge_hash_entry): Add u.entsize and u.suffix
Jakub Jelinek [Fri, 11 May 2001 12:23:48 +0000 (12:23 +0000)]
* merge.c (struct sec_merge_hash_entry): Add u.entsize and u.suffix
fields, change sec into secinfo.
(struct sec_merge_info): Add chain, remove last fields.
(struct sec_merge_sec_info): Add next, sec, psecinfo fields.
(sec_merge_hash_lookup): If lookup could not use a string only
because it has bad alignment, mark the old string for deletion.
(sec_merge_add): Add secinfo argument. Don't compute entry's
position, instead record the section.
(sec_merge_emit): Update for the sec into secinfo change in
struct sec_merge_hash_entry.
(_bfd_merge_section): Only record the section for merging, defer
putting strings into the hash table.
(cmplengthentry, last4_eq, last_eq, record_section, merge_strings,
_bfd_merge_sections): New functions.
(_bfd_merged_section_offset): Update for the sec_merge_hash_entry
changes.
* libbfd-in.h (_bfd_merge_sections): Add prototype.
(_bfd_nolink_bfd_merge_sections): Define.
* libbfd.h: Likewise.
(bfd_generic_merge_sections): Add prototype.
* targets.c (BFD_JUMP_TABLE_LINK): Add _bfd_merge_sections.
(struct bfd_target): Likewise.
* bfd.c (bfd_merge_sections): Define.
* bfd-in2.h: Rebuilt.
* elf.c (_bfd_elf_merge_sections): New function.
* elf-bfd.h (_bfd_elf_merge_sections): Add prototype.
* elfxx-target.h (bfd_elfNN_bfd_merge_sections): Define.
* reloc.c (bfd_generic_merge_sections): New function.
* vms.c (vms_bfd_merge_sections): New function.
* aout-adobe.c (aout_32_bfd_merge_sections): Define.
* aout-target.h (MY_bfd_merge_sections): Define.
* aout-tic30.c (MY_bfd_merge_sections): Define.
* binary.c (binary_bfd_merge_sections): Define.
* bout.c (b_out_bfd_merge_sections): Define.
* coff-alpha.c (_bfd_ecoff_bfd_merge_sections): Define.
* coffcode.c (coff_bfd_merge_sections): Define.
* coff-mips.c (_bfd_ecoff_bfd_merge_sections): Define.
* i386msdos.c (msdos_bfd_merge_sections): Define.
* i386os9k.c (os9k_bfd_merge_sections): Define.
* ieee.c (ieee_bfd_merge_sections): Define.
* ihex.c (ihex_bfd_merge_sections): Define.
* nlm-target.h (nlm_bfd_merge_sections): Define.
* oasys.c (oasys_bfd_merge_sections): Define.
* ppcboot.c (ppcboot_bfd_merge_sections): Define.
* som.c (som_bfd_merge_sections): Define.
* srec.c (srec_bfd_merge_sections): Define.
* tekhex.c (tekhex_bfd_merge_sections): Define.
* versados.c (versados_bfd_merge_sections): Define.
* xcoff-target.h (_bfd_xcoff_bfd_merge_sections): Define.

* ldlang.c (lang_process): Call bfd_merge_sections.

23 years agoWhen truncating an aligned block, ensure that the low order bits of the
Nick Clifton [Fri, 11 May 2001 10:01:41 +0000 (10:01 +0000)]
When truncating an aligned block, ensure that the low order bits of the
alignment are preserved.

23 years agoChange type of 'addr' to be unsigned long, in order to match its use.
Nick Clifton [Fri, 11 May 2001 09:55:02 +0000 (09:55 +0000)]
Change type of 'addr' to be unsigned long, in order to match its use.

23 years ago2001-05-10 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 10 May 2001 22:59:29 +0000 (22:59 +0000)]
2001-05-10  H.J. Lu  <hjl@gnu.org>

* linker.c (_bfd_generic_link_add_one_symbol): Check loop on
indirect symbols.

23 years agoFix more fallout from multi-pass relaxation patch.
Alan Modra [Thu, 10 May 2001 11:32:52 +0000 (11:32 +0000)]
Fix more fallout from multi-pass relaxation patch.

23 years ago * gas/cris/rd-dw2-10.d: Tweak for change in gas dwarf2 line number
Hans-Peter Nilsson [Thu, 10 May 2001 02:31:01 +0000 (02:31 +0000)]
* gas/cris/rd-dw2-10.d: Tweak for change in gas dwarf2 line number
handling.

23 years ago * config/tc-ia64.c (generate_unwind_image): Align the fragment
Richard Henderson [Thu, 10 May 2001 00:18:19 +0000 (00:18 +0000)]
    * config/tc-ia64.c (generate_unwind_image): Align the fragment
        beginning a function's unwind info block.

23 years ago2001-05-09 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 9 May 2001 22:34:30 +0000 (22:34 +0000)]
2001-05-09  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_link_add_object_symbols): Fix a typo. Allocate
versymhdr->sh_size bytes for extversym instead of hdr->sh_size.
Remove the unused veriable `dynver'.

23 years agomerge from gcc
DJ Delorie [Wed, 9 May 2001 20:08:48 +0000 (20:08 +0000)]
merge from gcc

23 years ago* config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs.
Alexandre Oliva [Wed, 9 May 2001 13:32:01 +0000 (13:32 +0000)]
* config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs.

23 years ago * config/tc-m68k.c: Instead of replacing -1 by 64 in assignment to
Andreas Schwab [Tue, 8 May 2001 18:03:27 +0000 (18:03 +0000)]
* config/tc-m68k.c: Instead of replacing -1 by 64 in assignment to
fx_pcrel_adjust explicitly sign extend when reading it.

23 years ago * coff-i386.c (coff_i386_reloc): Don't dump core if output_bfd is
Ian Lance Taylor [Tue, 8 May 2001 17:44:00 +0000 (17:44 +0000)]
* coff-i386.c (coff_i386_reloc): Don't dump core if output_bfd is
NULL or is not COFF.
(coff_i386_rtype_to_howto): Don't dump core if output section
owner is not COFF.

23 years agoRemove extraneous character in first line.
Ian Lance Taylor [Tue, 8 May 2001 17:14:35 +0000 (17:14 +0000)]
Remove extraneous character in first line.

23 years agomerge from gcc
DJ Delorie [Tue, 8 May 2001 14:35:18 +0000 (14:35 +0000)]
merge from gcc

23 years agoMore fallout from 2001-03-30 changes.
Alan Modra [Tue, 8 May 2001 13:13:56 +0000 (13:13 +0000)]
More fallout from 2001-03-30 changes.
* config/tc-m68k.c (md_estimate_size_before_relax): Set fr_var
from md_relax_table, and combine some switch cases.

23 years ago* cgen asm/disasm
Frank Ch. Eigler [Mon, 7 May 2001 17:55:21 +0000 (17:55 +0000)]
* cgen asm/disasm

[opcodes/ChangeLog]
2001-05-07  Frank Ch. Eigler  <fche@redhat.com>

        * cgen-dis.in (default_print_insn): Tolerate min<base instructions
        even at end of a section.
        * cgen-ibld.in (extract_normal): Tolerate min!=base!=max instructions
        by ignoring precariously-unpacked insn_value in favor of raw buffer.

[cgen/ChangeLog]
2001-05-07  Frank Ch. Eigler  <fche@redhat.com>

        * iformat.scm (compute-insn-base-mask-length): Rewrite to tolerate
        various-base-length instruction sets.

23 years agomerge from gcc
DJ Delorie [Mon, 7 May 2001 16:21:15 +0000 (16:21 +0000)]
merge from gcc

23 years ago * disassemble.c (disassembler_usage): Remove unused attribute.
Alan Modra [Mon, 7 May 2001 09:21:56 +0000 (09:21 +0000)]
* disassemble.c (disassembler_usage): Remove unused attribute.

23 years ago * ldgram.y: Fix typo.
Alan Modra [Mon, 7 May 2001 09:20:25 +0000 (09:20 +0000)]
* ldgram.y: Fix typo.

23 years ago * external.h: Fix typo.
Alan Modra [Mon, 7 May 2001 09:18:52 +0000 (09:18 +0000)]
* external.h: Fix typo.
* mips.h: Add/Extend many comments with reference to the MIPS ELF64
spec v. 2.4, available at e.g.
ftp://oss.sgi.com/pub/linux/mips/doc/ABI/ELF64.ps.
(EF_MIPS_UCODE): Define.
(EF_MIPS_OPTIONS_FIRST): Define.
(EF_MIPS_ARCH_ASE): Define.
(EF_MIPS_ARCH_ASE_MDMX): Define.
(EF_MIPS_ARCH_ASE_M16): Define.
(SHF_MIPS_ADDR): Renamed SHF_MIPS_ADDR32.
(SHF_MIPS_STRING): Renamed SHF_MIPS_ADDR64.
(SHF_MIPS_NODUPES): Define.
(ELF64_MIPS_R_SSYM): New MIPS ELF 64 relocation info access macro.
(ELF64_MIPS_R_TYPE3): Likewise.
(ELF64_MIPS_R_TYPE2): Likewise.
(ELF64_MIPS_R_TYPE): Likewise.
(OHW_R10KLDL): Define.

23 years ago * readelf.c (process_unwind): Remove const specifier.
Alan Modra [Mon, 7 May 2001 09:17:34 +0000 (09:17 +0000)]
* readelf.c (process_unwind): Remove const specifier.

23 years ago * ecoff.c (bfd_debug_section): Fix initialization.
Alan Modra [Mon, 7 May 2001 09:15:26 +0000 (09:15 +0000)]
* ecoff.c (bfd_debug_section): Fix initialization.
* elf.c (_bfd_elf_slurp_version_tables): Change maxidx to unsigned, it
is always a positive integer. Cast away sign mismatch.
* elf32-mips.c: Fix misleading comment and typo.
(_bfd_mips_elf_section_from_bfd_section): Remove unused attribute, use
correct data type.
* elflink.c: Fix typo.
(_bfd_elf_create_dynamic_sections): Remove superfluous initialization.
* ecoffswap.h (ecoff_swap_fdr_in): Cast away sign mismatch.

23 years ago* config/tc-mn10300.c (md_assemble): Subtract operand->shift
Alexandre Oliva [Sun, 6 May 2001 20:05:28 +0000 (20:05 +0000)]
* config/tc-mn10300.c (md_assemble): Subtract operand->shift
from offset in non-pcrel operands too.

23 years agoDo not insert more than MAX_MEM_FOR_RS_ALIGN_CODE bytes.
Nick Clifton [Sun, 6 May 2001 10:11:33 +0000 (10:11 +0000)]
Do not insert more than MAX_MEM_FOR_RS_ALIGN_CODE bytes.

23 years ago * elf64-alpha.c (SREL16, SREL32, SREL64): Set pcrel_offset true.
Richard Henderson [Fri, 4 May 2001 23:22:31 +0000 (23:22 +0000)]
    * elf64-alpha.c (SREL16, SREL32, SREL64): Set pcrel_offset true.

23 years ago* typo fix
Frank Ch. Eigler [Fri, 4 May 2001 17:46:00 +0000 (17:46 +0000)]
* typo fix

23 years ago* m32r disasm bug fix
Frank Ch. Eigler [Fri, 4 May 2001 17:45:19 +0000 (17:45 +0000)]
* m32r disasm bug fix

2001-05-04  Frank Ch. Eigler  <fche@redhat.com>

* m32r-dis.c, -asm.c, -ibld.c: Regenerated with disassembler fixes.

2001-05-04  Frank Ch. Eigler  <fche@redhat.com>

* cgen-dis.in (print_insn): Remove call to read_insn.  Instead,
assume incoming buffer already has the base insn loaded.  Handle
case of smaller-than-base instructions for variable-length case.

23 years agoAssorted fixes to pinsrw, pextrw, pmovmskb, movmskp, maskmovq.
Alan Modra [Fri, 4 May 2001 11:10:55 +0000 (11:10 +0000)]
Assorted fixes to pinsrw, pextrw, pmovmskb, movmskp, maskmovq.

23 years agoSet EF_ARM_HASENTRY if the start address is set.
Nick Clifton [Fri, 4 May 2001 08:32:21 +0000 (08:32 +0000)]
Set EF_ARM_HASENTRY if the start address is set.

23 years ago* configure.in (noconfigdirs) [*-cygwin*, *-mingw*, *-beos]: Disable
Alexandre Oliva [Thu, 3 May 2001 20:31:54 +0000 (20:31 +0000)]
* configure.in (noconfigdirs) [*-cygwin*, *-mingw*, *-beos]: Disable
libgcj.

23 years agoCompute value of _bfd_target_vector_entries based on the size of
Nick Clifton [Thu, 3 May 2001 17:49:49 +0000 (17:49 +0000)]
Compute value of _bfd_target_vector_entries based on the size of
 _bfd_target_vector and not bfd_target_vector.

23 years ago2001-05-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 3 May 2001 06:26:26 +0000 (06:26 +0000)]
2001-05-03  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em: Include "libiberty.h".
(gld${EMULATION_NAME}_vercheck): Call basename () to get the
basename of the bfd filename.
(gld${EMULATION_NAME}_stat_needed): Likewise.
(gld${EMULATION_NAME}_try_needed): Likewise.
(gld${EMULATION_NAME}_open_dynamic_archive): Likewise.

23 years ago2001-05-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 3 May 2001 06:25:58 +0000 (06:25 +0000)]
2001-05-03  H.J. Lu  <hjl@gnu.org>

* ld-elfvers/vers19.ver: Expect vers17.so instead of
*tmpdir/vers17.so.

23 years ago2001-05-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 3 May 2001 06:18:09 +0000 (06:18 +0000)]
2001-05-03  H.J. Lu  <hjl@gnu.org>

* elfcode.h: Include "libiberty.h".

* elflink.h (elf_link_add_object_symbols): Set
elf_dt_name (abfd) to basename of the bfd filename.
(NAME(bfd_elf,size_dynamic_sections)): Set vn_file to basename
of the bfd filename.

23 years ago * coff-alpha.c (reloc_nil): Likewise.
Andreas Jaeger [Thu, 3 May 2001 05:08:17 +0000 (05:08 +0000)]
    * coff-alpha.c (reloc_nil): Likewise.
        (alpha_ecoff_bad_format_hook): Likewise.
        (alpha_adjust_reloc_out): Likewise.
        (alpha_bfd_reloc_type_lookup): Likewise.
        (alpha_convert_external_reloc): Likewise.

23 years ago * elf64-gen.c (elf_generic_info_to_howto): Add unused attribute.
Andreas Jaeger [Thu, 3 May 2001 04:46:27 +0000 (04:46 +0000)]
* elf64-gen.c (elf_generic_info_to_howto): Add unused attribute.
(elf_generic_info_to_howto_rel): Likewise.
* coff-alpha.c (reloc_nil): Likewise.
(alpha_ecoff_bad_format_hook): Likewise.
(alpha_adjust_reloc_out): Likewise.
(alpha_bfd_reloc_type_lookup): Likewise.
(alpha_convert_external_reloc): Likewise.
* elf64-alpha.c (elf64_alpha_reloc_nil): Likewise.
(elf64_alpha_reloc_bad): Likewise.
(elf64_alpha_reloc_gpdisp): Likewise.
(elf64_alpha_bfd_reloc_type_lookup): Likewise.
(elf64_alpha_info_to_howto): Likewise.
(elf64_alpha_add_symbol_hook): Likewise.
(elf64_alpha_create_got_section): Likewise.
(elf64_alpha_is_local_label_name): Likewise.
(elf64_alpha_merge_ind_symbols): Likewise.
* elf64-mips.c (mips_elf64_reloc_type_lookup): Likewise.
(mips_elf64_get_reloc_upper_bound): Likewise.
* nlm32-alpha.c (nlm_alpha_mangle_relocs): Likewise.
(nlm_alpha_get_public_offset): Likewise.

23 years agoWarning fixes and configure/makefile tweaks by Thiemo Seufer.
Alan Modra [Thu, 3 May 2001 02:07:02 +0000 (02:07 +0000)]
Warning fixes and configure/makefile tweaks by Thiemo Seufer.

23 years ago * config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF
Alan Modra [Thu, 3 May 2001 01:08:44 +0000 (01:08 +0000)]
* config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF
expressions rather than triggering an assert.

23 years ago2001-05-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 2 May 2001 21:01:03 +0000 (21:01 +0000)]
2001-05-02  H.J. Lu  <hjl@gnu.org>

* emultempl/pe.em: Include <ctype.h>.

23 years agoFix indentation and parenthesis
Nick Clifton [Wed, 2 May 2001 18:40:10 +0000 (18:40 +0000)]
Fix indentation and parenthesis

23 years agoAdd gas and ld support for openrisc
Nick Clifton [Wed, 2 May 2001 18:14:31 +0000 (18:14 +0000)]
Add gas and ld support for openrisc

23 years ago2001-05-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 2 May 2001 16:42:55 +0000 (16:42 +0000)]
2001-05-02  H.J. Lu  <hjl@gnu.org>

* ldfile.c: Include "libiberty.h".
* ldlex.l: Likewise.

* ldmisc.c (buystring): Removed.
* ldmisc.h: Likewise.

* ldfile.c: Replace buystring with xstrdup.
* ldlang.c: Likewise.
* ldlex.l: Likewise.
* ldmain.c: Likewise.
* ldmisc.c: Likewise.
* lexsup.c: Likewise.
* mpw-eppcmac.c: Likewise.

23 years agoimprrove error message
Nick Clifton [Wed, 2 May 2001 11:33:12 +0000 (11:33 +0000)]
imprrove error message

23 years ago * ld-scripts/phdrs.exp: Fix regexp, s390x is 64 bit platform.
Andreas Jaeger [Tue, 1 May 2001 08:07:35 +0000 (08:07 +0000)]
    * ld-scripts/phdrs.exp: Fix regexp, s390x is 64 bit platform.

        * ld-scripts/phdrs.t: Use startaddress that's greater than any
        MAXPAGESIZE used.

23 years ago2000-04-27 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 30 Apr 2001 16:13:26 +0000 (16:13 +0000)]
2000-04-27  H.J. Lu  <hjl@gnu.org>

* elf.c (_bfd_elf_link_hash_hide_symbol): Set dynindx to -1
only for ELF_LINK_FORCED_LOCAL.
* elf32-hppa.c (elf32_hppa_hide_symbol): Likewise.
* elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise.
* elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise.

* elflink.h (elf_fix_symbol_flags): Set ELF_LINK_FORCED_LOCAL
if the symbol has hidden or internal visibility.

23 years ago * elf32-hppa.c (final_link_relocate): Branch to .+8 for
Alan Modra [Mon, 30 Apr 2001 13:34:41 +0000 (13:34 +0000)]
* elf32-hppa.c (final_link_relocate): Branch to .+8 for
calls to undefined weak symbols.

23 years ago * elf64-x86-64.c (elf64_x86_64_relocate_section): Correct test for
Andreas Jaeger [Mon, 30 Apr 2001 10:30:05 +0000 (10:30 +0000)]
* elf64-x86-64.c (elf64_x86_64_relocate_section): Correct test for
R_X86_64_GOTPCREL, don't use assignments instead of comparisons.

23 years ago * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
Andreas Jaeger [Mon, 30 Apr 2001 09:37:08 +0000 (09:37 +0000)]
* emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.

23 years ago2001-04-29 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 29 Apr 2001 19:10:21 +0000 (19:10 +0000)]
2001-04-29  H.J. Lu  <hjl@gnu.org>

* ld-shared/symbolic.dat: New.

* ld-shared/shared.exp: Also check -Bsymbolic.

23 years ago2001-04-29 Keith M Wesolowski <wesolows@foobazco.org>
H.J. Lu [Sun, 29 Apr 2001 17:58:39 +0000 (17:58 +0000)]
2001-04-29  Keith M Wesolowski <wesolows@foobazco.org>

* config/tc-mips.c (md_parse_option): Also accept
elf64-tradbigmips and elf64-tradlittlemips for OPTION_64.

23 years ago * elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Only swap
Andreas Jaeger [Sun, 29 Apr 2001 13:42:45 +0000 (13:42 +0000)]
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Only swap
out handled entries.
(elf64_x86_64_finish_dynamic_symbol): Set up GOT entries.
(elf64_x86_64_relocate_section): Fix GOTPCREL calculation.
(elf64_x86_64_relocate_section): Merge entries for GOTPCREL and
GOT32.

23 years agoGive emulation a chance to process unrecognized file before fatal error is
Nick Clifton [Sat, 28 Apr 2001 18:00:10 +0000 (18:00 +0000)]
Give emulation a chance to process unrecognized file before fatal error is
reported, not after.

23 years ago * ld-scripts/phdrs.exp: x86-64 is a 64 bit ELF platform, handle it
Andreas Jaeger [Sat, 28 Apr 2001 16:14:39 +0000 (16:14 +0000)]
* ld-scripts/phdrs.exp: x86-64 is a 64 bit ELF platform, handle it
special.

23 years agoRevert the last change on aclocal.m4.
H.J. Lu [Fri, 27 Apr 2001 21:25:04 +0000 (21:25 +0000)]
Revert the last change on aclocal.m4.

23 years ago2001-04-27 David Mosberger <davidm@hpl.hp.com>
H.J. Lu [Fri, 27 Apr 2001 20:42:55 +0000 (20:42 +0000)]
2001-04-27  David Mosberger  <davidm@hpl.hp.com>

* config/tc-ia64.c (dot_spillmem_p): Fix output_spill_?sprel_p()
argument passing order: predicate goes last, not first.

23 years agoAdd support for arm-vxworks target
Nick Clifton [Fri, 27 Apr 2001 17:12:18 +0000 (17:12 +0000)]
Add support for arm-vxworks target

23 years agoSupport printable characters outside of the ASCII range
Nick Clifton [Fri, 27 Apr 2001 15:42:21 +0000 (15:42 +0000)]
Support printable characters outside of the ASCII range

23 years agoAdd openRISC support in opcodes
Nick Clifton [Fri, 27 Apr 2001 13:34:20 +0000 (13:34 +0000)]
Add openRISC support in opcodes

23 years ago2001-04-26 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 26 Apr 2001 19:09:20 +0000 (19:09 +0000)]
2001-04-26  H.J. Lu  <hjl@gnu.org>

* elf32-i386.c (elf_i386_check_relocs): Verify if r_symndx is
valid.

23 years agoAdd ability to pad code alignment frags with no-ops.
Nick Clifton [Thu, 26 Apr 2001 15:19:21 +0000 (15:19 +0000)]
Add ability to pad code alignment frags with no-ops.

23 years ago* configure.in (noconfigdirs): Don't reset it from scratch in the
Alexandre Oliva [Thu, 26 Apr 2001 05:42:15 +0000 (05:42 +0000)]
* configure.in (noconfigdirs): Don't reset it from scratch in the
target case; only append to it.

23 years ago* configure.in (noconfigdirs) [hppa*-*-*, mips*-*-irix6*,
Alexandre Oliva [Thu, 26 Apr 2001 05:32:29 +0000 (05:32 +0000)]
* configure.in (noconfigdirs) [hppa*-*-*, mips*-*-irix6*,
sparc-*-solaris2.8]: Disable ${libgcj}.

23 years ago* configure.in (libgcj_saved): Copy from $libgcj.
Alexandre Oliva [Wed, 25 Apr 2001 21:41:21 +0000 (21:41 +0000)]
* configure.in (libgcj_saved): Copy from $libgcj.
(libgcj): Zero out if --enable-libgcj; add to noconfigdirs is
--disable-libgcj.

23 years ago* externalize a function
Frank Ch. Eigler [Wed, 25 Apr 2001 21:08:02 +0000 (21:08 +0000)]
* externalize a function

2001-04-25  Frank Ch. Eigler  <fche@redhat.com>

* bfd-in.h (bfd_cache_close): Declare newly exported function.
* bfd-in2.h: Regenerated.

23 years agoFix autoconf breakage + commit target.c, omitted in previous delta
Nick Clifton [Wed, 25 Apr 2001 19:09:30 +0000 (19:09 +0000)]
Fix autoconf breakage + commit target.c, omitted in previous delta

23 years agoCheck to see if the filename symbol has been initialised before extracting
Nick Clifton [Wed, 25 Apr 2001 09:11:31 +0000 (09:11 +0000)]
Check to see if the filename symbol has been initialised before extracting
its symbol index.

23 years ago2001-04-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 25 Apr 2001 00:18:35 +0000 (00:18 +0000)]
2001-04-24  H.J. Lu  <hjl@gnu.org>

* configure: Regenerated with the right version of autoconf.

23 years ago* sparc.h: Fix typo.
DJ Delorie [Tue, 24 Apr 2001 18:32:27 +0000 (18:32 +0000)]
* sparc.h: Fix typo.

23 years ago * merge.c (struct sec_merge_hash_entry): Add alignment field.
Jakub Jelinek [Tue, 24 Apr 2001 17:55:57 +0000 (17:55 +0000)]
* merge.c (struct sec_merge_hash_entry): Add alignment field.
(struct sec_merge_hash): Remove alignment_power.
(sec_merge_hash_newfunc): Clear alignment.
(sec_merge_hash_lookup): Pass alignment as argument.
Use hashp->root.next, not hashp->next to walk the hash chain.
If a string already in the hashtable does not have required
alignment, create a new hashtable entry.
(sec_merge_init): Remove alignment_power argument.
(sec_merge_add): Add alignment argument.
(sec_merge_emit): Alignment is now a per-entity thing, not per
section.
(_bfd_merge_section): Sanity check even non-SEC_STRINGS sections
for proper alignment.
Pass alignment information to sec_merge_add.

23 years agoz8k fixes
Nick Clifton [Tue, 24 Apr 2001 15:22:25 +0000 (15:22 +0000)]
z8k fixes

23 years agoAdd OpenRISC support
Nick Clifton [Tue, 24 Apr 2001 15:08:16 +0000 (15:08 +0000)]
Add OpenRISC support

23 years ago2001-04-23 Bo Thorsen <bo@suse.de>
Andreas Jaeger [Mon, 23 Apr 2001 08:00:14 +0000 (08:00 +0000)]
2001-04-23  Bo Thorsen  <bo@suse.de>

* x86-64.h: Add vtable support.

2001-04-23  Bo Thorsen  <bo@suse.de>

* elf64-x86-64.c: Add c++ vtable hack.
Small whitespace and comment changes.

23 years ago2000-04-20 Jason Eckhardt <jle@redhat.com>
Jason Eckhardt [Fri, 20 Apr 2001 23:38:37 +0000 (23:38 +0000)]
2000-04-20  Jason Eckhardt  <jle@redhat.com>

* config/tc-d10v.h (tc_frob_label): Update the symbol's frag
since frag_now can change after d10v_cleanup is called.

23 years ago* ltconfig, ltmain.sh, ltcf-cxx.sh: Upgraded to libtool 1.4a
Alexandre Oliva [Fri, 20 Apr 2001 09:28:05 +0000 (09:28 +0000)]
* ltconfig, ltmain.sh, ltcf-cxx.sh: Upgraded to libtool 1.4a
1.641.2.228.

23 years ago2001-04-19 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Thu, 19 Apr 2001 09:39:28 +0000 (09:39 +0000)]
2001-04-19  Andreas Jaeger  <aj@suse.de>

* elf64-x86-64.c (elf64_x86_64_plt0_entry): Fix instructions.
(elf64_x86_64_plt_entry): Likewise.
(elf64_x86_64_finish_dynamic_sections): Fix PLT0 generation.
(elf64_x86_64_finish_dynamic_symbol): Fix PLT generation.

23 years ago* dlltool.c (do_default_excludes): Initialise to true.
DJ Delorie [Tue, 17 Apr 2001 23:28:38 +0000 (23:28 +0000)]
* dlltool.c (do_default_excludes): Initialise to true.

23 years ago * elf32-cris.c: Tweak comments related to dynamic linking.
Hans-Peter Nilsson [Tue, 17 Apr 2001 12:32:30 +0000 (12:32 +0000)]
* elf32-cris.c: Tweak comments related to dynamic linking.
(cris_elf_relocate_section): When not creating shared object, fill
in the .got table for any symbol not in the dynamic symbol table.
(elf_cris_finish_dynamic_symbol): When not creating shared object,
only emit a .got.rela reloc if the symbol is in the dynamic symbol
table.
(cris_elf_check_relocs): Use variable r_type in all places rather
than the original expression.  Add default case in switch for
reloc types.
(elf_cris_size_dynamic_sections): Iterate over
elf_cris_discard_excess_program_dynamics when not creating shared
library.
  (elf_cris_discard_excess_dso_dynamics): Renamed from
elf_cris_discard_copies.  Correct typo, s/Rel/Rela/.
(elf_cris_discard_excess_program_dynamics): New.

23 years ago2001-04-16 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Tue, 17 Apr 2001 01:36:23 +0000 (01:36 +0000)]
2001-04-16  David O'Brien  <obrien@FreeBSD.org>
* configure.in: Add the em type for FreeBSD targets.
* configure: Regenerate.

Approved by:  Alan Modra <amodra@one.net.au>
              <20010414192409.C16364@squeak.one.net.au>
  Philip Blundell <philb@gnu.org>
  <E14o06W-0002IT-00@kings-cross.london.uk.eu.org>

23 years agosync with egcs
DJ Delorie [Mon, 16 Apr 2001 18:42:41 +0000 (18:42 +0000)]
sync with egcs

23 years agoForgot the makefile portion
Daniel Berlin [Mon, 16 Apr 2001 14:11:24 +0000 (14:11 +0000)]
Forgot the makefile portion

23 years ago2001-04-15 Daniel Berlin <dan@cgsoftware.com>
Daniel Berlin [Mon, 16 Apr 2001 14:10:14 +0000 (14:10 +0000)]
2001-04-15  Daniel Berlin  <dan@cgsoftware.com>

* ternary.c: New file - Ternary search tree implementation.

2001-04-15  Daniel Berlin  <dan@cgsoftware.com>

* ternary.h: New file - Ternary search tree header.

23 years ago* coffcode.h (coff_write_object_contents): Use
DJ Delorie [Sun, 15 Apr 2001 04:23:46 +0000 (04:23 +0000)]
* coffcode.h (coff_write_object_contents): Use
bfd_coff_swap_filehdr_out instead of coff_swap_filehdr_out.

23 years ago2001-04-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 15 Apr 2001 01:02:54 +0000 (01:02 +0000)]
2001-04-14  H.J. Lu  <hjl@gnu.org>

* bfd-in2.h: Regenerate.

23 years ago * section.c (STD_SECTION): Add entsize.
Jakub Jelinek [Sat, 14 Apr 2001 14:23:31 +0000 (14:23 +0000)]
* section.c (STD_SECTION): Add entsize.

23 years ago* struc-symbol.h (struct local_symbol): New TC_LOCAL_SYMFIELD_TYPE.
Alexandre Oliva [Sat, 14 Apr 2001 06:57:28 +0000 (06:57 +0000)]
* struc-symbol.h (struct local_symbol): New TC_LOCAL_SYMFIELD_TYPE.
* symbols.c (local_symbol_convert): Call TC_LOCAL_SYMFIELD_CONVERT.

23 years ago* config/tc-mn10300.c (md_assemble): Simplify offset adjustment of
Alexandre Oliva [Sat, 14 Apr 2001 06:53:57 +0000 (06:53 +0000)]
* config/tc-mn10300.c (md_assemble): Simplify offset adjustment of
pc-relative relocations not placed at the end of the instruction.

23 years ago2001-04-13 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 14 Apr 2001 04:13:00 +0000 (04:13 +0000)]
2001-04-13  H.J. Lu  <hjl@gnu.org>

* section.c (SEC_MERGE): Define new flag for merging.
(SEC_STRINGS): Likewise.
(entsize): New field.

23 years agoFix latent bug exposed by a gcc-3 bug fix.
Jim Wilson [Sat, 14 Apr 2001 03:51:40 +0000 (03:51 +0000)]
Fix latent bug exposed by a gcc-3 bug fix.
* tc-ia64.c (is_conditional_branch): Return true for br, brl, and br.
excluding br.i.

23 years ago* coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section
DJ Delorie [Fri, 13 Apr 2001 22:42:48 +0000 (22:42 +0000)]
* coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section
flag on pe-i386 targets.

23 years ago* ld.texinfo: Document --fatal-warnings.
J.T. Conklin [Fri, 13 Apr 2001 02:22:23 +0000 (02:22 +0000)]
* ld.texinfo: Document --fatal-warnings.
* ld.1: Regenerate.

* ldmisc.c (vfinfo): Set flag to inhibit making executable if
warnings have been turned into errors.
* lexsup.c (OPTION_WARN_FATAL): Define.
(ld_options): Entry for --fatal-warnings.
(parse_args): Handle OPTION_WARN_FATAL.
* ld.h (ld_config_type): Add fatal_warnings field.

23 years agobfd/
Jakub Jelinek [Fri, 13 Apr 2001 00:34:36 +0000 (00:34 +0000)]
bfd/
* libbfd-in.h (_bfd_merge_section): New.
(_bfd_write_merged_section): New.
(_bfd_merged_section_offset): New.
* libbfd.h: Rebuilt.
* linker.c (_bfd_generic_link_output_symbols): Handle
discard_sec_merge.
* aoutx.h (aout_link_write_symbols): Likewise.
* pdp11.c (aout_link_write_symbols): Likewise.
* elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section.
(elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE
sections.
(elf_link_sec_merge_syms): New.
(elf_link_input_bfd): Call _bfd_merged_section_offset
and _bfd_write_merged_section.
Handle discard_sec_merge.
* elf-bfd.h (struct elf_link_hash_table): Add merge_info
field.
(struct bfd_elf_section_data): Likewise.
* elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and
SEC_STRINGS section flags and entsize from their ELF counterparts.
(_bfd_elf_link_hash_table_init): Initialize merge_info.
(elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize
from their BFD counterparts.
* merge.c: New file.
* Makefile.am: Add strtab.lo.
* Makefile.in: Rebuilt.
include/
* bfdlink.h (bfd_link_discard): Add discard_sec_merge.
gas/
* config/obj-elf.c (obj_elf_change_section): Add entsize argument,
handle SHF_MERGE and SHF_STRINGS.
(obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS.
(obj_elf_section): Allow additional argument specifying entity size.
* write.c (adjust_reloc_syms): Keep relocations against local symbols
in SEC_MERGE sections.
ld/
* ldmain.c (main): Default to discard_sec_merge.
* lexsup.c (OPTION_DISCARD_NONE): Define.
(ld_options): Add --discard-none.
(parse_args): Handle OPTION_DISCARD_NONE.
* ldlang.c (wild_doit): SEC_MERGE should be set in the output
section only if SEC_MERGE and SEC_STRINGS flags and entsize of
all its input sections match.

23 years ago * dwarf2dbg.c (process_entries): Don't optimize redundant line notes.
Jason Merrill [Thu, 12 Apr 2001 16:00:32 +0000 (16:00 +0000)]
    * dwarf2dbg.c (process_entries): Don't optimize redundant line notes.

23 years ago* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
Alexandre Oliva [Thu, 12 Apr 2001 12:32:00 +0000 (12:32 +0000)]
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.226.

23 years ago* expr.c (operand): Pass &c to md_parse_name().
Alexandre Oliva [Thu, 12 Apr 2001 07:03:10 +0000 (07:03 +0000)]
* expr.c (operand): Pass &c to md_parse_name().
* config/tc-ia64.h, config/tc-ppc.h, config/tc-tic54x.h: Adjust.

23 years ago * MAINTAINERS: Update my email address
Alan Modra [Wed, 11 Apr 2001 07:07:29 +0000 (07:07 +0000)]
* MAINTAINERS: Update my email address
* nm.c (print_symbol_info_bsd): Use a simple printf string.