Alan Modra [Tue, 18 Apr 2006 09:50:08 +0000 (09:50 +0000)]
* config/tc-xc16x.h (TC_LINKRELAX_FIXUP): Delete.
Nick Clifton [Tue, 18 Apr 2006 09:41:36 +0000 (09:41 +0000)]
PR 2257
* elfcode.h (elf_object_p): Allow files with corrupt e_shstrndx fields to
still be handled as ELF files.
* readelf.c (SECTION_NAME): Cope with a missing string table.
(process_file_header): Cope with a corrupt e_shstrndx field.
(process_section_headers): Correctly handle an e_shstrndx value of SHF_UNDEF.
Nick Clifton [Tue, 18 Apr 2006 09:19:28 +0000 (09:19 +0000)]
* dv-tx3904tmr.c (deliver_tx3904tmr_tick): Add missing break statement.
Nick Clifton [Tue, 18 Apr 2006 09:16:01 +0000 (09:16 +0000)]
ooops - omitted from previous delta
Nick Clifton [Tue, 18 Apr 2006 09:15:29 +0000 (09:15 +0000)]
* interp.c (sim_stop_reason): Fix typo.
Jim Blandy [Tue, 18 Apr 2006 00:17:55 +0000 (00:17 +0000)]
gdb/doc/ChangeLog:
2006-04-17 Jim Blandy <jimb@codesourcery.com>
* gdb.texinfo (Packets): Note that 'addr' arguments to s, S, c,
and C packets are optional.
Alan Modra [Tue, 18 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 18 Apr 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 17 Apr 2006 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 17 Apr 2006 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Sun, 16 Apr 2006 18:25:11 +0000 (18:25 +0000)]
Update POTFILES.in.
Daniel Jacobowitz [Sun, 16 Apr 2006 18:20:09 +0000 (18:20 +0000)]
* config.in: Regenerated.
Mark Mitchell [Sun, 16 Apr 2006 18:15:55 +0000 (18:15 +0000)]
* doc/as.texinfo: Mention that some .type syntaxes are not
supported on all architectures.
Daniel Jacobowitz [Sun, 16 Apr 2006 18:01:02 +0000 (18:01 +0000)]
* configure.in: Update version to 2.17.50.
* configure: Regenerated.
Nick Clifton [Sun, 16 Apr 2006 11:53:00 +0000 (11:53 +0000)]
Skip ELF specific tests on non-ELF ARM targets
Alan Modra [Sun, 16 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 16 Apr 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Bob Wilson [Sat, 15 Apr 2006 00:04:15 +0000 (00:04 +0000)]
* config/tc-xtensa.c (emit_single_op): Do not relax MOVI
instructions when such transformations have been disabled.
gdbadmin [Sat, 15 Apr 2006 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 15 Apr 2006 00:00:07 +0000 (00:00 +0000)]
daily update
Bob Wilson [Fri, 14 Apr 2006 23:01:19 +0000 (23:01 +0000)]
* elf32-xtensa.c (build_reloc_opcodes): New.
(compute_text_actions): Use it to decode opcodes outside inner loop.
(check_section_ebb_pcrels_fit): Add "reloc_opcodes" argument, and if
it is set, use it to get the opcodes for relocations.
(move_shared_literal): Adjust call to check_section_ebb_pcrels_fit.
Bob Wilson [Fri, 14 Apr 2006 21:31:16 +0000 (21:31 +0000)]
* emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
function to strip inconsistent linkonce sections.
(input_section_linked_worker, input_section_linked): New.
(is_inconsistent_linkonce_section): New.
(xtensa_strip_inconsistent_linkonce_sections): New.
Frederic Riss [Fri, 14 Apr 2006 18:31:32 +0000 (18:31 +0000)]
2006-04-14 Frederic Riss <frederic.riss@st.com>
* gdb.texinfo (Specifying source directories): Update the description
of the source file search to reflect the fact that the source path
always contains at least $cdir and $cwd.
gdbadmin [Fri, 14 Apr 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 14 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update
Alan Modra [Thu, 13 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 13 Apr 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
DJ Delorie [Wed, 12 Apr 2006 18:42:01 +0000 (18:42 +0000)]
merge from gcc
Daniel Jacobowitz [Wed, 12 Apr 2006 14:27:40 +0000 (14:27 +0000)]
* remote.c (extended_remote_restart): Pass the correct length
to getpkt.
Nick Clifton [Wed, 12 Apr 2006 13:09:10 +0000 (13:09 +0000)]
PR binutils/2454
* avr-dis.c (avr_operand): Arrange for a comment to appear before the symolic
form of an address, so that the output of objdump -d can be reassembled.
Nick Clifton [Wed, 12 Apr 2006 13:06:17 +0000 (13:06 +0000)]
oops - omitted from commit of typo fix
Nick Clifton [Wed, 12 Apr 2006 13:05:36 +0000 (13:05 +0000)]
Fix typo
Alan Modra [Wed, 12 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 12 Apr 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Jim Blandy [Tue, 11 Apr 2006 20:33:12 +0000 (20:33 +0000)]
src/gdb/ChangeLog:
2006-04-11 Jim Blandy <jimb@codesourcery.com>
* serial.c (serial_open): Check for special cases at the front of
the "device" name before scanning for the ':' that would indicate
an IP-based connection.
Nick Clifton [Tue, 11 Apr 2006 10:36:26 +0000 (10:36 +0000)]
* emultempl/elf32.em: Add support for elf-hints.h on FreeBSD and Dragonfly targets.
* configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
* Makefile.am (HFILES): Add elf-hints-local.h.
* elf-hints-local.h: New file.
* Makefile.in: Regenerate.
* configure: Regenerate.
Alan Modra [Tue, 11 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 11 Apr 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Christopher Faylor [Mon, 10 Apr 2006 21:43:45 +0000 (21:43 +0000)]
* win32-nat.c (open_symbol_file_object): New function.
(in_dynsym_resolve_code): Ditto.
(init_win32_ops): Fill in fields which ought not to be NULL.
DJ Delorie [Mon, 10 Apr 2006 21:19:14 +0000 (21:19 +0000)]
* m32c.opc (parse_unsigned_bitbase): Take a new parameter which
decides if this function accepts symbolic constants or not.
(parse_signed_bitbase): Likewise.
(parse_unsigned_bitbase8): Pass the new parameter.
(parse_unsigned_bitbase11): Likewise.
(parse_unsigned_bitbase16): Likewise.
(parse_unsigned_bitbase19): Likewise.
(parse_unsigned_bitbase27): Likewise.
(parse_signed_bitbase8): Likewise.
(parse_signed_bitbase11): Likewise.
(parse_signed_bitbase19): Likewise.
* m32c-asm.c: Regenerate.
H.J. Lu [Mon, 10 Apr 2006 19:05:31 +0000 (19:05 +0000)]
2006-04-10 H.J. Lu <hongjiu.lu@intel.com>
* lib/utils-lib.exp (default_binutils_run): Check exit status.
Bob Wilson [Mon, 10 Apr 2006 19:00:31 +0000 (19:00 +0000)]
* config/tc-xtensa.c (xg_assemble_vliw_tokens): Record loop target
symbols in RELAX[_CHECK]_ALIGN_NEXT_OPCODE frags.
(xtensa_fix_close_loop_end_frags): Use the recorded values instead of
decoding the loop instructions. Remove current_offset variable.
(xtensa_fix_short_loop_frags): Likewise.
(min_bytes_to_other_loop_end): Remove current_offset argument.
Christopher Faylor [Mon, 10 Apr 2006 16:13:01 +0000 (16:13 +0000)]
* win32-nat.c (do_win32_fetch_inferior_registers): Don't do anything with saved
context if __COPY_CONTEXT_SIZE is not defined.
(handle_output_debug_string): Ditto.
Daniel Jacobowitz [Mon, 10 Apr 2006 14:39:24 +0000 (14:39 +0000)]
* arm-linux-tdep.c (arm_linux_extract_return_value): Use gdb_byte.
Ben Elliston [Mon, 10 Apr 2006 03:59:57 +0000 (03:59 +0000)]
* MAINTAINERS (CGEN Maintainers): Remove myself.
Ben Elliston [Mon, 10 Apr 2006 00:41:43 +0000 (00:41 +0000)]
* contrib: Remove directory.
gdbadmin [Mon, 10 Apr 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 10 Apr 2006 00:00:07 +0000 (00:00 +0000)]
daily update
Arnold Metselaar [Sun, 9 Apr 2006 18:08:08 +0000 (18:08 +0000)]
removed z80_optimize_expr; redundant since 2006-04-04
David S. Miller [Sun, 9 Apr 2006 08:22:43 +0000 (08:22 +0000)]
* sparc64-linux-tdep.c (sparc64_linux_init_abi): Append dwarf2
frame sniffer.
* sparc-tdep.c (sparc32_gdbarch_init): Make sure to call
dwarf2_frame_set_init_reg() before gdbarch_init_osabi() so
that the latter can override.
* Makefile.in (sparc64-linux-tdep.o): Update dependencies.
Ulrich Weigand [Sun, 9 Apr 2006 01:21:15 +0000 (01:21 +0000)]
* s390-tdep.c (struct s390_prologue_data): New field 'stack'.
(s390_store): Call pv_area_store to track stack slots.
(s390_load): Call pv_area_fetch to track stack slots.
(s390_check_for_saved): New function.
(s390_analyze_prologue): Call pv_area_scan. Allocate and free stack.
Ulrich Weigand [Sun, 9 Apr 2006 00:26:08 +0000 (00:26 +0000)]
* Makefile.in (s390-tdep.o): Add dependency on $(prologue_value_h).
* s390-tdep.c: Include "prologue-value.h".
(struct prologue_value): Remove.
(pv_set_to_unknown, pv_set_to_constant, pv_set_to_register,
pv_constant_last, pv_add, pv_add_constant, pv_subtract,
pv_logical_and, pv_is_identical, pv_is_register): Remove.
(compute_x_addr): Remove, replace by ...
(s390_addr): ... this new function.
(struct s390_prologue_data): Use pv_t instead of prologue_value.
(s390_store, s390_load): Likewise.
(s390_prologue_frame_unwind_cache): Likewise.
(s390_analyze_prologue): Likewise. Also, simplify and combine
several conditional statements.
Alan Modra [Sun, 9 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 9 Apr 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Jim Blandy [Sat, 8 Apr 2006 23:40:03 +0000 (23:40 +0000)]
2006-04-08 Jim Blandy <jimb@codesourcery.com>
* Makefile.in (COMMON_OBS): List prologue-value.o. (Omitted from
last patch.)
H.J. Lu [Sat, 8 Apr 2006 22:57:22 +0000 (22:57 +0000)]
2006-04-08 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2513
* elf32-i386.c (GOT_TLS_MASK): New macro for tls_type.
(GOT_TLS_IE_IE): Likewise.
(GOT_TLS_IE_GD): Likewise.
(GOT_TLS_IE_MASK): Likewise.
(elf_i386_check_relocs): For global symbols, set GOT_TLS_IE_GD
and GOT_TLS_IE_IE for R_386_TLS_GD and R_386_TLS_IE
respectively.
(allocate_dynrelocs): If both GOT_TLS_IE_IE and GOT_TLS_IE_GD
are set, treat tls_type as GOT_TLS_IE_BOTH.
(elf_i386_relocate_section): Likewise.
David S. Miller [Sat, 8 Apr 2006 21:15:26 +0000 (21:15 +0000)]
* sparc64-linux-tdep.c (sparc64_linux_core_gregset,
sparc64_linux_supply_core_gregset,
sparc64_linux_collect_core_gregset,
sparc64_linux_supply_core_fpregset,
sparc64_linux_collect_core_fpregset): New.
(sparc64_linux_init_abi): Register them with generic sparc
core regset infrastructure.
* sparc32-linux-tdep.c (sparc32_linux_core_gregset,
sparc32_linux_supply_core_gregset,
sparc32_linux_collect_core_gregset,
sparc32_linux_supply_core_fpregset,
sparc32_linux_collect_core_fpregset): New.
(sparc32_linux_init_abi): Register them with generic sparc
core regset infrastructure.
* Makefile.in: Update dependencies.
David S. Miller [Sat, 8 Apr 2006 21:01:36 +0000 (21:01 +0000)]
* sparc-linux-tdep.c (sparc32_linux_step_trap): New.
(sparc32_linux_init_abi): Hook it into tdep->step_trap.
* sparc64-linux-tdep.c (sparc64_linux_step_trap): New.
(sparc64_linux_init_abi): Hook it into tdep->step_trap.
* Makefile.in: Update dependencies.
Hans-Peter Nilsson [Sat, 8 Apr 2006 17:37:56 +0000 (17:37 +0000)]
* cris/crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs.
Hans-Peter Nilsson [Sat, 8 Apr 2006 17:37:23 +0000 (17:37 +0000)]
* sim/cris/hw/rv-n-cris/irq6.ms: New test.
Alan Modra [Sat, 8 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 8 Apr 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
David S. Miller [Fri, 7 Apr 2006 23:34:26 +0000 (23:34 +0000)]
Fix typo in previous commit.
David S. Miller [Fri, 7 Apr 2006 21:42:33 +0000 (21:42 +0000)]
* linux-nat.c (linux_nat_thread_alive): Handle targets that
do not implement PTRACE_PEEKUSER.
Daniel Jacobowitz [Fri, 7 Apr 2006 16:15:58 +0000 (16:15 +0000)]
* remote.c (remote_wait): Convert warning to error before
parsing corrupt packets.
Nick Clifton [Fri, 7 Apr 2006 15:18:08 +0000 (15:18 +0000)]
Add support for attiny261, attiny461, attiny861, attiny25, attiny45,
attiny85, attiny24, attiny44, attiny84, at90pwm2, at90pwm3, atmega164,
atmega324, atmega644, atmega329, atmega3290, atmega649, atmega6490,
atmega406, atmega640, atmega1280, atmega1281, at90can32, at90can64,
at90usb646, at90usb647, at90usb1286 and at90usb1287.
Move atmega48 and atmega88 from AVR_ISA_M8 to AVR_ISA_PWMx.
Paul Brook [Fri, 7 Apr 2006 15:11:19 +0000 (15:11 +0000)]
2006-04-07 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (parse_operands): Set default error message.
Paul Brook [Fri, 7 Apr 2006 15:09:40 +0000 (15:09 +0000)]
2006-04-07 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (parse_tb): Set inst.error before returning FAIL.
Paul Brook [Fri, 7 Apr 2006 15:08:04 +0000 (15:08 +0000)]
2006-04-07 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (md_apply_fix): Set H bit on blx instruction.
gas/testsuite/
* gas/arm/blx-local.d: New test.
* gas/arm/blx-local.d: New test.
Paul Brook [Fri, 7 Apr 2006 15:03:45 +0000 (15:03 +0000)]
2006-04-07 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (THUMB2_LOAD_BIT): Define.
(move_or_literal_pool): Handle Thumb-2 instructions.
(do_t_ldst): Call move_or_literal_pool for =N addressing modes.
gas/testsuite/
* gas/arm/thumb2_pool.d: New test.
* gas/arm/thumb2_pool.s: New test.
Nick Clifton [Fri, 7 Apr 2006 14:55:29 +0000 (14:55 +0000)]
* elf64-hppa.c (elf64_hppa_grok_prstatus): New function.
(elf64_hppa_grok_psinfo): Likewise.
(elf_backend_grok_pstatus, elf_backend_grok_psinfo): Define.
Nick Clifton [Fri, 7 Apr 2006 14:14:46 +0000 (14:14 +0000)]
Fix typo in documentation of --check-sections.
Andrew Stubbs [Fri, 7 Apr 2006 13:31:15 +0000 (13:31 +0000)]
2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
gdb/
* cli/cli-script.c (struct user_args): Add command field.
(arg_cleanup): Free command string.
(setup_user_args): Copy the command line before relying on it.
gdb/testsuite/
* gdb.base/commands.exp (recursive_source_test): New test.
Kaz Kojima [Fri, 7 Apr 2006 07:03:51 +0000 (07:03 +0000)]
* ldlang.c (load_symbols): Set as_needed and add_needed according
to the corresponding script's fields while processing it.
Alan Modra [Fri, 7 Apr 2006 06:40:57 +0000 (06:40 +0000)]
PR 2512.
* config/tc-i386.c (match_template): Move 64-bit operand tests
inside loop.
DJ Delorie [Fri, 7 Apr 2006 01:08:34 +0000 (01:08 +0000)]
* elf32-m32c.c (m32c_elf_relocate_section): Generate a symbol for
each plt entry we create.
DJ Delorie [Fri, 7 Apr 2006 00:01:28 +0000 (00:01 +0000)]
merge from gcc
Alan Modra [Fri, 7 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 7 Apr 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Carlos O'Donell [Thu, 6 Apr 2006 21:49:35 +0000 (21:49 +0000)]
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.tpl: Add install-html target.
* Makefile.def: Add install-html target.
* Makefile.in: Regenerate.
* configure.in: Add --with-datarootdir, --with-docdir,
and --with-htmldir options.
* configure: Regenerate.
bfd/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Rename docdir to bfddocdir. Add datarootdir, docdir
htmldir. Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST for datarootdir, docdir and htmldir.
* configure: Regenerate.
bfd/doc/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html and install-html-am targets.
Define datarootdir, docdir and htmldir.
* Makefile.in: Regenerate.
binutils/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir and htmldir.
* configure: Regenerate.
* doc/Makefile.am: Add install-html and install-html-am targets.
* doc/Makefile.in: Regenerate.
etc/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.in: Add install-html target. Add htmldir,
docdir and datarootdir.
* configure.texi: Document install-html target.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
gas/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
* doc/Makefile.am: Add install-html and install-html-am targets.
* doc/Makefile.in: Regenerate.
gprof/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html, install-html-am and
install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
intl/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* intl/Makefile.in: Add html info and dvi and install-html to .PHONY
Add install-html target.
ld/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html, install-html-am, and
install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
* po/Make-in: Add install-html target.
opcodes/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html target.
* Makefile.in: Regenerate.
H.J. Lu [Thu, 6 Apr 2006 18:52:46 +0000 (18:52 +0000)]
bfd/
2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_relax_section): Skip unneeded passes
with the skip_relax_pass_0 and skip_relax_pass_1 bits in the
section structure.
include/
2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
* bfdlink.h (bfd_link_info): Replace need_relax_finalize with
relax_pass.
ld/
2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
link_info.need_relax_finalize.
* ldlang.c (relax_sections): New.
(lang_process): Use. Call relax_sections link_info.relax_pass
times.
* ldmain.c (main): Set link_info.relax_pass to 1. Remove
link_info.need_relax_finalize.
Joel Brobecker [Thu, 6 Apr 2006 18:33:05 +0000 (18:33 +0000)]
* breakpoint.c (_initialize_breakpoint): Add "del" as an alias
of the "delete" command.
Randolph Chung [Thu, 6 Apr 2006 15:12:47 +0000 (15:12 +0000)]
2006-04-06 Randolph Chung <tausq@debian.org>
* MAINTAINERS (Patch champions): Add myself.
Bernd Schmidt [Thu, 6 Apr 2006 11:45:01 +0000 (11:45 +0000)]
* elf32-bfin.c (bfinfdpic_relocs_info_hash): Sprinkle casts to
eliminate warnings.
Nick Clifton [Thu, 6 Apr 2006 10:09:41 +0000 (10:09 +0000)]
Updated Vietnamese translation.
Alan Modra [Thu, 6 Apr 2006 04:38:33 +0000 (04:38 +0000)]
* frags.c (frag_offset_fixed_p): Reinitialise offset before
second scan.
Alan Modra [Thu, 6 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 6 Apr 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Andreas Schwab [Wed, 5 Apr 2006 21:51:11 +0000 (21:51 +0000)]
* Makefile.in: Update dependencies.
H.J. Lu [Wed, 5 Apr 2006 21:12:06 +0000 (21:12 +0000)]
2006-04-05 H.J. Lu <hongjiu.lu@intel.com>
James E Wilson <wilson@specifixinc.com>
PR ld/2442
* elfxx-ia64.c (elfNN_ia64_dyn_sym_info): Remove next.
(elfNN_ia64_local_hash_entry): Add count, sorted_count and
size.
(elfNN_ia64_link_hash_entry): Likewise.
(elfNN_ia64_new_elf_hash_entry): Initialize count, sorted_count
and size.
(elfNN_ia64_hash_copy_indirect): Updated elfNN_ia64_dyn_sym_info
processing.
(elfNN_ia64_hash_hide_symbol): Likewise.
(elfNN_ia64_global_dyn_sym_thunk): Likewise.
(elfNN_ia64_local_dyn_sym_thunk): Likewise.
(elfNN_ia64_global_dyn_info_free): New function.
(elfNN_ia64_local_dyn_info_free): Likewise.
(elfNN_ia64_hash_table_free): Free local and global
elfNN_ia64_dyn_sym_info.
(addend_compare): New function.
(sort_dyn_sym_info): Likewise.
(get_dyn_sym_info): Updated to use binary search for addend.
(elfNN_ia64_check_relocs): Scan relocations to create dynamic
relocation arrays first.
Bernd Schmidt [Wed, 5 Apr 2006 20:46:15 +0000 (20:46 +0000)]
Fix -Werror problem in previous change.
David S. Miller [Wed, 5 Apr 2006 20:27:08 +0000 (20:27 +0000)]
* sparc-linux-tdep.c (sparc32_linux_init_abi): Append
dwarf2 frame sniffer.
* Makefile.in (sparc-linux-tdep.o): Update dependencies.
David S. Miller [Wed, 5 Apr 2006 20:01:19 +0000 (20:01 +0000)]
* dwarf2-frame.c (dwarf2_frame_ops init_reg): Add "next_frame"
argument.
(dwarf2_frame_default_init_reg): Likewise.
(dwarf2_frame_set_init_reg): Update init_reg arg.
(dwarf2_frame_init_reg): Take "next_frame" and pass it to
ops->init_reg().
(dwarf2_frame_cache): Pass next_frame to dwarf2_frame_init_reg.
* dwarf2-frame.h (dwarf2-frame_set_init_reg): Update declaration.
* cris-tdep.c (cris_dwarf2_frame_init_reg): Add next_frame arg.
* s390-tdep.c (s390_dwarf2_frame_init_reg): Likewise.
* sh-tdep.c (sh_dwarf2_frame_init_reg): Likewise.
* sparc64-tdep.c (sparc64_dwarf2_frame_init_reg): Likewise.
* sparc-tdep.c (sparc32_struct_return_from_sym): New function.
(sparc32_frame_cache): Call it.
(sparc32_dwarf2_struct_return_p): New function.
(sparc_dwarf2_frame_init_reg): Use it to determine if the function
returns a structure and thus we have to indicate the return PC and
NPC are 4 bytes later than usual.
Bernd Schmidt [Wed, 5 Apr 2006 19:57:36 +0000 (19:57 +0000)]
* elf32-bfin.c (_bfin_create_got_section): Don't generate a _gp
symbol.
David S. Miller [Wed, 5 Apr 2006 19:19:12 +0000 (19:19 +0000)]
* sparc-linux-tdep.c (sparc32_linux_sigframe_init): Pull register
window out of the correct stack frame.
* sparc64-linux-tdep.c (sparc64_linux_sigframe_init): Likewise.
David S. Miller [Wed, 5 Apr 2006 18:35:39 +0000 (18:35 +0000)]
* sparc-tdep.c (sparc32_dwarf2_frame_init_reg): New.
(sparc32_gdbarch_init): Pass it to dwarf2_frame_set_init_reg.
* Makefile.in (sparc-tdep.o): Update dependencies.
Eric Botcazou [Wed, 5 Apr 2006 16:12:01 +0000 (16:12 +0000)]
* addr2line.c (long_options): Add new option 'section'.
(usage): Document new -j/--section option.
(find_offset_in_section): New function.
(translate_addresses): Add 'section' parameter.
If it is non-null, call find_offset_in_section on it.
(process_file): Add 'section_name' parameter.
If it is non-null, look for the section in the BFD object.
Pass the section to translate_addresses.
(main): Handle new -j option.
Pass the section name to process_file.
* doc/binutils.texi (addr2line): Document new -j/--section option.
Alan Modra [Wed, 5 Apr 2006 15:40:40 +0000 (15:40 +0000)]
* Makefile.am (GENSCRIPTS): Pass prefix.
* Makefile.in: Regenerate.
* genscripts.sh: Adjust for extra parameter.
* emultempl/elf32.em (parse_ld_so_conf): Return true iff file
exists.
(check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
* NEWS: Update.
H.J. Lu [Wed, 5 Apr 2006 13:37:32 +0000 (13:37 +0000)]
2006-04-05 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2411
* elflink.c (check_dynsym): New.
(elf_link_output_extsym): Use it.
(bfd_elf_final_link): Likewise.
H.J. Lu [Wed, 5 Apr 2006 13:36:32 +0000 (13:36 +0000)]
2006-04-05 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2404
* elflink.c (_bfd_elf_merge_symbol): Skip the default indirect
symbol from the dynamic definition with the default version if
its type and the type of existing regular definition mismatch.