OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years ago * elf64-ppc.c (ppc64_elf_relocate_section): Reinstate code
Alan Modra [Sat, 4 May 2002 12:01:02 +0000 (12:01 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Reinstate code
reloading local sym addend mistakenly removed in 2002-05-01 change.

* dwarf2.c (struct line_head): Make prologue_length a bfd_vma.
(read_abbrevs): Change "offset" param to bfd_vma.
(parse_comp_unit): Change "version" and addr_size to unsigned ints.
Change "abbrev_offset" to bfd_vma.
(read_indirect_string): Use correct conversion chars in error
message format string, cast bfd_vma's to unsigned long.
(read_abbrevs): Likewise.
(read_attribute_value): Likewise.
(decode_line_info): Likewise.
(scan_unit_for_functions): Likewise.
(parse_comp_unit): Likewise.

22 years agoFix problem with objdump and 16 bit R_BA.
Tom Rix [Sat, 4 May 2002 10:07:18 +0000 (10:07 +0000)]
Fix problem with objdump and 16 bit R_BA.

22 years ago * emultempl/hppaelf.em (build_section_lists): New function.
Alan Modra [Sat, 4 May 2002 02:06:43 +0000 (02:06 +0000)]
* emultempl/hppaelf.em (build_section_lists): New function.
(gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
and build_section_lists.

22 years ago * elf32-hppa.c (struct elf32_hppa_link_hash_table): Add
Alan Modra [Sat, 4 May 2002 02:06:22 +0000 (02:06 +0000)]
* elf32-hppa.c (struct elf32_hppa_link_hash_table): Add
bfd_count top_index, input_list, all_local_syms.
(elf32_hppa_setup_section_lists): New function, split from
elf32_hppa_size_stubs.
(elf32_hppa_next_input_section): Likewise.
(group_sections): Likewise.
(get_local_syms): Likewise.
(elf32_hppa_size_stubs): Adjust for split out functions.  Look for
stubs on undefined syms too.
(elf32_hppa_set_gp): Use bfd_link_hash* instead of elf_link_hash*.
Only access htab elf fields when we have and elf hash table.
* elf32-hppa.h (elf32_hppa_setup_section_lists): Declare.
(elf32_hppa_next_input_section): Declare.

22 years ago * ar.c (replace_members): Remove unused var. Formatting fix.
Alan Modra [Sat, 4 May 2002 01:55:39 +0000 (01:55 +0000)]
* ar.c (replace_members): Remove unused var.  Formatting fix.
* binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.

22 years ago * MAINTAINERS: Sort port maintainers by CPU.
Alan Modra [Sat, 4 May 2002 01:52:13 +0000 (01:52 +0000)]
* MAINTAINERS: Sort port maintainers by CPU.

22 years ago * size.c (display_archive): Add last_arfile and code to close archives.
Alan Modra [Sat, 4 May 2002 01:31:50 +0000 (01:31 +0000)]
* size.c (display_archive): Add last_arfile and code to close archives.

22 years ago * opncls.c (_bfd_new_bfd_contained_in): Check return value of
Alan Modra [Sat, 4 May 2002 01:31:08 +0000 (01:31 +0000)]
* opncls.c (_bfd_new_bfd_contained_in): Check return value of
_bfd_new_bfd.

22 years agodaily update
Alan Modra [Sat, 4 May 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago2002-05-03 H.J. Lu (hjl@gnu.org)
H.J. Lu [Fri, 3 May 2002 19:53:20 +0000 (19:53 +0000)]
2002-05-03  H.J. Lu  (hjl@gnu.org)

* elfxx-mips.c (mips_elf_link_hash_entry): Add forced_local.
(mips_elf_link_hash_newfunc): Initialize forced_local to false.
(mips_elf_record_global_got_symbol): Call _bfd_mips_elf_hide_symbol
to hide a global symbol.
(_bfd_mips_elf_hide_symbol): Return if forced_local is true. Set
forced_local to true.

22 years ago* config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number
Alexandre Oliva [Fri, 3 May 2002 18:25:08 +0000 (18:25 +0000)]
* config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number
information for instructions.

22 years ago* configure.in: Revert 2002-04-18's patch; fixed in libjava.
Alexandre Oliva [Fri, 3 May 2002 18:24:32 +0000 (18:24 +0000)]
* configure.in: Revert 2002-04-18's patch; fixed in libjava.

22 years ago * configure.in (FLAGS_FOR_TARGET): Do not add
Thomas Fitzsimmons [Fri, 3 May 2002 16:13:21 +0000 (16:13 +0000)]
* configure.in (FLAGS_FOR_TARGET): Do not add
-B$$r/$(TARGET_SUBDIR)/newlib/ when compiling newlib natively
on i[3456]86-*-linux*.

22 years ago * ld.h: Fix formatting.
Kazu Hirata [Fri, 3 May 2002 13:48:55 +0000 (13:48 +0000)]
* ld.h: Fix formatting.
* ldexp.c: Likewise.
* ldfile.c: Likewise.
* ldlang.c: Likewise.
* ldmain.c: Likewise.
* lexsup.c: Likewise.
* pe-dll.c: Likewise.

22 years ago * as.h: Fix formatting.
Kazu Hirata [Fri, 3 May 2002 02:25:33 +0000 (02:25 +0000)]
* as.h: Fix formatting.
* cgen.c: Likewise.
* cgen.h: Likewise.
* dwarf2dbg.c: Likewise.
* frags.h: Likewise.
* gasp.c: Likewise.
* macro.c: Likewise.
* read.c: Likewise.
* stabs.c: Likewise.
* symbols.c: Likewise.

22 years agodaily update
Alan Modra [Fri, 3 May 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago * elf64-alpha.c (elf64_alpha_relocate_section): Force relative relocs
Richard Henderson [Thu, 2 May 2002 17:46:59 +0000 (17:46 +0000)]
    * elf64-alpha.c (elf64_alpha_relocate_section): Force relative relocs
        vs SHN_UNDEF to zero.

22 years ago * ld-scripts/map-address.exp: Quote conditions.
Richard Sandiford [Thu, 2 May 2002 16:03:41 +0000 (16:03 +0000)]
* ld-scripts/map-address.exp: Quote conditions.

22 years ago * app.c (mri_pseudo): Only declare for TC_M68K.
Alan Modra [Thu, 2 May 2002 13:01:50 +0000 (13:01 +0000)]
* app.c (mri_pseudo): Only declare for TC_M68K.

22 years ago * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
Alan Modra [Thu, 2 May 2002 12:41:35 +0000 (12:41 +0000)]
* config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
(ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with
BFD_RELOC_16_BASEREL.
(md_assemble): Likewise.
(md_apply_fix3): Likewise.

22 years ago * elf64-ppc.c (ppc64_elf_howto_raw <R_PPC64_SECTOFF>): Change to a
Alan Modra [Thu, 2 May 2002 12:35:25 +0000 (12:35 +0000)]
* elf64-ppc.c (ppc64_elf_howto_raw <R_PPC64_SECTOFF>): Change to a
16 bit reloc.
<R_PPC64_SECTOFF_DS>: Likewise.
(ppc64_elf_reloc_type_lookup): Map from BFD_RELOC_16_BASEREL to
SECTOFF reloc.
* elf32-ppc.c (ppc_elf_howto_raw <R_PPC_SECTOFF>): Correct.
(ppc_elf_reloc_type_lookup): Map from BFD_RELOC_16_BASEREL to
SECTOFF reloc.

22 years ago * elf64-ppc.c (ppc64_elf_addr16_ha_reloc): Delete.
Alan Modra [Thu, 2 May 2002 09:48:15 +0000 (09:48 +0000)]
* elf64-ppc.c (ppc64_elf_addr16_ha_reloc): Delete.
(ppc64_elf_ha_reloc): New function.
(ppc64_elf_brtaken_reloc): New function.
(ppc64_elf_sectoff_reloc): New function.
(ppc64_elf_sectoff_ha_reloc): New function.
(ppc64_elf_toc_reloc): New function.
(ppc64_elf_toc_ha_reloc): New function.
(ppc64_elf_toc64_reloc): New function.
(ppc64_elf_unhandled_reloc): New function.
(ppc64_elf_howto_raw): Use the above.
<R_PPC64_RELATIVE>: Mark pc_relative, pcrel_offset.
<R_PPC64_SECTOFF>: Not pc_relative or pcrel_offset.  Fix dst_mask.
<R_PPC64_SECTOFF_DS>: Likewise.
(IS_ABSOLUTE_RELOC): Update.
(struct ppc_link_hash_table): Add have_undefweak.
(ppc64_elf_link_hash_table_create): Init.
(func_desc_adjust): Set have_undefweak.
(ppc64_elf_func_desc_adjust): Call func_desc_adjust earlier.  Only
add the .sfpr blr when have_undefweak.
(ppc64_elf_setup_section_lists): Check hash table flavour.
(ppc64_elf_next_input_section): Move output_section->owner test to
ppc64elf.em.
(ppc64_elf_set_toc): Rename to ppc64_elf_toc, remove info param
and relocatable test.  Return TOCstart and don't set elf_gp.
(ppc64_elf_relocate_section): Correct BRTAKEN/BRNTAKEN branch
offset calculation.  Add assert on weak sym branch tweaks.
* elf64-ppc.h (ppc64_elf_set_toc): Delete.
(ppc64_elf_toc): Declare.
(ppc64_elf_next_input_section): Update.

* emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
Adjust for ppc64_elf_set_toc change.  #include libbfd.h.
(build_section_lists): Do output_section tests here.

22 years agoDo not convert a subtract of zero into an add of zero.
Nick Clifton [Thu, 2 May 2002 09:11:14 +0000 (09:11 +0000)]
Do not convert a subtract of zero into an add of zero.

22 years agoDo not attempt to create a .gmo file if the sources are read-only.
Nick Clifton [Thu, 2 May 2002 08:15:00 +0000 (08:15 +0000)]
Do not attempt to create a .gmo file if the sources are read-only.

22 years agodaily update
Alan Modra [Thu, 2 May 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago * configure.in (noconfigdirs): Replace [ ] with test.
Thomas Fitzsimmons [Wed, 1 May 2002 21:32:32 +0000 (21:32 +0000)]
* configure.in (noconfigdirs): Replace [ ] with test.

22 years ago * configure.in (noconfigdirs): Do not add target-newlib if
Thomas Fitzsimmons [Wed, 1 May 2002 20:42:00 +0000 (20:42 +0000)]
* configure.in (noconfigdirs): Do not add target-newlib if
target == i[3456]86-*-linux*, and host == target.

22 years agoGenerate warning if the same destination register is used in parallel
Nick Clifton [Wed, 1 May 2002 09:54:31 +0000 (09:54 +0000)]
Generate warning if the same destination register is used in parallel
instructions.

22 years ago * syms.c (_bfd_stab_section_find_nearest_line): Don't bomb on NULL
Alan Modra [Wed, 1 May 2002 07:36:39 +0000 (07:36 +0000)]
* syms.c (_bfd_stab_section_find_nearest_line): Don't bomb on NULL
file_name.

22 years ago * nm.c (print_symbol): Check returned filename from
Alan Modra [Wed, 1 May 2002 06:43:32 +0000 (06:43 +0000)]
* nm.c (print_symbol): Check returned filename from
bfd_find_nearest_line is non-NULL.

22 years agoFormatting fix.
Tom Rix [Wed, 1 May 2002 02:52:17 +0000 (02:52 +0000)]
Formatting fix.

22 years ago Long branch stubs, multiple stub sections.
Alan Modra [Wed, 1 May 2002 02:34:54 +0000 (02:34 +0000)]
Long branch stubs, multiple stub sections.
* emultempl/ppc64elf.em: Include ldctor.h.
(stub_file): New var.
(group_size): New var.
(ppc_create_output_section_statements): New function.
(struct hook_stub_info): New.
(hook_in_stub): New function.
(ppc_add_stub_section): New function.
(ppc_layout_sections_again): New function.
(build_section_lists): New function.
(gld${EMULATION_NAME}_finish): Rewrite.
(real_func): New var.
(ppc_for_each_input_file_wrapper): New function.
(ppc_lang_for_each_input_file): New function.
(lang_for_each_input_file): Define.
(PARSE_AND_LIST_PROLOGUE): Define.
(PARSE_AND_LIST_LONGOPTS): Define.
(PARSE_AND_LIST_OPTIONS): Define.
(PARSE_AND_LIST_ARGS_CASES): Define.
(LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.

22 years ago * elf64-ppc.c (CROR_151515, CROR_313131): Define.
Alan Modra [Wed, 1 May 2002 02:34:20 +0000 (02:34 +0000)]
* elf64-ppc.c (CROR_151515, CROR_313131): Define.
(ppc64_elf_relocate_section): Use them.  Don't look for plt calls
on R_PPC64_ADDR24 relocs.  Require a nop or no link reg on plt
call branches.  Correct undefined weak destination.
(ppc64_elf_func_desc_adjust): Always create at least one blr in
.sfpr, and correct case where either only savef* or restf* is
needed.

Long branch stubs, multiple stub sections.
* elf64-ppc.h (ppc64_elf_setup_section_lists): Declare.
(ppc64_elf_next_input_section): Declare.
* elf64-ppc.c: Move linker-only prototypes.
(STUB_SUFFIX): Define.
(enum ppc_stub_type): New.
(struct ppc_stub_hash_entry): New.
(struct ppc_branch_hash_entry): New.
(struct ppc_link_hash_entry): Add stub_cache, oh.
(struct ppc_link_hash_table): Add stub_hash_table etc.  Remove
sstub.  Add sbrlt, srelbrlt, has_14bit_branch, stub_iteration.
Rename plt_overflow to stub_error.
(ppc_stub_hash_lookup): Define.
(ppc_branch_hash_lookup): Define.
(stub_hash_newfunc): New function.
(branch_hash_newfunc): New function.
(link_hash_newfunc): Init new fields.
(ppc64_elf_link_hash_table_create): Likewise.
(ppc64_elf_link_hash_table_free): New function.
(ppc_stub_name): New function.
(ppc_get_stub_entry): New function.
(ppc_add_stub): New function.
(create_linkage_sections): Use bfd_make_section_anyway.  Create
.branch_lt and .rela.branch_lt sections.  Don't create .stub.
(ppc64_elf_check_relocs): Set has_14bit_branch on R_PPC64_REL14*,
and set up for plt call stubs.  Link func and func desc syms.
(ppc64_elf_gc_sweep_hook): Handle REL14* as per REL24.
(func_desc_adjust): Avoid hash lookup when func desc sym available
via shortcut, and set links when processing.
(ppc64_elf_hide_symbol): Likewise.
(allocate_dynrelocs): Don't allocate stub section here.
(ppc64_elf_size_dynamic_sections): Handle sbrlt and srelbrlt.
Remove sstub code.
(ppc_type_of_stub): New function.
(build_one_stub): Delete.
(ppc_build_one_stub): New function.
(ppc_size_one_stub): New function.
(ppc64_elf_setup_section_lists): New function.
(ppc64_elf_next_input_section): New function.
(group_sections): New function.
(get_local_syms): New function.
(ppc64_elf_size_stubs): Rewrite.
(ppc64_elf_build_stubs): Rewrite.
(ppc64_elf_relocate_section): Look up stub entry for REL24
relocs.  Don't propagate REL14* to dynamic objects.  Look for long
branch stubs if REL14* or REL24 relocs won't reach.
(bfd_elf64_bfd_link_hash_table_free): Define.

22 years ago * ppc-opc.c: Add "tlbsx." and "tlbsxe." for booke.
Alan Modra [Wed, 1 May 2002 01:22:00 +0000 (01:22 +0000)]
* ppc-opc.c: Add "tlbsx." and "tlbsxe." for booke.

22 years ago * config/tc-i386.c (extra_symbol_chars): Add '[' to the list.
Alan Modra [Wed, 1 May 2002 00:53:55 +0000 (00:53 +0000)]
* config/tc-i386.c (extra_symbol_chars): Add '[' to the list.

22 years ago * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org
Alan Modra [Wed, 1 May 2002 00:33:09 +0000 (00:33 +0000)]
* write.c (cvt_frag_to_fill): Set fr_offset to zero on .org
backwards to prevent cascading errors.

22 years agodaily update
Alan Modra [Wed, 1 May 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years agoAdd support for AIX -blibpath and -bnolibpath.
Tom Rix [Tue, 30 Apr 2002 23:29:21 +0000 (23:29 +0000)]
Add support for AIX -blibpath and -bnolibpath.

22 years ago * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
Mark Mitchell [Tue, 30 Apr 2002 17:49:01 +0000 (17:49 +0000)]
* Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
(eelf32ppcwindiss.c): New target.
* Makefile.in: Regenerated.
* configure.tgt: Add support for powerpc-*-windiss.
* emulparams/elf32ppcwindiss.sh: New file.

22 years ago * configure.in: Add support for powerpc-*-windiss.
Mark Mitchell [Tue, 30 Apr 2002 17:47:11 +0000 (17:47 +0000)]
* configure.in: Add support for powerpc-*-windiss.
* configure: Regenerated.

22 years ago * bfd/config.bfd: Add support for powerpc-*-windiss.
Mark Mitchell [Tue, 30 Apr 2002 17:42:34 +0000 (17:42 +0000)]
* bfd/config.bfd: Add support for powerpc-*-windiss.

22 years ago * config.guess: Updated to 2002-04-26's version.
Mark Mitchell [Tue, 30 Apr 2002 17:40:45 +0000 (17:40 +0000)]
* config.guess: Updated to 2002-04-26's version.
* config.sub: Updated to 2002-04-26's version.

22 years ago * ld-scripts/map-address.exp: New test.
Richard Sandiford [Tue, 30 Apr 2002 09:23:14 +0000 (09:23 +0000)]
* ld-scripts/map-address.exp: New test.
* ld-scripts/map-address.[td]: New files for it.

22 years ago * ldlang.c (print_assignment): Update print_dot for assignments to ".".
Richard Sandiford [Tue, 30 Apr 2002 09:21:27 +0000 (09:21 +0000)]
* ldlang.c (print_assignment): Update print_dot for assignments to ".".
* ldexp.c (exp_print_token): Add "infix_p" argument.
(exp_print_tree): Update accordingly.

22 years agoFix a problem with static linking with cross tools.
Tom Rix [Tue, 30 Apr 2002 04:32:51 +0000 (04:32 +0000)]
Fix a problem with static linking with cross tools.

22 years ago* config/mh-cxux: remove dead code
DJ Delorie [Tue, 30 Apr 2002 03:30:24 +0000 (03:30 +0000)]
* config/mh-cxux: remove dead code
* config/mh-dgux386: remove dead code
* config/mh-hp300: remove dead code
* config/mh-hpux: remove dead code
* config/mh-hpux8: remove dead code
* config/mh-irix5: remove dead code
* config/mh-irix6: remove dead code
* config/mh-ncr3000: remove dead code
* config/mh-ncrsvr43: remove dead code
* config/mh-necv4: remove dead code
* config/mh-sco: remove dead code
* config/mh-solaris: remove dead code
* config/mh-sysv: remove dead code
* config/mh-sysv4: remove dead code
* config/mh-sysv5: remove dead code
* config/mh-irix4: remove, contains only dead code
* configure.in: delete reference to absent file

22 years ago* configure.in: replace '[' with 'test'
DJ Delorie [Tue, 30 Apr 2002 03:17:27 +0000 (03:17 +0000)]
* configure.in: replace '[' with 'test'

22 years ago* configure.in (h8300*-*-rtems*): Disable libf2c and libgcj.
DJ Delorie [Tue, 30 Apr 2002 02:49:33 +0000 (02:49 +0000)]
* configure.in (h8300*-*-rtems*): Disable libf2c and libgcj.
(sparc-*-elf*, sparc64-*-elf*): Disable libgcj.

22 years ago* configure.in: Eliminate references to gash.
DJ Delorie [Tue, 30 Apr 2002 02:42:31 +0000 (02:42 +0000)]
* configure.in: Eliminate references to gash.
* Makefile.in: Eliminate references to gash.

22 years ago* configure.in: Remove useless references to 'pic' makefile fragments.
DJ Delorie [Tue, 30 Apr 2002 02:34:18 +0000 (02:34 +0000)]
* configure.in: Remove useless references to 'pic' makefile fragments.
* config/mt-armpic: Delete.
* config/mt-elfalphapic: Delete.
* config/mt-i370pic: Delete.
* config/mt-ia64pic: Delete.
* config/mt-m68kpic: Delete.
* config/mt-papic: Delete.
* config/mt-ppcpic: Delete.
* config/mt-s390pic: Delete.
* config/mt-sparcpic: Delete.
* config/mt-x86pic: Delete.

22 years ago* configure.in: Remove useless references to 'pic' makefile fragments.
DJ Delorie [Tue, 30 Apr 2002 02:28:43 +0000 (02:28 +0000)]
* configure.in: Remove useless references to 'pic' makefile fragments.

22 years ago* configure.in: (*-*-windows*) Finish removing.
DJ Delorie [Tue, 30 Apr 2002 02:19:55 +0000 (02:19 +0000)]
* configure.in: (*-*-windows*) Finish removing.

22 years ago* configure.in: Eliminate redundant test for libgui.
DJ Delorie [Tue, 30 Apr 2002 02:14:16 +0000 (02:14 +0000)]
* configure.in: Eliminate redundant test for libgui.

22 years agodaily update
Alan Modra [Tue, 30 Apr 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Mon, 29 Apr 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years agoRewrite xcoff*_ppc_relocate_section.
Tom Rix [Sun, 28 Apr 2002 14:34:39 +0000 (14:34 +0000)]
Rewrite xcoff*_ppc_relocate_section.

22 years ago * config/tc-s390.c (md_parse_option): Formatting.
Alan Modra [Sun, 28 Apr 2002 12:34:02 +0000 (12:34 +0000)]
* config/tc-s390.c (md_parse_option): Formatting.

22 years ago * elf64-x86-64.c (struct elf64_x86_64_dyn_relocs): Comment typo.
Alan Modra [Sun, 28 Apr 2002 12:29:46 +0000 (12:29 +0000)]
* elf64-x86-64.c (struct elf64_x86_64_dyn_relocs): Comment typo.
* elf32-hppa.c (elf32_hppa_final_link): Formatting.

22 years ago * config/tc-i386.c: Formatting fixes, add missing space in error
Alan Modra [Sun, 28 Apr 2002 12:19:46 +0000 (12:19 +0000)]
* config/tc-i386.c: Formatting fixes, add missing space in error
message.

22 years ago * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
Alan Modra [Sun, 28 Apr 2002 12:05:07 +0000 (12:05 +0000)]
* Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
* Makefile.in: Regenerate.
* mpw-elfmips.c: Delete.
* mpw-eppcmac.c: Delete.
* mpw-esh.c: Delete.
* mpw-idtmips.c: Delete.

22 years agodaily update
Alan Modra [Sun, 28 Apr 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Sat, 27 Apr 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago * opncls.c (bfd_make_readable): Call bfd_section_list_clear.
Alan Modra [Fri, 26 Apr 2002 13:43:10 +0000 (13:43 +0000)]
* opncls.c (bfd_make_readable): Call bfd_section_list_clear.
* xcofflink.c (xcoff_link_add_dynamic_symbols): Likewise.

22 years ago * elflink.h (elf_bfd_final_link): Ensure input bfd class is the
Alan Modra [Fri, 26 Apr 2002 12:59:23 +0000 (12:59 +0000)]
* elflink.h (elf_bfd_final_link): Ensure input bfd class is the
same as the output before calling elf_link_input_bfd.

22 years agotypo fix in last change
Alan Modra [Fri, 26 Apr 2002 06:01:20 +0000 (06:01 +0000)]
typo fix in last change

22 years ago * coffcode.h (coff_compute_section_file_positions): Set
Alan Modra [Fri, 26 Apr 2002 03:16:43 +0000 (03:16 +0000)]
* coffcode.h (coff_compute_section_file_positions): Set
section_tail after shuffling section list.

22 years agodaily update
Alan Modra [Fri, 26 Apr 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago2002-04-25 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 25 Apr 2002 12:48:04 +0000 (12:48 +0000)]
2002-04-25  Elena Zannoni <ezannoni@redhat.com>

        * readelf.c (get_AT_name): Handle DW_AT_GNU_vector.

22 years ago2002-04-24 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 25 Apr 2002 12:46:16 +0000 (12:46 +0000)]
2002-04-24  Elena Zannoni  <ezannoni@redhat.com>

* dwarf2.h: Add DW_AT_GNU_vector.

22 years agoThe patch contains mostly fixes for the disassembler. It also fixes
Nick Clifton [Thu, 25 Apr 2002 10:59:24 +0000 (10:59 +0000)]
The patch contains mostly fixes for the disassembler. It also fixes
a crash of the assembler with some malformed source input.
Long segmented addresses are now correctly relocated.
Finally it updates my email address in the MAINTAINERS file.

22 years agodaily update
Alan Modra [Thu, 25 Apr 2002 00:00:08 +0000 (00:00 +0000)]
daily update

22 years ago2002-04-24 Chris G. Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 24 Apr 2002 21:52:47 +0000 (21:52 +0000)]
2002-04-24  Chris G. Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D
        instructions to be generated by macros.

22 years ago2002-04-24 Chris G. Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 24 Apr 2002 18:49:00 +0000 (18:49 +0000)]
2002-04-24  Chris G. Demetriou  <cgd@broadcom.com>

        * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): If MDMX or
        MIPS-16 ASE flags are set, print something to indicate that.

22 years ago * config/tc-i386.c (output_jump, output_disp)
Andreas Schwab [Wed, 24 Apr 2002 14:56:07 +0000 (14:56 +0000)]
* config/tc-i386.c (output_jump, output_disp)
(md_estimate_size_before_relax): Don't set fx_pcrel_adjust any
more.
(md_apply_fix3): Remember addend value for rela relocations.
(tc_gen_reloc): Correctly compute pc-relative relocation addend.

22 years agoAdd Indonesian translation
Nick Clifton [Wed, 24 Apr 2002 09:01:51 +0000 (09:01 +0000)]
Add Indonesian translation

22 years agodaily update
Alan Modra [Wed, 24 Apr 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago2002-04-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 23 Apr 2002 17:20:22 +0000 (17:20 +0000)]
2002-04-23  H.J. Lu <hjl@gnu.org>

* gas/mips/elempic.d: Use empic.l.
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.

22 years ago2002-04-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 23 Apr 2002 16:19:08 +0000 (16:19 +0000)]
2002-04-23  H.J. Lu <hjl@gnu.org>

* gas/hppa/parse/parse.exp: Don't expect failure on line separator
test on hppa*-*-linux* nor hppa*-*-netbsd*.

22 years ago * elf32-hppa.c (hppa_type_of_stub): Correct and simplify condition
Alan Modra [Tue, 23 Apr 2002 05:11:23 +0000 (05:11 +0000)]
* elf32-hppa.c (hppa_type_of_stub): Correct and simplify condition
under which a plt call stub is used.
(final_link_relocate): Similarly.
(allocate_plt_static): Clear h-plabel except when plt entry is
exclusively used for a plabel.
(allocate_dynrelocs): Use the above to simplify plt sizing.
(struct elf32_hppa_link_hash_table): Add has_22bit_branch.
(elf32_hppa_link_hash_table_create): Init.
(BL22_RP): Define.
(hppa_build_one_stub): Use BL22_RP if has_22bit_branch.
(elf32_hppa_check_relocs): Set has_22bit_branch.

* elf32-hppa.c (elf32_hppa_check_relocs): Remove debug message.
(final_link_relocate): Likewise.

22 years agodaily update
Alan Modra [Tue, 23 Apr 2002 00:00:07 +0000 (00:00 +0000)]
daily update

22 years ago2002-04-22 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Mon, 22 Apr 2002 22:29:47 +0000 (22:29 +0000)]
2002-04-22  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/mips-gp64-fp32.l: New file.
        * gas/mips/mips-gp64-fp32.d: Use mips-gp64-fp32.l to check stderr
        output.
        * gas/mips/mips-gp64-fp64.l: New file.
        * gas/mips/mips-gp64-fp64.d: Use mips-gp64-fp64.l to check stderr
        output.

22 years ago2002-04-22 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Mon, 22 Apr 2002 21:50:44 +0000 (21:50 +0000)]
2002-04-22  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (macro_build): Add close-parenthesis missing
        from previous change.

(also, fix ChangeLog entry for previous patch.)

22 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't build
Jakub Jelinek [Mon, 22 Apr 2002 21:37:48 +0000 (21:37 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't build
search table if some FDE is DW_EH_PE_aligned encoded either.
(_bfd_elf_write_section_eh_frame): Handle terminating FDE specially.

22 years ago2002-04-22 Eric Christopher <echristo@redhat.com>
Eric Christopher [Mon, 22 Apr 2002 21:21:06 +0000 (21:21 +0000)]
2002-04-22  Eric Christopher  <echristo@redhat.com>

* config/tc-mips.c: Add warning if macro instructions are expanded
into a branch delay slot.

22 years ago2002-04-22 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Mon, 22 Apr 2002 21:14:43 +0000 (21:14 +0000)]
2002-04-22  Chris Demetriou  <cgd@broadcom.com>

        * lib/gas-defs.exp (run_dump_test): Support new attribute "stderr"
        which is a file used to regexp_diff the assembler's pruned stderr
        output.
        (write_file): New helper function to write a string into a file.

        * gas/mips/empic.l: New file which matches empic tests' warnings.
        * gas/mips/empic.d: Use empic.l.

22 years ago * elf-eh-frame.c (struct eh_cie_fde): Add per_encoding_relative.
Jakub Jelinek [Mon, 22 Apr 2002 12:06:01 +0000 (12:06 +0000)]
* elf-eh-frame.c (struct eh_cie_fde): Add per_encoding_relative.
(_bfd_elf_discard_section_eh_frame): Set it for CIEs with pcrel
encoded personality.
(_bfd_elf_write_section_eh_frame): Adjust pcrel encoded personality
for CIE/FDE removal.

22 years agodaily update
Alan Modra [Mon, 22 Apr 2002 00:03:58 +0000 (00:03 +0000)]
daily update

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

22 years agoFix C_FILE auxent on xcoff64.
Tom Rix [Sat, 20 Apr 2002 06:47:24 +0000 (06:47 +0000)]
Fix C_FILE auxent on xcoff64.

22 years ago * archures.c (bfd_lookup_arch): Move the list order comment..
Alan Modra [Sat, 20 Apr 2002 03:25:20 +0000 (03:25 +0000)]
* archures.c (bfd_lookup_arch): Move the list order comment..
(struct bfd_arch_info): ..to where it belongs.

22 years ago * archures.c (bfd_lookup_arch): Add comment on list order.
Alan Modra [Sat, 20 Apr 2002 02:54:26 +0000 (02:54 +0000)]
* archures.c (bfd_lookup_arch): Add comment on list order.
(bfd_default_set_arch_mach): Use bfd_lookup_arch.
* cpu-powerpc.c (bfd_powerpc_archs): Re-order so that the default
is always at head of list.

22 years agodaily update
Alan Modra [Sat, 20 Apr 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago * ld-elfvsb/elfvsb.exp: Mirror ia64 non-pic xfails for alpha.
Richard Henderson [Fri, 19 Apr 2002 19:28:09 +0000 (19:28 +0000)]
    * ld-elfvsb/elfvsb.exp: Mirror ia64 non-pic xfails for alpha.
        * ld-shared/shared.exp: Likewise.
        * ld-selective/selective.exp: Disable for alpha.
        * ld-undefined/undefined.exp: Add alpha to dwarf2 xfails.

22 years agosync from gcc
DJ Delorie [Fri, 19 Apr 2002 17:36:40 +0000 (17:36 +0000)]
sync from gcc
2002-04-18  Tom Tromey  <tromey@redhat.com>

* configure.in: Disallow configuring libgcj when it is already
installed and we're using Solaris 2.8 linker.  Do enable libgcj on
Solaris 2.8 by default.  For PR libgcj/6158.

22 years ago2002-04-19 Nathanael Nerode <neroden@twcny.rr.com>
DJ Delorie [Fri, 19 Apr 2002 17:28:04 +0000 (17:28 +0000)]
2002-04-19  Nathanael Nerode  <neroden@twcny.rr.com>

* config/mh-a68bsd: clean out dead code
* config/mh-apollo68: clean out dead code
* config/mh-cxux: clean out dead code
* config/mh-decstation: clean out dead code
* config/mh-dgux: clean out dead code
* config/mh-dgux386: clean out dead code
* config/mh-hp300: clean out dead code
* config/mh-hpux: clean out dead code
* config/mh-hpux8: clean out dead code
* config/mh-interix: clean out dead code
* config/mh-irix4: clean out dead code
* config/mh-lynxrs6k: clean out dead code
* config/mh-mingw32: clean out dead code
* config/mh-ncr3000: clean out dead code
* config/mh-ncrsvr43: clean out dead code
* config/mh-necv4: clean out dead code
* config/mh-openedition: clean out dead code
* config/mh-riscos: clean out dead code
* config/mh-sco: clean out dead code
* config/mh-sysv4: clean out dead code
* config/mh-lynxos: removed, contained only dead code
* config/mh-vaxult2: removed, contained only dead code
* config/mh-sun3: removed, contained only dead code
* configure.in: remove references to dead files

22 years ago(cofftag): Do not run test for xscale-coff toolchain.
Nick Clifton [Fri, 19 Apr 2002 09:40:37 +0000 (09:40 +0000)]
(cofftag): Do not run test for xscale-coff toolchain.
(struct, align, incbin): Use case switch so that other targets to be skipped
can be added in the future.

22 years agodaily update
Alan Modra [Fri, 19 Apr 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years agoFix problems building arm-wince-pe toolchain.
Nick Clifton [Thu, 18 Apr 2002 09:28:29 +0000 (09:28 +0000)]
Fix problems building arm-wince-pe toolchain.

22 years agodaily update
Alan Modra [Thu, 18 Apr 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line
Geoffrey Keating [Wed, 17 Apr 2002 23:08:42 +0000 (23:08 +0000)]
* dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line
numbers, gdb relies on them to detect the start of the prologue.