OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years ago * MAINTAINERS: Document branch policy.
Mark Mitchell [Thu, 20 Jan 2005 21:59:05 +0000 (21:59 +0000)]
* MAINTAINERS: Document branch policy.
* BRANCHES: New file.

19 years ago * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o.
Mark Mitchell [Thu, 20 Jan 2005 19:37:49 +0000 (19:37 +0000)]
* Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o.
(earmelfb_linux_eabi.c): New target.
* Makefile.in: Regenerated.
* configure.tgt (arm*b-*-linux-gnueabi): New target.
* emulparams/armelfb_linux_eabi.sh: New file.

19 years ago(std_longopts): Add an entry for "--a" in order to prevent getopt_long_only()
Nick Clifton [Thu, 20 Jan 2005 15:35:57 +0000 (15:35 +0000)]
(std_longopts): Add an entry for "--a" in order to prevent getopt_long_only()
  from considering -a as an abbreviation for --alternate.
(parse_args): Fix the parsing of -a=<file>.

19 years ago PR ld/676
Alan Modra [Thu, 20 Jan 2005 07:47:49 +0000 (07:47 +0000)]
PR ld/676
* emultempl/hppaelf.em (hppaelf_create_output_section_statements):
Handle bfd_elf32_hppa_nbsd_vec.

19 years ago * ppc-opc.c (powerpc_opcodes): Add optional 'l' arg to tlbiel.
Alan Modra [Thu, 20 Jan 2005 06:54:48 +0000 (06:54 +0000)]
* ppc-opc.c (powerpc_opcodes): Add optional 'l' arg to tlbiel.

19 years ago PR gas/684
Alan Modra [Thu, 20 Jan 2005 06:46:41 +0000 (06:46 +0000)]
PR gas/684
* read.c (s_incbin): Adjust default count for skip.  Check validity
of count and skip rigorously.

19 years agoFix misspelling in previous checkin
Fred Fish [Wed, 19 Jan 2005 23:43:00 +0000 (23:43 +0000)]
Fix misspelling in previous checkin

19 years ago 2005-01-19 Fred Fish <fnf@specifixinc.com>
Fred Fish [Wed, 19 Jan 2005 23:35:26 +0000 (23:35 +0000)]
2005-01-19  Fred Fish  <fnf@specifixinc.com>
* NEWS: Make note of the new MIPS disassembly option "no-aliases".
* doc/binutils.texi (objdump): Document the "no-aliases"
disassembly option.

19 years ago 2005-01-19 Fred Fish <fnf@specifixinc.com>
Fred Fish [Wed, 19 Jan 2005 23:33:33 +0000 (23:33 +0000)]
2005-01-19  Fred Fish  <fnf@specifixinc.com>
* config/tc-mips.c (dummy_opcode): Add init for new struct member.

19 years ago 2005-01-19 Fred Fish <fnf@specifixinc.com>
Fred Fish [Wed, 19 Jan 2005 23:31:15 +0000 (23:31 +0000)]
2005-01-19  Fred Fish  <fnf@specifixinc.com>
* mips-dis.c (no_aliases): New disassembly option flag.
(set_default_mips_dis_options): Init no_aliases to zero.
(parse_mips_dis_option): Handle no-aliases option.
(print_insn_mips): Ignore table entries that are aliases
if no_aliases is set.
(print_insn_mips16): Ditto.
* mips-opc.c (mips_builtin_opcodes): Add initializer column for
new pinfo2 member and add INSN_ALIAS initializers as needed.  Also
move WR_MACC and RD_MACC initializers from pinfo to pinfo2.
* mips16-opc.c (mips16_opcodes): Ditto.

19 years ago 2005-01-19 Fred Fish <fnf@specifixinc.com>
Fred Fish [Wed, 19 Jan 2005 23:29:12 +0000 (23:29 +0000)]
2005-01-19  Fred Fish  <fnf@specifixinc.com>
* mips.h (struct mips_opcode): Add new pinfo2 member.
(INSN_ALIAS): New define for opcode table entries that are
specific instances of another entry, such as 'move' for an 'or'
with a zero operand.
(INSN_READ_MDMX_ACC): Redefine from 0 to 0x2.
(INSN_WRITE_MDMX_ACC): Redefine from 0 to 0x4.

19 years agodaily update
Alan Modra [Wed, 19 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2005-01-19 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 19 Jan 2005 16:15:11 +0000 (16:15 +0000)]
2005-01-19  H.J. Lu  <hongjiu.lu@intel.com>

PR 679
* elflink.c (_bfd_elf_dynamic_symbol_p): Only protected
non-function symbols are local.
(_bfd_elf_symbol_refs_local_p): Likewise.

19 years ago * read.c (convert_to_bignum): New function, split out from...
Richard Sandiford [Wed, 19 Jan 2005 11:53:53 +0000 (11:53 +0000)]
* read.c (convert_to_bignum): New function, split out from...
(emit_expr): ...here.  Handle the case where X_add_number is
positive and the input value is negative.
(output_big_sleb128): Fix setting of continuation bit.  Check whether
the final byte needs to be sign-extended.  Fix size-shrinking loop.
(emit_leb128_expr): When generating a signed leb128, see whether the
sign of an O_constant's X_add_number matches the sign of the input
value.  Use a bignum if not.

19 years ago * ldmain.h (ld_sysroot): Change type to a constant string.
Richard Sandiford [Wed, 19 Jan 2005 11:42:49 +0000 (11:42 +0000)]
* ldmain.h (ld_sysroot): Change type to a constant string.
* ldmain.c (ld_sysroot): Likewise.
(get_relative_sysroot, get_sysroot): New functions, adding command-line
support for changing the sysroot.
(main): Call the new functions.
* lexsup.c (OPTION_SYSROOT): New.
(ld_options): Add --sysroot.
(parse_args): Add a dummy handler for it.
* ld.texinfo (--sysroot): Document.
* NEWS: Mention the new --sysroot option.

19 years ago2005-01-17 Kelley Cook <kcook@gcc.gnu.org>
Kelley Cook [Wed, 19 Jan 2005 00:34:56 +0000 (00:34 +0000)]
2005-01-17  Kelley Cook  <kcook@gcc.gnu.org>

* install-sh, config.sub: Import from upstream.

19 years ago2005-01-13 Kelley Cook <kcook@gcc.gnu.org>
Kelley Cook [Wed, 19 Jan 2005 00:33:04 +0000 (00:33 +0000)]
2005-01-13  Kelley Cook  <kcook@gcc.gnu.org>

PR bootstrap/18222
* Makefile.def: Pass CPPFLAGS_FOR_TARGET.
* Makefile.tpl: Define target CPPFLAGS on CPPFLAGS_FOR_TARGET.
* Makefile.in: Regenerate.

19 years agodaily update
Alan Modra [Tue, 18 Jan 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years agobfd/
Alan Modra [Tue, 18 Jan 2005 08:51:54 +0000 (08:51 +0000)]
bfd/
* bfd.c (bfd_link_just_syms): Add abfd param.
* bfd-in2.h: Regenerate.
ld/
* ldlang.c (section_already_linked): Adjust bfd_link_just_syms call.
(lang_place_orphans): Don't abort on just_syms_flag, instead call
bfd_link_just_syms.

19 years agodaily update
Alan Modra [Mon, 17 Jan 2005 23:00:08 +0000 (23:00 +0000)]
daily update

19 years ago * elf-eh-frame.c (skip_cfa_op, skip_non_nops): New functions.
Richard Sandiford [Mon, 17 Jan 2005 17:44:41 +0000 (17:44 +0000)]
* elf-eh-frame.c (skip_cfa_op, skip_non_nops): New functions.
(_bfd_elf_discard_section_eh_frame): Use them to interpret the CFA
instructions.  If the amount of padding is known, reduce the size
of the CIE or FDE by that amount.

19 years ago * elf-bfd.h (struct cie): Use bfd_vmas for code_align, ra_column and
Richard Sandiford [Mon, 17 Jan 2005 17:41:47 +0000 (17:41 +0000)]
* elf-bfd.h (struct cie): Use bfd_vmas for code_align, ra_column and
augmentation_size.  Use bfd_signed_vmas for data_align.
* elf-eh-frame.c (read_uleb128, read_sleb128): Delete in favor of...
(read_byte, skip_leb128, read_uleb128, read_sleb128): ...these new
functions.  Don't read past the end of the enclosing CIE or FDE.
(skip_bytes): New utility function.
(_bfd_elf_discard_section_eh_frame): Use new functions, adding more
sanity checking.
(_bfd_elf_write_section_eh_frame): Use new functions.

19 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use an
Richard Sandiford [Mon, 17 Jan 2005 17:39:27 +0000 (17:39 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use an
assert-style REQUIRE() macro to handle sanity checks.

19 years ago2005-01-17 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 17 Jan 2005 17:12:00 +0000 (17:12 +0000)]
2005-01-17  H.J. Lu  <hongjiu.lu@intel.com>

* dwarf2.c (dwarf2_debug): Move info_ptr_unit to ...
(comp_unit): Here.
(read_unsigned_leb128): Removed.
(read_signed_leb128): Removed.
(find_abstract_instance_name): Updated.
(parse_comp_unit): Accept info_ptr_unit.
(_bfd_dwarf2_find_nearest_line): Set info_ptr_unit for each
comp unit and pass it to parse_comp_unit.

* elf-eh-frame.c (read_unsigned_leb128): Moved to ...
(read_signed_leb128): Moved to ...
* libbfd.c: Here.

* libbfd-in.h (read_unsigned_leb128): New prototype.
(read_signed_leb128): Likewise.
* libbfd.h: Regenerated.

19 years agoPR binutils/647
Nick Clifton [Mon, 17 Jan 2005 16:24:12 +0000 (16:24 +0000)]
PR binutils/647
* rcparse.y (RCDATA): Allow a filename to be supplied as the parameter.
  Parse it with define_rcdata_file().
* resrc.c (define_rcdata_file): New function.
* windres.h: Provide a prototype for the new function.

* resrc.c (define_user_file): Fix typo by replacing "font file" with "file".

19 years agoFix SH2A machine variants in order to correctly select instruction inheritance
Nick Clifton [Mon, 17 Jan 2005 14:08:17 +0000 (14:08 +0000)]
Fix SH2A machine variants in order to correctly select instruction inheritance

19 years ago2005-01-16 Jason Thorpe <thorpej@netbsd.org>
Jason Thorpe [Sun, 16 Jan 2005 23:47:40 +0000 (23:47 +0000)]
2005-01-16  Jason Thorpe  <thorpej@netbsd.org>

        * MAINTAINERS: Update my email address.

19 years agodaily update
Alan Modra [Sun, 16 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * dlltool.c (set_dll_name_from_def): New function. Strip name
Danny Smith [Sun, 16 Jan 2005 09:25:06 +0000 (09:25 +0000)]
* dlltool.c (set_dll_name_from_def): New function.  Strip name
to basename, with warning.
(def_name): Use it.
(def_library): Likwise.
(main): Strip arg of --dllname to basename, with warning.
Only use basename of exp_name when inferring dll_name.

19 years ago * defilep.y (def_name, def_library): Combine into...
Danny Smith [Sun, 16 Jan 2005 09:18:35 +0000 (09:18 +0000)]
* defilep.y (def_name, def_library): Combine into...
(def_image_name): New function.  Strip name to basename,
with warning.

19 years agodaily update
Alan Modra [Sat, 15 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago2005-01-15 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sat, 15 Jan 2005 19:14:54 +0000 (19:14 +0000)]
2005-01-15  Andrew Cagney  <cagney@gnu.org>

* bfd.m4: New file.
* acinclude.m4: Move BFD_NEED_DECLARATION,
BFD_HAVE_SYS_PROCFS_TYPE and BFD_HAVE_SYS_PROCFS_TYPE_MEMBER to
the new file bfd.m4.  Include ../bfd/bfd.m4.
* configure: Re-generate.

19 years agodaily update
Alan Modra [Fri, 14 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago2005-01-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 14 Jan 2005 22:10:55 +0000 (22:10 +0000)]
2005-01-14  H.J. Lu  <hongjiu.lu@intel.com>

PR 659
* config/tc-i386.c (i386_scale): Disallow 0 scale.

19 years agodaily update
Alan Modra [Thu, 13 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Wed, 12 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago* configure.in: Be sure to invoke config.sub using the shell.
Mark Kettenis [Wed, 12 Jan 2005 22:12:24 +0000 (22:12 +0000)]
* configure.in: Be sure to invoke config.sub using the shell.
* configure: Regenerate.

19 years ago2005-01-12 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 12 Jan 2005 19:40:20 +0000 (19:40 +0000)]
2005-01-12  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OP_E): Don't ignore scale in SIB for 64 bit mode.

19 years agogas/testsuite/
H.J. Lu [Wed, 12 Jan 2005 19:12:52 +0000 (19:12 +0000)]
gas/testsuite/

2005-01-12  H.J. Lu  <hongjiu.lu@intel.com>

* i386/i386.exp: Run "sib".

* gas/i386/sib.d: New file.
* gas/i386/sib.s: Likewise.

opcodes/

2005-01-12  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OP_E): Ignore scale when index == 0x4 in SIB.

19 years agoinclude/elf/
Alan Modra [Wed, 12 Jan 2005 11:28:28 +0000 (11:28 +0000)]
include/elf/
* ppc.h (R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Define.
(R_PPC_RELAX32, R_PPC_RELAX32PC): Adjust value.
bfd/
* elf32-ppc.c (ppc_elf_howto_raw): Delete RELAX32* entries.
(ppc_elf_relax_section): Use PLT variants of RELAX32 relocs for
reaching PLT.
(ppc_elf_relocate_section): Handle R_PPC_RELAX32_PLT and
R_PPC_RELAX32PC_PLT.

19 years ago(s_iq2000_set): Fix thinko parsing ignored_arguments array.
Nick Clifton [Wed, 12 Jan 2005 10:57:15 +0000 (10:57 +0000)]
(s_iq2000_set): Fix thinko parsing ignored_arguments array.

19 years ago * ld-sh/shared-1.d: Update for changed dynamic syms.
Kaz Kojima [Tue, 11 Jan 2005 23:55:14 +0000 (23:55 +0000)]
* ld-sh/shared-1.d: Update for changed dynamic syms.
* ld-sh/sh64/gotplt.d: Likewise.
* ld-sh/sh64/init-cmpct.d: Likewise.
* ld-sh/sh64/init-media.d: Likewise.
* ld-sh/sh64/init64.d: Likewise.

19 years agodaily update
Alan Modra [Tue, 11 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years agomerge from gcc
DJ Delorie [Tue, 11 Jan 2005 21:01:13 +0000 (21:01 +0000)]
merge from gcc

19 years agoPR binutils/637
Nick Clifton [Tue, 11 Jan 2005 11:58:49 +0000 (11:58 +0000)]
PR binutils/637
* doc/binutils.texi (c++filt): Use uppercase CXXFILT in the footnote in order
to prevent the sed script in the Makefile from converting it into c++filt.

19 years ago * configure.host: Correct sed patterns for last change.
Alan Modra [Tue, 11 Jan 2005 09:36:46 +0000 (09:36 +0000)]
* configure.host: Correct sed patterns for last change.

19 years ago * elf64-ppc.c (ppc64_elf_gc_sweep_hook): Follow indirect and warning
Alan Modra [Tue, 11 Jan 2005 09:32:53 +0000 (09:32 +0000)]
* elf64-ppc.c (ppc64_elf_gc_sweep_hook): Follow indirect and warning
symbols.
* elf32-arm.c (elf32_arm_gc_sweep_hook): Likewise.
* elf32-cris.c (cris_elf_gc_sweep_hook): Likewise.
* elf32-hppa.c (elf32_hppa_gc_sweep_hook): Likewise.
* elf32-i386.c (elf_i386_gc_sweep_hook): Likewise.
* elf32-m32r.c (m32r_elf_gc_sweep_hook): Likewise.
* elf32-m68k.c (elf_m68k_gc_sweep_hook): Likewise.
* elf32-ppc.c (ppc_elf_gc_sweep_hook): Likewise.
* elf32-s390.c (elf_s390_gc_sweep_hook): Likewise.
* elf32-sh.c (sh_elf_gc_sweep_hook): Likewise.
* elf32-sparc.c (elf32_sparc_gc_sweep_hook): Likewise.
* elf32-vax.c (elf_vax_gc_sweep_hook): Likewise.
* elf32-xtensa.c (elf_xtensa_gc_sweep_hook): Likewise.
* elf64-s390.c (elf_s390_gc_sweep_hook): Likewise.
* elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise.

19 years ago * elf32-ppc.c (ppc_elf_create_dynamic_sections): Correct
Alan Modra [Tue, 11 Jan 2005 08:30:35 +0000 (08:30 +0000)]
* elf32-ppc.c (ppc_elf_create_dynamic_sections): Correct
.dynsbss flags.

19 years agodaily update
Alan Modra [Mon, 10 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 10 Jan 2005 17:28:37 +0000 (17:28 +0000)]
2005-01-10  H.J. Lu  <hongjiu.lu@intel.com>

BZ 635
readelf.c (saved_base_address): Removed.
(decode_64bit_range): Likewise.
(decode_range): Likewise.
(display_64bit_debug_ranges): Likewise.
(debug_info): Add range_lists, num_range_lists and
max_range_lists.
(read_and_display_attr_value): Handle do_debug_ranges.
(process_debug_info): Likewise.
(display_debug_ranges): Rewrite.
(process_object): Free range_lists.

19 years ago2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 10 Jan 2005 17:22:49 +0000 (17:22 +0000)]
2005-01-10  H.J. Lu  <hongjiu.lu@intel.com>

* write.c (write_object_file): Disallow a symbol equated to
common symbol.

19 years agoAdd support for maxq10 and maxq20 machine values
Nick Clifton [Mon, 10 Jan 2005 16:33:51 +0000 (16:33 +0000)]
Add support for maxq10 and maxq20 machine values

19 years agoPR binutils/609
Nick Clifton [Mon, 10 Jan 2005 15:45:00 +0000 (15:45 +0000)]
PR binutils/609
* ldmisc.c (vfinfo): Add an extra argument: is_warning.  Use this to determine
whether config.make_executable should be set to FALSE in conjunction with
config.fatal_warnings.
(info_msg, minfo, lfinof): Pass FALSE as the extra argument.
(einfo): Pass TRUE as the extra argument.

19 years ago(linux targets): Use "${CC} -dumpspecs" instead of "${CC} --print-file-name=specs...
Nick Clifton [Mon, 10 Jan 2005 14:57:32 +0000 (14:57 +0000)]
(linux targets): Use "${CC} -dumpspecs" instead of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0.
(ia64-*-aix): Delete - this target is obsolete, and would be broken by this patch.

19 years ago * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): When linking a
Eric Botcazou [Mon, 10 Jan 2005 11:23:01 +0000 (11:23 +0000)]
* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): When linking a
non-shared object, do not reserve space in .plt and .rela.plt
for regular symbols neither defined nor referenced in shared objects.

19 years agobinutils/:
Andreas Schwab [Mon, 10 Jan 2005 09:54:50 +0000 (09:54 +0000)]
binutils/:
* configure.in: Don't define SKIP_ZEROES.
* configure: Regenerate.
* objdump.c (disassemble_data): Set skip_zeroes and
skip_zeroes_at_end in disasm_info to defaults.
(DEFAULT_SKIP_ZEROES): Rename from SKIP_ZEROES and always define.
(DEFAULT_SKIP_ZEROES_AT_END): Rename from SKIP_ZEROES_AT_END and
always define.
(disassemble_bytes): Use skip_zeroes and skip_zeroes_at_end from
objdump_disasm_info.

include/:
* dis-asm.h (struct disassemble_info): Add skip_zeroes and
skip_zeroes_at_end.

opcodes/:
* disassemble.c (disassemble_init_for_target) <case
bfd_arch_ia64>: Set skip_zeroes to 16.
<case bfd_arch_tic4x>: Set skip_zeroes to 32.

19 years agodaily update
Alan Modra [Sun, 9 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * elf32-sparc.c (elf32_sparc_link_hash_table_create): Use bfd_zmalloc
Eric Botcazou [Sun, 9 Jan 2005 19:49:22 +0000 (19:49 +0000)]
* elf32-sparc.c (elf32_sparc_link_hash_table_create): Use bfd_zmalloc
to zero the structure.
(create_got_section): Use BFD_ASSERT instead of abort.

19 years ago * elf64-sparc.c (struct sparc64_elf_link_hash_table): New 'sgot' and
Eric Botcazou [Sun, 9 Jan 2005 19:48:28 +0000 (19:48 +0000)]
* elf64-sparc.c (struct sparc64_elf_link_hash_table): New 'sgot' and
'srelgot' fields.
(create_got_section): New function.
(sparc64_elf_create_dynamic_sections): Likewise.
(sparc64_elf_check_relocs): Invoke create_got_section instead of
_bfd_elf_create_got_section.  Use the sgot and srelgot shortcuts.
(sparc64_elf_size_dynamic_sections): Use the srelgot shortcut.
(sparc64_elf_relocate_section): Use the sgot and srelgot shortcuts.
(sparc64_elf_finish_dynamic_symbol): Likewise.
(sparc64_elf_finish_dynamic_sections): Use the sgot shortcut.
(elf_backend_create_dynamic_sections): Define to
sparc64_elf_create_dynamic_sections.

19 years ago * gas/i386/intel16.d: Ignore trailing text with #pass.
Andreas Schwab [Sun, 9 Jan 2005 14:12:07 +0000 (14:12 +0000)]
* gas/i386/intel16.d: Ignore trailing text with #pass.
* gas/i386/intelok.d: Likewise.
* gas/i386/prefix.d: Likewise.
* gas/i386/sub.d: Likewise.
* gas/i386/padlock.d: Likewise.
* gas/i386/x86_64.d: Likewise.

19 years ago * elf32-sparc.c (elf32_sparc_omit_section_dynsym): New function.
Eric Botcazou [Sun, 9 Jan 2005 09:26:55 +0000 (09:26 +0000)]
* elf32-sparc.c (elf32_sparc_omit_section_dynsym): New function.
(elf_backend_omit_section_dynsym): Define to it.
* elf64-sparc.c (sparc64_elf_omit_section_dynsym): New function.
(elf_backend_omit_section_dynsym): Define to it.

19 years agodaily update
Alan Modra [Sat, 8 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Fri, 7 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * bfd/elf.c (INCLUDE_SECTION_IN_SEGMENT): Don't put empty sections into
Jakub Jelinek [Fri, 7 Jan 2005 09:52:00 +0000 (09:52 +0000)]
* bfd/elf.c (INCLUDE_SECTION_IN_SEGMENT): Don't put empty sections into
PT_DYNAMIC segment, unless .dynamic.

19 years agodaily update
Alan Modra [Thu, 6 Jan 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
Eric Botcazou [Thu, 6 Jan 2005 18:05:17 +0000 (18:05 +0000)]
* configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
(sparc64-sun-solaris2*): New host.

19 years ago2005-01-06 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 6 Jan 2005 16:18:25 +0000 (16:18 +0000)]
2005-01-06  Paul Brook  <paul@codesourcery.com>

bfd/
* config.bfd: Add entry for arm-*-vxworks and arm-*-windiss.
* configure.in: Add bfd_elf32_{big,little}arm_vxworks_vec.
* configure: Regenerate.
* elf32-arm.c: Add VxWorks target bfd.
(USE_REL): Remove.
(elf32_arm_link_hash_table): Add use_rel.
(elf32_arm_link_hash_table_create, elf32_arm_final_link_relocate,
elf32_arm_relocate_section): Replace USE_REL with runtime check.
Correct offset calculation for RELA case.
(elf_backend_may_use_rel_p, elf_backend_may_use_rela_p,
elf_backend_default_use_rela_p, elf_backend_rela_normal): Define.
(elf32_arm_vxworks_link_hash_table_create): New function.
* targets.c (bfd_elf32_bigarm_vxworks_vec): Add declaration.
(bfd_elf32_littlearm_vxworks_vec): Ditto.
(_bfd_target_vector): Add bfd_elf32_{big,little}arm_vxworks_vec.
gas/
* config/tc-arm.c (FPU_DEFAULT): Define for TE_VXWORKS.
(md_begin): Handle TE_VXWORKS for FP defaults.
(md_apply_fix3): Correct rela offsets.
(elf32_arm_target_format): Add VxWorks targets.
ld/
* Makefie.am: Add earmelf_vxworks.
* Makefile.in: Regenerate.
* configure.tgt: Make arm-*-vxworks a separate case.
* emulparams/armelf_vxworks.sh: New function.

19 years ago * configure.tgt: Set em=vxworks for *-*-vxworks.
Paul Brook [Thu, 6 Jan 2005 16:17:25 +0000 (16:17 +0000)]
* configure.tgt: Set em=vxworks for *-*-vxworks.
* config/te-vxworks.h: New File.

19 years ago * config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s.
Paul Brook [Thu, 6 Jan 2005 15:30:57 +0000 (15:30 +0000)]
* config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s.

19 years agobfd/
Alan Modra [Thu, 6 Jan 2005 09:03:56 +0000 (09:03 +0000)]
bfd/
* elf64-ppc.c (struct ppc_link_hash_table): Add no_multi_toc and
multi_toc_needed.
(has_toc_reloc, makes_toc_func_call, call_check_in_progress): Define.
(ppc64_elf_check_relocs): Update references to has_gp_reloc.
(ppc64_elf_setup_section_lists): Add no_multi_toc parm, set htab bit.
(ppc64_elf_next_toc_section): Heed no_multi_toc.
(ppc64_elf_reinit_toc): Set multi_toc_needed.
(toc_adjusting_stub_needed): Rewrite.
(ppc64_elf_next_input_section): Use multi_toc_needed to shortcut
toc tests.  Adjust for toc_adjusting_stub_needed changes.
(ppc64_elf_size_stubs): Update references to has_gp_reloc.
* elf64-ppc.h (ppc64_elf_setup_section_lists): Update prototype.
* section.c: Expand comment on backend bits.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
ld/
* emultempl/ppc64elf.em (no_multi_toc): New var.
(gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists.
(OPTION_NO_MULTI_TOC): Define.
(PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support.
(PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.

19 years ago * elf64-ppc.c (ppc64_elf_size_stubs): When determining need for
Alan Modra [Thu, 6 Jan 2005 08:41:05 +0000 (08:41 +0000)]
* elf64-ppc.c (ppc64_elf_size_stubs): When determining need for
toc adjusting stub, do not test source section flags.

19 years agodaily update
Alan Modra [Wed, 5 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 5 Jan 2005 17:29:41 +0000 (17:29 +0000)]
2005-01-05  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (display_debug_loc): Display base address
specifiers.  Always output <End of list>.

19 years ago2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 5 Jan 2005 16:15:47 +0000 (16:15 +0000)]
2005-01-05  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (have_frame_base): New.
(need_base_address): Likewise.
(saved_base_address): Likewise.
(decode_location_expression): Return 1 if DW_AT_frame_base is
needed.
(debug_info): Add base_address and a have_frame_base pointer.
(read_and_display_attr_value): Replace saved_DW_AT_low_pc with
saved_base_address. Record base address. Set have_frame_base.
Record if a location list has DW_AT_frame_base. Display if a
location expression has no DW_AT_frame_base but needs one. Set
saved_base_address only if needed.
(process_debug_info): Clear have_frame_base, saved_base_address
and set need_base_address.
(display_debug_loc): Display if a location expression has no
DW_AT_frame_base but needs one. Display if start >= end. Don't
adjust for section address. Properly handle base address.
(process_object): Free the have_frame_base pointer in
debug_info.

19 years agoPR binutils/614
Nick Clifton [Wed, 5 Jan 2005 16:03:23 +0000 (16:03 +0000)]
PR binutils/614
* ldmisc.c (vfinfo): Alter output to conform to the GNU Coding Standard's
specification for parsable error messages.

19 years ago * elf64-sparc.c (sparc64_elf_relocate_section): Ignore overflows
Eric Botcazou [Wed, 5 Jan 2005 15:24:56 +0000 (15:24 +0000)]
* elf64-sparc.c (sparc64_elf_relocate_section): Ignore overflows
from STABS debugging sections again.

19 years ago * gas/elf/elf.exp (section5): Use 0-9 instead of [:digit:].
Eric Botcazou [Wed, 5 Jan 2005 13:38:39 +0000 (13:38 +0000)]
* gas/elf/elf.exp (section5): Use 0-9 instead of [:digit:].

19 years agoApproved by nickc@redhat.com:
Fred Fish [Wed, 5 Jan 2005 10:37:05 +0000 (10:37 +0000)]
Approved by nickc@redhat.com:

2005-01-05  Fred Fish  <fnf@specifixinc.com>
* dwarf2.c (struct dwarf2_debug): Add info_ptr_unit member.
(find_abstract_instance_name): New function.
(scan_unit_for_functions): Handle DW_TAG_inlined_subroutine.
(scan_unit_for_functions): Handle DW_AT_abstract_origin.
(_bfd_dwarf2_find_nearest_line): Initialize info_ptr_unit.

19 years ago2005-01-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 4 Jan 2005 23:37:18 +0000 (23:37 +0000)]
2005-01-04  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (display_debug_loc): Display offsets for hole and
overlap.
(display_debug_str): Add a newline at the end.

19 years agodaily update
Alan Modra [Tue, 4 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago(oops - forogot to update the year in the copyright notice)
Nick Clifton [Tue, 4 Jan 2005 15:51:47 +0000 (15:51 +0000)]
(oops - forogot to update the year in the copyright notice)

19 years agoPR binutils/630
Nick Clifton [Tue, 4 Jan 2005 15:47:38 +0000 (15:47 +0000)]
PR binutils/630
* nlmconv.c (main): Only store the basename of the output filename in the
module table.

19 years ago * Makefile.am: Correct dependency for earmsymbian.c.
Paul Brook [Tue, 4 Jan 2005 15:16:25 +0000 (15:16 +0000)]
* Makefile.am: Correct dependency for earmsymbian.c.
* Makefile.in: Regenerate.

19 years agoBZ 615
Nick Clifton [Tue, 4 Jan 2005 11:20:45 +0000 (11:20 +0000)]
BZ 615
* readelf.c (process_debug_info): New.
(debug_info): Add num_loc_offsets, loc_offsets and
last_loc_offset_p.
(get_debug_info): Use process_debug_info.
(display_debug_loc): Properly handle location list. Warn if bad
location lists are encoutnered.
(read_and_process_attr_value): New.
(read_and_display_attr_value): Use "%lx" for DW_FORM_data4.
(display_debug_info): Use process_debug_info.
(process_object): Also free loc_offsets in debug_information.

19 years ago(md_apply_fix3): Fix offset calculation for global label.
Nick Clifton [Tue, 4 Jan 2005 10:20:36 +0000 (10:20 +0000)]
(md_apply_fix3): Fix offset calculation for global label.

19 years agoAdd prototype for printf() and make type of "string" array be "char" in
Nick Clifton [Tue, 4 Jan 2005 10:13:02 +0000 (10:13 +0000)]
Add prototype for printf() and make type of "string" array be "char" in
order to avoid compile time warnings.

19 years agoLine number bug fix patch from David Mosberger.
Jim Wilson [Tue, 4 Jan 2005 05:42:42 +0000 (05:42 +0000)]
Line number bug fix patch from David Mosberger.
* config/tc-ia64.c (md): Add member "loc_directive_seen".
(dot_loc): New function.
(md_pseudo_table): Add entry to map .loc to dot_loc().
(emit_one_bundle): Only call dwarf2_gen_line_info() if we have
seen a .loc directive or we're generating DWARF2 debug info for
assembly source.

19 years agodaily update
Alan Modra [Mon, 3 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2005-01-03 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 3 Jan 2005 14:02:25 +0000 (14:02 +0000)]
2005-01-03  Paolo Bonzini  <bonzini@gnu.org>

Revert 2004-12-28 Makefile changes, a better fix will be
applied to mainline and src after GCC 4.0 branches.

19 years agodaily update
Alan Modra [Sun, 2 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Sat, 1 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Fri, 31 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * elf32-arm.c (elf32_arm_symbian_plt_entry): Fix comment typo.
Paul Brook [Fri, 31 Dec 2004 16:22:25 +0000 (16:22 +0000)]
* elf32-arm.c (elf32_arm_symbian_plt_entry): Fix comment typo.

19 years ago * reloc.c (BFD_RELOC_AVR_LDI, BFD_RELOC_AVR_6, BFD_RELOC_AVR_6_ADIW):
Alan Modra [Fri, 31 Dec 2004 00:43:58 +0000 (00:43 +0000)]
* reloc.c (BFD_RELOC_AVR_LDI, BFD_RELOC_AVR_6, BFD_RELOC_AVR_6_ADIW):
Commit missing changes from 2004-12-22.
* bfd-in2.h: Regenerate.

19 years agodaily update
Alan Modra [Thu, 30 Dec 2004 23:00:04 +0000 (23:00 +0000)]
daily update

19 years ago * gas/elf/elf.exp: Don't list reloc sections.
Alan Modra [Thu, 30 Dec 2004 22:41:31 +0000 (22:41 +0000)]
* gas/elf/elf.exp: Don't list reloc sections.
* gas/elf/section5.e: Remove reloc sections.

19 years ago * binutils-all/readelf.ss: Allow for both .rel and .rela sections.
Alan Modra [Thu, 30 Dec 2004 22:37:31 +0000 (22:37 +0000)]
* binutils-all/readelf.ss: Allow for both .rel and .rela sections.

19 years ago * objdump.c (remove_useless_symbols): Discard section symbols.
Alan Modra [Thu, 30 Dec 2004 22:33:20 +0000 (22:33 +0000)]
* objdump.c (remove_useless_symbols): Discard section symbols.

19 years agodaily update
Alan Modra [Wed, 29 Dec 2004 23:00:38 +0000 (23:00 +0000)]
daily update

19 years ago PR gas/619
Alan Modra [Wed, 29 Dec 2004 10:21:58 +0000 (10:21 +0000)]
PR gas/619
* read.c (s_comm_internal): Don't zero end of name until size
expression has been parsed.