OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years ago* config.bfd (shle-*-netbsdelf*): Add target which includes
Jason Thorpe [Mon, 13 May 2002 18:35:55 +0000 (18:35 +0000)]
* config.bfd (shle-*-netbsdelf*): Add target which includes
sh64 support.

22 years ago* configure.in (shle-*-*elf*): Include sh64 support.
Jason Thorpe [Mon, 13 May 2002 15:39:44 +0000 (15:39 +0000)]
* configure.in (shle-*-*elf*): Include sh64 support.
* configure: Regenerate.

22 years ago * configure.in: Revert 2002-04-07. Instead, auto-configure
Alan Modra [Mon, 13 May 2002 13:33:30 +0000 (13:33 +0000)]
* configure.in: Revert 2002-04-07.  Instead, auto-configure
HAVE_ST_C_IMPL.
* configure: Regenerate.
* config.in: Regenerate.
* rs6000-core.c (CNEW_IMPL): Guard use of c_impl with HAVE_ST_C_IMPL
or AIX_5_CORE.

22 years agoRemove redundant call to listing_prev().
Nick Clifton [Mon, 13 May 2002 11:33:07 +0000 (11:33 +0000)]
Remove redundant call to listing_prev().

22 years agoDo not reset loc_directive_seen in dwarf2_emit_insn.
Nick Clifton [Mon, 13 May 2002 10:24:14 +0000 (10:24 +0000)]
Do not reset loc_directive_seen in dwarf2_emit_insn.

22 years agoFix grammatical error.
Nick Clifton [Mon, 13 May 2002 10:16:36 +0000 (10:16 +0000)]
Fix grammatical error.

22 years agoSupport sparc64-openbsd corefiles as well.
Nick Clifton [Mon, 13 May 2002 08:33:26 +0000 (08:33 +0000)]
Support sparc64-openbsd corefiles as well.

22 years ago * gas/i386/x86-64-opcode.s: Pad out end of .text with zeros.
Alan Modra [Mon, 13 May 2002 01:24:55 +0000 (01:24 +0000)]
* gas/i386/x86-64-opcode.s: Pad out end of .text with zeros.
* gas/i386/x86-64-opcode.d: Adjust.

22 years ago * write.c (subsegs_finish): Don't specially align last subseg.
Alan Modra [Mon, 13 May 2002 01:23:51 +0000 (01:23 +0000)]
* write.c (subsegs_finish): Don't specially align last subseg.

22 years ago * Makefile.am (install-data-local): Install headers to
Alan Modra [Mon, 13 May 2002 00:58:40 +0000 (00:58 +0000)]
* Makefile.am (install-data-local): Install headers to
$(exec_prefix)/include.
* Makefile.in: Regenerate.

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

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

22 years agoWarn about a description field that is too big.
Nick Clifton [Sat, 11 May 2002 19:40:29 +0000 (19:40 +0000)]
Warn about a description field that is too big.

22 years ago2002-05-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Daniel Jacobowitz [Sat, 11 May 2002 17:15:53 +0000 (17:15 +0000)]
2002-05-11  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
            Daniel Jacobowitz  <drow@mvista.com>

        * coff-sh.c (sh_reloc_map): Map to R_SH_IMM32 for non-PE.  Don't
        map BFD_RELOC_RVA.

22 years agoFix formatting and compile tine warnings when compiling without BFD_ASSEMBLER
Nick Clifton [Sat, 11 May 2002 12:08:26 +0000 (12:08 +0000)]
Fix formatting and compile tine warnings when compiling without BFD_ASSEMBLER
defined.

22 years agoDefine md_pcrel_from for use with sh-hms target.
Nick Clifton [Sat, 11 May 2002 11:31:17 +0000 (11:31 +0000)]
Define md_pcrel_from for use with sh-hms target.

22 years agoUse the 'current' struct filled by dwarf2_directive_loc, instead of calling
Nick Clifton [Sat, 11 May 2002 10:32:35 +0000 (10:32 +0000)]
Use the 'current' struct filled by dwarf2_directive_loc, instead of calling
dwarf2_where.

22 years ago * config/obj-coff.h: Fix formatting.
Kazu Hirata [Sat, 11 May 2002 09:53:52 +0000 (09:53 +0000)]
* config/obj-coff.h: Fix formatting.
* config/tc-mcore.c: Likewise.
* config/tc-mn10300.c: Likewise.
* config/tc-openrisc.c: Likewise.
* config/tc-or32.c: Likewise.
* config/tc-pdp11.c: Likewise.
* config/tc-ppc.c: Likewise.
* config/tc-ppc.h: Likewise.
* config/tc-sh64.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-tic54x.c: Likewise.
* config/tc-xstormy16.c: Likewise.
* config/tc-xstormy16.h: Likewise.

22 years agoAdd configure supprot for: alpha*-*-openbsd*, sparc64*-*-openbsd*,
Nick Clifton [Sat, 11 May 2002 09:10:14 +0000 (09:10 +0000)]
Add configure supprot for: alpha*-*-openbsd*, sparc64*-*-openbsd*,
hppa*-*-openbsd*

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

22 years ago2002-05-10 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 10 May 2002 22:53:56 +0000 (22:53 +0000)]
2002-05-10  Elena Zannoni  <ezannoni@redhat.com>

        * sim-sh.h: New file, for sh gdb<->sim interface.

22 years agoXCOFF64 fixes. For setting arch/mach and for R_BR relocations.
Tom Rix [Fri, 10 May 2002 21:20:16 +0000 (21:20 +0000)]
XCOFF64 fixes. For setting arch/mach and for R_BR relocations.

22 years ago * ldmain.c (main): Enable -z combreloc by default.
Jakub Jelinek [Fri, 10 May 2002 09:49:25 +0000 (09:49 +0000)]
* ldmain.c (main): Enable -z combreloc by default.

22 years ago * elf32-i386.c (elf_i386_relocate_section): Remove overflow checks
Alan Modra [Fri, 10 May 2002 07:34:52 +0000 (07:34 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Remove overflow checks
addend in 2002-05-09 commit.

22 years ago * elf32-hppa.c (elf32_hppa_size_stubs): Revert part of 2002-05-04,
Alan Modra [Fri, 10 May 2002 02:03:47 +0000 (02:03 +0000)]
* elf32-hppa.c (elf32_hppa_size_stubs): Revert part of 2002-05-04,
don't look for stubs on all undefined syms.

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

22 years ago* vax-dis.c (print_insn_arg): Pass the insn info to print_insn_mode.
Jason Thorpe [Thu, 9 May 2002 23:11:30 +0000 (23:11 +0000)]
* vax-dis.c (print_insn_arg): Pass the insn info to print_insn_mode.
(print_insn_mode): Print some basic info about floating point values.

22 years ago2002-05-09 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 9 May 2002 22:19:48 +0000 (22:19 +0000)]
2002-05-09  Daniel Jacobowitz  <drow@mvista.com>

        * signals.h: Update comments.
        (enum target_signal): Remove conditional compilation around
        Mach-specific signals.  Move them to after TARGET_SIGNAL_DEFAULT.

22 years ago * config/obj-coff.c: Fix formatting.
Kazu Hirata [Thu, 9 May 2002 13:12:57 +0000 (13:12 +0000)]
* config/obj-coff.c: Fix formatting.
* config/obj-elf.c: Likewise.
* config/tc-alpha.c: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-d10v.c: Likewise.
* config/tc-d30v.c: Likewise.
* config/tc-h8300.c: Likewise.
* config/tc-hppa.c: Likewise.

22 years agoAdd Joasn Thorpe as VAX maintainer
Nick Clifton [Thu, 9 May 2002 12:43:46 +0000 (12:43 +0000)]
Add Joasn Thorpe as VAX maintainer

22 years ago * elf64-ppc.c (RA_REGISTER_MASK, RA_REGISTER_SHIFT): Delete.
Alan Modra [Thu, 9 May 2002 11:40:16 +0000 (11:40 +0000)]
* elf64-ppc.c (RA_REGISTER_MASK, RA_REGISTER_SHIFT): Delete.
(ppc64_elf_howto_raw <R_PPC64_RELATIVE>): Not pc_relative or
pcrel_offset.

22 years ago * ppc-opc.c: Add "tlbiel" for POWER4.
Alan Modra [Thu, 9 May 2002 11:15:47 +0000 (11:15 +0000)]
* ppc-opc.c: Add "tlbiel" for POWER4.

22 years ago * config/tc-i386.c (md_estimate_size_before_relax) Don't lose
Alan Modra [Thu, 9 May 2002 06:35:22 +0000 (06:35 +0000)]
* config/tc-i386.c (md_estimate_size_before_relax) Don't lose
reloc when no_cond_jump_promotion.

22 years ago * elf32-i386.c (elf_howto_table): Comments.
Alan Modra [Thu, 9 May 2002 06:34:43 +0000 (06:34 +0000)]
* elf32-i386.c (elf_howto_table): Comments.
(elf_i386_relocate_section): Handle more relocs for relocatable
linking and against SEC_MERGE sections.

22 years agoFix i960-elf abort in cvt_frag_to_fill while compiling libc/stdio/vfprintf.c.
Jim Wilson [Thu, 9 May 2002 01:43:11 +0000 (01:43 +0000)]
Fix i960-elf abort in cvt_frag_to_fill while compiling libc/stdio/vfprintf.c.
* config/tc-i960.c (md_estimate_size_before_relax): Return size of
current variable part of frag.

22 years ago * config/tc-mmix.c: Fix formatting.
Kazu Hirata [Thu, 9 May 2002 00:33:09 +0000 (00:33 +0000)]
* config/tc-mmix.c: Fix formatting.
* config/tc-mmix.h: Likewise.

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

22 years ago * configure.in: Replace `*pe' with `pe' throughout.
Alan Modra [Wed, 8 May 2002 23:15:36 +0000 (23:15 +0000)]
* configure.in: Replace `*pe' with `pe' throughout.

22 years ago[ cgen/ChangeLog ]
Graydon Hoare [Wed, 8 May 2002 20:47:07 +0000 (20:47 +0000)]
[ cgen/ChangeLog ]

2002-05-01  Graydon Hoare  <graydon@redhat.com>

* desc-cpu.scm (@arch@_cgen_cpu_close): Fix memory leaks.

[ opcodes/ChangeLog ]

2002-05-07  Graydon Hoare  <graydon@redhat.com>

* cgen-dis.in: (print_insn_@arch@): Cache list of opened CPUs rather
than just most-recently-opened.

22 years ago * configure: Regenerate.
Alan Modra [Wed, 8 May 2002 14:32:37 +0000 (14:32 +0000)]
* configure: Regenerate.

22 years ago* common.h (NT_GNU_ABI_TAG): Define.
Jason Thorpe [Wed, 8 May 2002 14:28:37 +0000 (14:28 +0000)]
* common.h (NT_GNU_ABI_TAG): Define.
(GNU_ABI_TAG_LINUX): Define.
(GNU_ABI_TAG_HURD): Define.
(GNU_ABI_TAG_SOLARIS): Define.
(NT_NETBSD_IDENT): Define.
(NT_FREEBSD_ABI_TAG): Define.

22 years agomerge from gcc
DJ Delorie [Wed, 8 May 2002 14:22:36 +0000 (14:22 +0000)]
merge from gcc

22 years ago * elf32-ppc.c (ppc_elf_create_got): New function.
Alan Modra [Wed, 8 May 2002 05:12:54 +0000 (05:12 +0000)]
* elf32-ppc.c (ppc_elf_create_got): New function.
(ppc_elf_create_dynamic_sections): Call ppc_elf_create_got before
_bfd_elf_create_dynamic_sections.  Correct .plt flags.
(ppc_elf_check_relocs): Use ppc_elf_create_got in place of
_bfd_elf_create_got_section.

22 years ago * config/tc-m68k.c: Fix formatting.
Kazu Hirata [Wed, 8 May 2002 01:54:04 +0000 (01:54 +0000)]
* config/tc-m68k.c: Fix formatting.

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

22 years agomerge from gcc
DJ Delorie [Tue, 7 May 2002 19:04:21 +0000 (19:04 +0000)]
merge from gcc

22 years ago2002-05-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 7 May 2002 17:52:36 +0000 (17:52 +0000)]
2002-05-07  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.LIBGLOSS: New file.

22 years agoHonour DESTDIR
Nick Clifton [Tue, 7 May 2002 17:22:20 +0000 (17:22 +0000)]
Honour DESTDIR

22 years ago * lib/ld-lib.exp (run_dump_test): Add -L$srcdir/$subdir.
Richard Sandiford [Tue, 7 May 2002 11:08:57 +0000 (11:08 +0000)]
* lib/ld-lib.exp (run_dump_test): Add -L$srcdir/$subdir.
(is_elf_format): New, extracted from...
* ld-scripts/weak.exp: ...here.
* ld-scripts/overlay-size.exp: New test.
* ld-scripts/overlay-size.[tsd],
* ld-scripts/overlay-size-map.d: New files for it.

22 years ago * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
Richard Sandiford [Tue, 7 May 2002 11:04:54 +0000 (11:04 +0000)]
* ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
(lang_enter_overlay): Remove the last two parameters.
(lang_leave_overlay): Take them here instead.
* ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
(section): Pass LMA and crossref flag to lang_leave_overlay rather
than lang_enter_overlay.
* ldlang.c (lang_memory_region_lookup): Return null for null names.
(lang_output_section_statement_lookup): Initialize update_dot_tree.
(lang_size_sections_1): Evaluate it.
(lang_leave_output_section_statement): Rework LMA lookup.
(overlay_lma, overlay_nocrossrefs): Remove.
(lang_enter_overlay): Remove LMA and corssref arguments.
(lang_enter_overlay_section): Don't set the LMA here.
(lang_leave_overlay): Take LMA and crossref arguments.  Move the '.'
assignment to the last section's update_dot_tree.  Unconditionally
use the load and run-time regions specified in the OVERLAY statement.
Likewise the first section's LMA.  Only set the other sections' LMAs
when no load region is given.

22 years ago * elf-bfd.h (struct elf_backend_data): Add rela_normal.
Alan Modra [Tue, 7 May 2002 00:16:53 +0000 (00:16 +0000)]
* elf-bfd.h (struct elf_backend_data): Add rela_normal.
* elfxx-target.h (elf_backend_rela_normal): Define.
(elfNN_bed): Init rela_normal.
* elflink.h (elf_link_input_bfd <emit_relocs>): Handle adjustment
for section symbols here if rela_normal.  Simplify abs section test.
* elf-m10200.c (mn10200_elf_relocate_section): If relocatable,
return immediately.  Remove code handling relocatable linking.
* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
* elf32-fr30.c (fr30_elf_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-i860.c (elf32_i860_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
* elf32-arm.h (elf32_arm_relocate_section): Likewise #ifndef USE_REL.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf-m10200.c (elf_backend_rela_normal): Define.
* elf-m10300.c (elf_backend_rela_normal): Define.
* elf32-fr30.c (elf_backend_rela_normal): Define.
* elf32-i370.c (elf_backend_rela_normal): Define.
* elf32-i860.c (elf_backend_rela_normal): Define.
* elf32-m68k.c (elf_backend_rela_normal): Define.
* elf32-mcore.c (elf_backend_rela_normal): Define.
* elf32-openrisc.c (elf_backend_rela_normal): Define.
* elf32-ppc.c (elf_backend_rela_normal): Define.
* elf32-s390.c (elf_backend_rela_normal): Define.
* elf32-xstormy16.c (elf_backend_rela_normal): Define.
* elf64-ppc.c (elf_backend_rela_normal): Define.
* elf64-s390.c (elf_backend_rela_normal): Define.
* elf64-x86-64.c (elf_backend_rela_normal): Define.
* elfxx-ia64.c (elf_backend_rela_normal): Define.
* elf32-arm.h (elf_backend_rela_normal): Define #ifndef USE_REL.
* elf32-m32r.c (elf_backend_rela_normal): Likewise.

22 years agodaily update
Alan Modra [Tue, 7 May 2002 00:09:35 +0000 (00:09 +0000)]
daily update

22 years agoFix check for overflow of relocation for the Thumb BL instruction.
Nick Clifton [Mon, 6 May 2002 13:47:55 +0000 (13:47 +0000)]
Fix check for overflow of relocation for the Thumb BL instruction.

22 years ago * elflink.h (elf_link_input_bfd <emit_relocs>): Adjust r_offset
Alan Modra [Mon, 6 May 2002 12:49:58 +0000 (12:49 +0000)]
* elflink.h (elf_link_input_bfd <emit_relocs>): Adjust r_offset
when not relocatable.  Fix reloc_emitter call for K&R.

22 years ago * config/tc-ia64.c: Fix formatting.
Kazu Hirata [Mon, 6 May 2002 11:43:03 +0000 (11:43 +0000)]
* config/tc-ia64.c: Fix formatting.
* config/tc-ia64.h: Likewise.

22 years agoNew Swedish translation
Nick Clifton [Mon, 6 May 2002 10:09:24 +0000 (10:09 +0000)]
New Swedish translation

22 years ago * elflink.h (elf_link_input_bfd <emit_relocs>): Adjust r_offset
Alan Modra [Mon, 6 May 2002 08:54:44 +0000 (08:54 +0000)]
* elflink.h (elf_link_input_bfd <emit_relocs>): Adjust r_offset
when not relocatable.  Fix reloc_emitter call for K&R.

22 years agooops, missing changelog entry
Alan Modra [Mon, 6 May 2002 07:55:16 +0000 (07:55 +0000)]
oops, missing changelog entry
* dlltool.c (process_def_file): Add missing prototype.
(new_directive, assemble_file, main): Likewise.
(process_def_file, new_directive): Make static.
(inform): Rewrite using VA_FIXEDARG.
* dllwrap.c (mybasename): Add missing prototype.
(strhash, main): Likewise.
(inform): Rewrite using VA_FIXEDARG.
(warn): Likewise.
(cleanup_and_exit): Use old style function definition.
(strhash): Likewise.
* windres.c (define_resource): Use one memset to clear all of
struct res_resource.

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

22 years ago * dlltool.c (process_def_file): Add missing prototype.
Alan Modra [Sun, 5 May 2002 23:25:27 +0000 (23:25 +0000)]
* dlltool.c (process_def_file): Add missing prototype.
(new_directive, assemble_file, main): Likewise.
(process_def_file, new_directive): Make static.
(inform): Rewrite using VA_FIXEDARG.
* dllwrap.c (mybasename): Add missing prototype.
(strhash, main): Likewise.
(inform): Rewrite using VA_FIXEDARG.
(warn): Likewise.
(cleanup_and_exit): Use old style function definition.
(strhash): Likewise.
* windres.c (define_resource): Use one memset to clear all of
struct res_resource.

22 years ago * rcparse.y: Remove newcmd rule. Move rcparse_discard_strings
Alan Modra [Sun, 5 May 2002 23:19:32 +0000 (23:19 +0000)]
* rcparse.y: Remove newcmd rule.  Move rcparse_discard_strings
call to rules that need no lookahead.  Check for no lookahead.

* rclex.l (get_string): Correct "strings" list handling.
* resrc.c (read_rc_file): Discard strings.

22 years ago* configure.in (noconfigdirs): Don't disable libgcj on
Alexandre Oliva [Sun, 5 May 2002 18:58:17 +0000 (18:58 +0000)]
* configure.in (noconfigdirs): Don't disable libgcj on
sparc64-*-solaris* and sparcv9-*-solaris*.

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

22 years ago * config/tc-mips.c: Fix formatting.
Kazu Hirata [Sat, 4 May 2002 17:38:00 +0000 (17:38 +0000)]
* config/tc-mips.c: Fix formatting.
* config/tc-s390.c: Likewise.
* config/tc-s390.h: Likewise.

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.