OSDN Git Service
Jakub Jelinek [Tue, 1 Apr 2003 14:08:00 +0000 (14:08 +0000)]
* configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath
if --enable-64-bit-bfd.
Nick Clifton [Tue, 1 Apr 2003 13:10:07 +0000 (13:10 +0000)]
fix spelling typo
Nick Clifton [Tue, 1 Apr 2003 13:08:06 +0000 (13:08 +0000)]
Fixes for iWMMXt contribution.
Nick Clifton [Tue, 1 Apr 2003 10:52:43 +0000 (10:52 +0000)]
Change "arm-pe*" to "arm-*-pe*". Similarly for thumb-pe*, mcore-pe and
mcore-*elf.
Ben Elliston [Tue, 1 Apr 2003 10:49:02 +0000 (10:49 +0000)]
* dwarf2.c (read_attribute_value): Correct typo in comment.
Nick Clifton [Tue, 1 Apr 2003 10:31:34 +0000 (10:31 +0000)]
Make add_line_info() take a copy of the filename.
Nick Clifton [Tue, 1 Apr 2003 10:18:54 +0000 (10:18 +0000)]
Remove use of concat() inside concat_filename()
Alexandre Oliva [Tue, 1 Apr 2003 00:34:04 +0000 (00:34 +0000)]
* ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
--section-start.
Alexandre Oliva [Tue, 1 Apr 2003 00:32:47 +0000 (00:32 +0000)]
* objdump.c (dump_data): Don't truncate the address to long; make
the width large enough, and uniform for all entries in a section.
Daniel Jacobowitz [Tue, 1 Apr 2003 00:12:12 +0000 (00:12 +0000)]
* simple.c (bfd_simple_get_relocated_section_contents): Add
parameter symbol_table. Optionally use it instead of the symbol
table from the bfd. Save and restore output offsets and output
sections around bfd_get_relocated_section_contents. Fix a memory
leak.
(simple_save_output_info, simple_restore_output_info): New
functions.
* bfd-in2.h: Regenerate.
* dwarf2.c (read_abbrevs): Use
bfd_simple_get_relocated_section_contents instead of
bfd_get_section_contents.
(decode_line_info): Likewise.
(_bfd_dwarf2_find_nearest_line): Likewise. Don't call
find_rela_addend.
(find_rela_addend): Remove.
* elfxx-ia64.c (elfNN_ia64_reloc): Weaken sanity check for
debugging sections.
(elfNN_ia64_hash_table_create): Create the hash table with malloc,
not bfd_zalloc.
Alan Modra [Tue, 1 Apr 2003 00:00:17 +0000 (00:00 +0000)]
daily update
H.J. Lu [Mon, 31 Mar 2003 19:29:45 +0000 (19:29 +0000)]
2003-03-31 H.J. Lu <hjl@gnu.org>
* readelf.c: Include "libiberty.h".
(dynamic_relocations): New.
(process_relocs): Properly handle dynamic relocation.
(process_dynamic_segment): Fill relocation elements in
dynamic_info.
Chris Demetriou [Mon, 31 Mar 2003 19:01:04 +0000 (19:01 +0000)]
2003-03-31 Chris Demetriou <cgd@broadcom.com>
* gmon_io.c (enum gmon_ptr_size, enum gmon_ptr_signedness): New.
(gmon_get_ptr_size, gmon_get_ptr_signedness): New.
(gmon_io_read_vma, gmon_io_write_vma, gmon_read_raw_arc)
(gmon_write_raw_arc, gmon_out_read, gmon_out_write): Adjust to
use new functions and enums.
Nick Clifton [Mon, 31 Mar 2003 18:13:25 +0000 (18:13 +0000)]
Fix memory leaks
Nick Clifton [Mon, 31 Mar 2003 13:06:01 +0000 (13:06 +0000)]
Add some initial 64-bit DWARF support
Nick Clifton [Mon, 31 Mar 2003 10:15:58 +0000 (10:15 +0000)]
Allow resource IDs to be strings or numbers.
Add a test for this.
Alan Modra [Mon, 31 Mar 2003 00:00:06 +0000 (00:00 +0000)]
daily update
Alan Modra [Sun, 30 Mar 2003 00:00:05 +0000 (00:00 +0000)]
daily update
H.J. Lu [Sat, 29 Mar 2003 01:26:33 +0000 (01:26 +0000)]
2003-03-28 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_link_add_object_symbols): Correctly combine
visibilities.
Alan Modra [Fri, 28 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 27 Mar 2003 23:00:04 +0000 (23:00 +0000)]
daily update
Jakub Jelinek [Thu, 27 Mar 2003 22:52:12 +0000 (22:52 +0000)]
* elfxx-ia64.c (elfNN_ia64_relax_section): Reset self_dtpmod_offset
to -1 before recomputing got offsets.
Nick Clifton [Thu, 27 Mar 2003 17:13:33 +0000 (17:13 +0000)]
Add iWMMXt support to ARM simulator
Eric Christopher [Wed, 26 Mar 2003 23:32:06 +0000 (23:32 +0000)]
2003-03-26 Eric Christopher <echristo@redhat.com>
* config/tc-mips.c (nopic_need_relax): Check for
S_IS_EXTERN.
Alan Modra [Wed, 26 Mar 2003 23:00:04 +0000 (23:00 +0000)]
daily update
Andreas Schwab [Wed, 26 Mar 2003 14:20:14 +0000 (14:20 +0000)]
* elf32-m68k.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
(elf_m68k_relocate_section): Use it to correctly handle symbols
forced to be local.
(elf_m68k_finish_dynamic_symbol): Emit RELATIVE reloc for got
entries for symbols that are forced to be local.
Alexandre Oliva [Wed, 26 Mar 2003 01:05:44 +0000 (01:05 +0000)]
* ld-mips-elf/mips-elf.exp: Added...
* ld-mips-elf/relax-jalr.s, ld-mips-elf/relax-jalr-n32.d,
ld-mips-elf/relax-jalr-n32-shared.d, ld-mips-elf/relax-jalr-n64.d,
ld-mips-elf/relax-jalr-n64-shared.d: New tests.
Alexandre Oliva [Wed, 26 Mar 2003 01:04:22 +0000 (01:04 +0000)]
* elfxx-mips.c (_bfd_mips_relax_section): New function.
* elfxx-mips.h (_bfd_mips_relax_section): Declare.
* elfn32-mips.c, elf64-mips.c: Use it.
Alan Modra [Tue, 25 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Nick Clifton [Tue, 25 Mar 2003 20:56:01 +0000 (20:56 +0000)]
Add iWMMXt support
Nick Clifton [Tue, 25 Mar 2003 10:29:28 +0000 (10:29 +0000)]
ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define. (main): Initialize them.
ldfile.c: Include pathnames.h. (is_sysrooted_pathname): New. (ldfile_add_library_path): Use it.
(ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH.
Don't search_dirs if given an absolute pathname.
(ldfile_open_file): Issue error message for sysrooted absolute pathnames.
Alexandre Oliva [Tue, 25 Mar 2003 00:41:25 +0000 (00:41 +0000)]
Replace oddly-encoded blank with regular blanks
Alan Modra [Mon, 24 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Nick Clifton [Mon, 24 Mar 2003 16:11:46 +0000 (16:11 +0000)]
Add --info command line switch
Nick Clifton [Mon, 24 Mar 2003 15:43:15 +0000 (15:43 +0000)]
Rename the all occurances of C54X to TIC54X.
Nick Clifton [Mon, 24 Mar 2003 11:28:35 +0000 (11:28 +0000)]
Move display_info() function into bucomm.c
Alan Modra [Sun, 23 Mar 2003 23:00:04 +0000 (23:00 +0000)]
daily update
Alexandre Oliva [Sun, 23 Mar 2003 10:16:44 +0000 (10:16 +0000)]
* Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
instead of $$CC alone.
(install_to_tooldir): Use it.
Danny Smith [Sat, 22 Mar 2003 21:04:50 +0000 (21:04 +0000)]
* dlltool.c (gen_def_file): Put demangled name comments on
own line preceding export name.
Doug Evans [Sat, 22 Mar 2003 18:56:45 +0000 (18:56 +0000)]
* i386-dis.c (dis386): Recognize icebp (0xf1).
Alan Modra [Fri, 21 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Fri, 21 Mar 2003 19:49:11 +0000 (19:49 +0000)]
* elf32-xstormy16.c (elf32_xstormy16_relocate_section): Call
_bfd_elf_rela_local_sym.
Andreas Schwab [Fri, 21 Mar 2003 14:02:09 +0000 (14:02 +0000)]
* config/tc-ia64.c (generate_unwind_image): Fix type of unw_rec to
avoid aliasing issue.
Martin Schwidefsky [Fri, 21 Mar 2003 13:28:09 +0000 (13:28 +0000)]
* s390-dis.c (init_disasm): Rename S390_OPCODE_ESAME to
S390_OPCODE_ZARCH.
(print_insn_s390): Use new modes field of s390_opcodes.
* s390-mkopc.c (ARCHBITS_ESAONLY, ARCHBITS_ESA, ARCHBITS_ESAME): Remove.
(s390_opcode_mode_val, s390_opcode_cpu_val): New enums.
(struct op_struct): Remove archbits. Add mode_bits and min_cpu.
(insertOpcode): Replace archbits by min_cpu and mode_bits.
(dumpTable): Write mode_bits and min_cpu instead of archbits.
(main): Adapt to new format in s390-opcode.txt.
* s390-opc.c (s390_opformats): Replace archbits by min_cpu and
mode_bits.
* s390-opc.txt: Replace archbits by min_cpu and mode_bits.
Martin Schwidefsky [Fri, 21 Mar 2003 13:26:21 +0000 (13:26 +0000)]
* s390.h (s390_opcode_arch_val): Rename to s390_opcode_mode_val.
(S390_OPCODE_ESAME): Rename to S390_OPCODE_ZARCH.
(s390_opcode): Remove architecture. Add modes and min_cpu.
Martin Schwidefsky [Fri, 21 Mar 2003 13:24:46 +0000 (13:24 +0000)]
* config/tc-s390.c (s390_arch_size): Initialize to zero.
(current_arch_mask): Rename to current_mode_mask.
(current_arch_requested): Remove variable.
(current_cpu): New variable.
(init_default_arch): Set defaults values for s390_arch_size,
current_mode_mask and current_cpu.
(md_parse_option): New options -mesa, -mzarch and -march={g5,g6,z900}.
(md_begin): Replace current_arch_mask by current_cpu.
(md_assemble): Adapt check and error message to current_mode_mask and
current_cpu.
Alan Modra [Thu, 20 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
H.J. Lu [Thu, 20 Mar 2003 16:04:18 +0000 (16:04 +0000)]
2003-03-20 H.J. Lu <hjl@gnu.org>
* elfxx-ia64.c (elfNN_ia64_relax_section): Don't try relax for
non-ELF outputs.
Nick Clifton [Thu, 20 Mar 2003 12:25:07 +0000 (12:25 +0000)]
Add Cirrus Maverick support to arm simulator
Nick Clifton [Thu, 20 Mar 2003 09:02:09 +0000 (09:02 +0000)]
Initialise $idata2 and $idata5 in case bfd_coff_final_link is not called.
Alan Modra [Wed, 19 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update
Andreas Schwab [Wed, 19 Mar 2003 09:56:06 +0000 (09:56 +0000)]
* ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after
eof.
Jakub Jelinek [Wed, 19 Mar 2003 09:26:51 +0000 (09:26 +0000)]
* elf64-sparc.c (struct sparc64_elf_section_data): Add reloc_count
field.
(canon_reloc_count): Define.
(sparc64_elf_slurp_one_reloc_table, sparc64_elf_slurp_reloc_table,
sparc64_elf_canonicalize_dynamic_reloc): Use it instead of
reloc_count.
(sparc64_elf_canonicalize_reloc): New routine.
(bfd_elf64_canonicalize_reloc): Define.
Jakub Jelinek [Tue, 18 Mar 2003 23:14:35 +0000 (23:14 +0000)]
* elfxx-ia64.c (elfNN_ia64_relax_section): Handle relaxation
againt mergeable sections. Take r_addend into account when caching
trampolines.
Alan Modra [Tue, 18 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update
Danny Smith [Tue, 18 Mar 2003 21:33:43 +0000 (21:33 +0000)]
* defilep.y (opt_base): If no number given, set to default
(-1), not 0.
Richard Henderson [Tue, 18 Mar 2003 18:57:40 +0000 (18:57 +0000)]
* elfxx-ia64.c (get_dyn_sym_info): Return NULL gracefully for
local symbols that have no dyninfo.
DJ Delorie [Mon, 17 Mar 2003 23:09:54 +0000 (23:09 +0000)]
merge from gcc
Alan Modra [Mon, 17 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Mon, 17 Mar 2003 18:01:07 +0000 (18:01 +0000)]
merge from gcc
Nick Clifton [Mon, 17 Mar 2003 11:43:30 +0000 (11:43 +0000)]
Fix formatting. Update copyright date.
Nick Clifton [Mon, 17 Mar 2003 11:16:51 +0000 (11:16 +0000)]
(disassemble_data): Use disasm_info.fprintf_func not printf for emitting new
lines.
Nick Clifton [Mon, 17 Mar 2003 10:34:29 +0000 (10:34 +0000)]
(O_SYS_CMDLINE): New pseudo opcode for command line processing.
Nick Clifton [Mon, 17 Mar 2003 10:14:07 +0000 (10:14 +0000)]
nm.c (print_symbol_info_bsd): Print the symbol's size instead of the symbol's
value when --size-sort is used, unless -S is used.
doc/binutils.texi (--size-sort): For non-bsd formats both the value and size
of the symbols are displayed.
Alan Modra [Sun, 16 Mar 2003 23:00:07 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 15 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 14 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Fri, 14 Mar 2003 21:07:54 +0000 (21:07 +0000)]
ppc-opc.c (powerpc_opcodes): Readd tlbre for PPC403.
Nathanael Nerode [Fri, 14 Mar 2003 20:49:14 +0000 (20:49 +0000)]
* Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES back down.
* Makefile.in: Regenerate.
Michael Chastain [Fri, 14 Mar 2003 18:59:59 +0000 (18:59 +0000)]
2003-03-14 Michael Chastain <mec@shout.net>
* Makefile.in: Regenerate with correct Makefile.def.
Nick Clifton [Fri, 14 Mar 2003 12:47:20 +0000 (12:47 +0000)]
(ieee_write_expression): Handle the case where symbol is NULL.
Alan Modra [Thu, 13 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Nick Clifton [Thu, 13 Mar 2003 15:12:05 +0000 (15:12 +0000)]
Updated translation
Nick Clifton [Thu, 13 Mar 2003 15:09:29 +0000 (15:09 +0000)]
Add New Chinese (simplified) PO file.
Nick Clifton [Thu, 13 Mar 2003 11:49:33 +0000 (11:49 +0000)]
(buffer_and_nest): Store more to sb instead of '\n'.
(get_line_sb): Return end of line character or '\n' if it is zero or
non-existent.
Danny Smith [Thu, 13 Mar 2003 09:39:09 +0000 (09:39 +0000)]
* deffilep.y (def_import): Use default extension of "dll"
if no extension provided in parsed IMPORT definition.
* deffilep.y (def_lex): Revert 2003-03-12 change.
(dot_name): New id type and rule.
(expline): Use instead of ID.
(opt_equal_name): Likewise.
Nick Clifton [Thu, 13 Mar 2003 09:28:49 +0000 (09:28 +0000)]
(BYTES_IN_WORD): Don't define.
Nick Clifton [Thu, 13 Mar 2003 09:11:16 +0000 (09:11 +0000)]
Update.
Alexandre Oliva [Wed, 12 Mar 2003 23:07:38 +0000 (23:07 +0000)]
* config/tc-mips.c (mips_validate_fix): New function.
* config/tc-mips.h (TC_VALIDATE_FIX): Define.
(mips_validate_fix): Declare.
Alexandre Oliva [Wed, 12 Mar 2003 23:07:22 +0000 (23:07 +0000)]
* gas/mips/branch-misc-2.s: Add branch to symbol in another
section.
* gas/mips/branch-misc-2.l: Update error messages and warnings.
Alexandre Oliva [Wed, 12 Mar 2003 23:06:08 +0000 (23:06 +0000)]
* Reverted 2003-03-02's patch.
Alexandre Oliva [Wed, 12 Mar 2003 23:05:31 +0000 (23:05 +0000)]
* Reverted previous patch.
Alan Modra [Wed, 12 Mar 2003 23:00:06 +0000 (23:00 +0000)]
daily update
Alexandre Oliva [Wed, 12 Mar 2003 22:52:12 +0000 (22:52 +0000)]
* elfxx-target.h (bfd_elfNN_canonicalize_reloc): Make it
overridable.
* elf64-mips.c (mips_elf64_canonicalize_reloc,
mips_elf64_get_dynamic_reloc_upper_bound,
mips_elf64_canonicalize_dynamic_reloc): New, adapted from elf.c.
(bfd_elf64_get_canonicalize_reloc,
bfd_elf64_get_dynamic_reloc_upper_bound,
bfd_elf64_canonicalize_dynamic_reloc): Define.
(mips_elf64_slurp_reloc_table): Support dynamic.
(mips_elf64_slurp_one_reloc_table): Adjust.
Nathanael Nerode [Wed, 12 Mar 2003 20:47:07 +0000 (20:47 +0000)]
* Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up. Delete unused
Make macro.
* Makefile.in: Regenerate.
* configure.in: Clean up gxx_include_dir logic.
* configure: Regenerate.
DJ Delorie [Wed, 12 Mar 2003 17:28:10 +0000 (17:28 +0000)]
merge from gcc
DJ Delorie [Wed, 12 Mar 2003 15:08:02 +0000 (15:08 +0000)]
merge from gcc
Nick Clifton [Wed, 12 Mar 2003 09:59:52 +0000 (09:59 +0000)]
Rename 'index' to 'offset'
Danny Smith [Wed, 12 Mar 2003 08:38:16 +0000 (08:38 +0000)]
* deffilep.y (def_lex): Accept '.' as valid non-lead char.
Alan Modra [Tue, 11 Mar 2003 23:00:07 +0000 (23:00 +0000)]
daily update
Richard Henderson [Tue, 11 Mar 2003 22:00:33 +0000 (22:00 +0000)]
* dwarf2dbg.c (generic_dwarf2_emit_offset): New.
(TC_DWARF2_EMIT_OFFSET): Provide default.
(out_debug_aranges, out_debug_info): Use it.
* config/tc-ia64.c (ia64_dwarf2_emit_offset): New.
(ia64_cons_fix_new): Move FUNC_DTP_RELATIVE handling ...
(ia64_gen_real_reloc_type): ... here.
* config/tc-ia64.h (TC_DWARF2_EMIT_OFFSET): New.
DJ Delorie [Tue, 11 Mar 2003 20:18:26 +0000 (20:18 +0000)]
merge from gcc
Alexandre Oliva [Tue, 11 Mar 2003 19:20:16 +0000 (19:20 +0000)]
* ld-mips-elf/mips-elf.exp (linux_gnu): New variable. Add:
* ld-mips-elf/rel32-o32.d, ld-mips-elf/rel32-n32.d,
ld-mips-elf/rel64.d, ld-mips-elf/rel32.s, ld-mips-elf/rel64.s: New
tests.
Alexandre Oliva [Tue, 11 Mar 2003 19:11:38 +0000 (19:11 +0000)]
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Do not create
dynamic relocations pointing to local or section symbols, use the
NULL symbol instead. Document the choice to not emit an
additional R_MIPS_64 relocation.
Alan Modra [Mon, 10 Mar 2003 23:25:13 +0000 (23:25 +0000)]
* elf32-ppc.c (ppc_elf_relocate_section): Subtract tls seg vma from
zero index dynamic tls relocs generated for the GOT. Tidy code.
Set "relocation" to 1 on DTPMOD32 relocs. Optimize HA adjustment.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* ld-powerpc/tlsso.r: Adjust for corrected zero symbol index relocs.
* ld-powerpc/tlsso32.r: Likewise.
Alan Modra [Mon, 10 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Alan Modra [Sun, 9 Mar 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Ben Elliston [Sun, 9 Mar 2003 22:52:02 +0000 (22:52 +0000)]
2003-03-10 Ben Elliston <bje@wasabisystems.com>
* MAINTAINERS: Update my mail address.
DJ Delorie [Sun, 9 Mar 2003 18:43:06 +0000 (18:43 +0000)]
* configure.in (gxx_include_dir): Fix typo.
* configure: Regenerated.
Thiemo Seufer [Sun, 9 Mar 2003 16:16:31 +0000 (16:16 +0000)]
* config/tc-mips.c (s_mips_end): Remove !BFD_ASSEMBLER case.
(s_mips_ent): Likewise.