aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-10-17bfd/Alan Modra96-431/+751
* elf-bfd.h (struct elf_link_hash_table): Reorder. Add text_index_section and data_index_section. (struct elf_backend_data): Add elf_backend_init_index_section. (_bfd_elf_init_1_index_section): Declare. (_bfd_elf_init_2_index_sections): Declare. * elfxx-target.h (elf_backend_init_index_section): Define. (elfNN_bed): Init new field. * elflink.c (_bfd_elf_link_omit_section_dynsym): Keep first tls section and text_index_section plus data_index_section. (_bfd_elf_link_renumber_dynsyms): Clear dynindx on omitted sections. (_bfd_elf_init_1_index_section): New function. (_bfd_elf_init_2_index_sections): New function. (bfd_elf_size_dynsym_hash_dynstr): Call elf_backend_init_index_section. (elf_link_input_bfd): When emitting relocs, use text_index_section and data_index_section for removed sections. * elf-m10300.c (elf_backend_omit_section_dynsym): Define. * elf32-i386.c: Likewise. * elf32-m32r.c: Likewise. * elf32-sh.c: Likewise. * elf32-xstormy16.c: Likewise. * elf32-xtensa.c: Likewise. * elf64-alpha.c: Likewise. * elf64-hppa.c: Likewise. * elf64-mmix.c: Likewise. * elf64-sh64.c: Likewise. * elfxx-ia64.c: Likewise. * elf32-arm.c (elf32_arm_final_link_relocate): Use text_index_section and data_index_section sym for relocs against sections with no dynamic section sym. (elf_backend_init_index_section): Define. * elf32-cris.c: Similarly. * elf32-hppa.c: Similarly. * elf32-i370.c: Similarly. * elf32-m68k.c: Similarly. * elf32-mips.c: Similarly. * elf32-ppc.c: Similarly. * elf32-s390.c: Similarly. * elf32-sparc.c: Similarly. * elf32-vax.c: Similarly. * elf64-mips.c: Similarly. * elf64-ppc.c: Similarly. * elf64-s390.c: Similarly. * elf64-sparc.c: Similarly. * elf64-x86-64.c: Similarly. * elfn32-mips.c: Similarly. * elfxx-mips.c: Similarly. * elfxx-sparc.c: Similarly. * linker.c (fix_syms): Base symbols in removed sections on previous section in preference to using absolute section. ld/ * ldlang.c (strip_excluded_output_sections): Do strip sections that define syms, but don't ignore them. * ld.texinfo (Output Section Discarding): Revise. * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call finish_default. ld/testsuite/ Update for section sym changes.
2006-10-17Really remove operands64.d, operands64.s, operands.d and operands.s asMartin Schwidefsky4-59/+0
stated in the ChangeLog 2005/08/12: * gas/testsuite/gas/s390/opcode.d: Delete. * gas/testsuite/gas/s390/opcode.s: Delete. * gas/testsuite/gas/s390/opcode64.d: Delete. * gas/testsuite/gas/s390/opcode64.s: Delete.
2006-10-17 * gprof.c (main): Fix option string for -C, -n and -N.Bob Wilson2-1/+5
2006-10-172006-10-17 Brooks Moses <bmoses@stanford.edu>DJ Delorie4-92/+2467
* Makefile.def: Added pdf target handling. * Makefile.tpl: Added pdf target handling. * Makefile.in: Regenerated.
2006-10-17*** empty log message ***gdbadmin1-1/+1
2006-10-16daily updateAlan Modra1-1/+1
2006-10-16ld/Richard Sandiford14-40/+67
* Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh. (eelf64btsmip.c, eelf64ltsmip.c): Likewise. * Makefile.in: Regenerate. * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include .reginfo rather than .MIPS.options. * emulparams/elf64bmip-defs.sh: New file. * emulparams/elf64bmip.sh: Include it. (COMMONPAGESIZE): Delete. * emulparams/elf64btsmip.sh: As for elf64bmip.sh. ld/testsuite/ * ld-mips-elf/branch-misc-1.d: Set the start address to 0x20000000. * ld-mips-elf/jalbal.d: Likewise 0x200000a0. * ld-mips-elf/jaloverflow-2.d: Likewise 0x20000000. * ld-mips-elf/reloc-3-n32.d: Likewise. * ld-mips-elf/reloc-3.d: Likewise. * ld-mips-elf/textrel-1.d: Don't require a specific file offset for .dynamic.
2006-10-162006-10-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* gas/i386/i386.exp: Indent "x86-64-nops-1".
2006-10-16 * elfxx-ia64.c (addend_compare): Properly compute return value.Andreas Schwab2-1/+5
2006-10-16 * input-scrub.c (input_scrub_next_buffer): Use TC_EOL_IN_INSNBernd Schmidt2-3/+16
in addition to testing for '\n'. (TC_EOL_IN_INSN): Provide a default definition if necessary.
2006-10-16 PR remote/2158Daniel Jacobowitz2-2/+9
* remote.c (remote_write_bytes): Throttle packet alignment for small packets.
2006-10-16*** empty log message ***gdbadmin1-1/+1
2006-10-15daily updateAlan Modra1-1/+1
2006-10-15 * gdb.texinfo (Signals, Set Breaks, Set Watchpoints): Document optionalEli Zaretskii2-4/+13
arguments to `info signals' `handle', `info breakpoints', and `info watchpoints'.
2006-10-15 * gdb.texinfo (Sample Session, Invocation, Quitting GDB)Eli Zaretskii2-26/+36
(Command Syntax, Signals, Backtrace, Connecting) (Remote configuration, Renesas Boards, Console I/O): Fix last change: use Ctrl- instead of C-, except wrt Emacs. (File-I/O Examples): Put Ctrl-c in @kbd. (Cygwin Native, File-I/O Overview, The Ctrl-C message) (Console I/O): Use @samp with Ctrl-.
2006-10-15(thread_db_wait): Don't bother continuing if the wait result indicates theNick Roberts1-1/+2
program terminated with a signal (from gdb-6.3-ia64-sigill-20051115.patch, a patch for Fedora Core 5).
2006-10-15*** empty log message ***Nick Roberts1-0/+7
2006-10-152006-10-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-5/+12
PR ld/3314 * elf.c (assign_file_positions_for_non_load_sections): Don't page align empty SHF_ALLOC sections.
2006-10-15*** empty log message ***gdbadmin1-1/+1
2006-10-14daily updateAlan Modra1-1/+1
2006-10-14 * gdb.texinfo (Backtrace): Fix last change.Eli Zaretskii2-1/+6
2006-10-14(Backtrace): Order correctly and add other cases.Nick Roberts1-1/+3
2006-10-14*** empty log message ***Nick Roberts1-0/+4
2006-10-14*** empty log message ***gdbadmin1-1/+1
2006-10-13daily updateAlan Modra1-1/+1
2006-10-13 * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_sections): SetJakub Jelinek2-1/+9
.plt sh_entsize to 0 if plt header size isn't multiple of plt entry size or for 32-bit which adds a nop insn at the end of the .plt section.
2006-10-13* dwarf2dbg.c (out_debug_info): Use TC_DWARF2_EMIT_OFFSET to emit a disjoint ↵Nick Clifton2-7/+8
DW_AT range.
2006-10-13PR binutils/2876Nick Clifton8-5/+324
* configure.in: Check for the mkstemp and mkdtemp functions. * configure: Regenerate. * config.in (HAVE_MKDTEMP): New potential define. (MAKE_MKSTEMP): Likewise. * bucomm.c (make_tempname): Use mkstemp if it is available. * make_tempdir): New function: Create a temporary directory using mkdtemp, if it is available. * bucomm.h (make_tempdir): New prototype. * objcopy.c (copy_archive): Use make_tempdir if it is available. (strip_main): Produce an warning message if a temporary file could not be (copy_main): Likewise. * ar.c (write_archive): Likewise.
2006-10-13 * config/tc-score.c (md_show_usage): Print -KPIC option usage.Nick Clifton2-2/+8
2006-10-13Add in one of the previous entries the fact that the change was toJoel Brobecker1-0/+1
fix PR symtab/2018.
2006-10-13*** empty log message ***gdbadmin1-1/+1
2006-10-12daily updateAlan Modra1-1/+1
2006-10-12bfd/Bob Wilson4-7/+36
* elf32-xtensa.c (elf_xtensa_action_discarded): New. (elf_backend_action_discarded): Define. ld/ * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check for linkonce XCC exception tables (".e" and ".h").
2006-10-12 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.Daniel Jacobowitz3-3/+8
2006-10-12*** empty log message ***gdbadmin1-1/+1
2006-10-11daily updateAlan Modra1-1/+1
2006-10-11 * emulparams/elf32xtensa.sh (TEXT_PLT): Enable.Bob Wilson3-28/+98
(OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections. (OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections. (OTHER_SDATA_SECTIONS): New. * scripttempl/elfxtensa.sc: Import changes from elf.sc.
2006-10-11 * elf32-xtensa.c (elf_xtensa_relocate_section): Return afterBob Wilson2-9/+24
unresolvable relocation error. (elf_xtensa_finish_dynamic_symbol): Set value of undefined, weak symbols to zero.
2006-10-112006-10-11 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-400/+123
* COPYING.NEWLIB: Updated. * COPYING.LIBGLOSS: Ditto.
2006-10-11 * dwarf2read.c (dwarf_decode_lines): Call record_line uponDaniel Jacobowitz2-3/+26
encountering a different subfile.
2006-10-11 * ldlang.c (lang_append_dynamic_list): When appending, add all elementsJakub Jelinek2-1/+9
of the dynamic list rather than just the first entry.
2006-10-112006-10-11 Denis Pilat <denis.pilat@st.com>Frederic Riss2-0/+13
* tui/tui-source.c (tui_set_source_content): handle source files that contain non unix end-of-line.
2006-10-11merge from gccDJ Delorie3-3/+12
2006-10-11*** empty log message ***gdbadmin1-1/+1
2006-10-10daily updateAlan Modra1-1/+1
2006-10-10bfd/Bob Wilson4-3/+12
* elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Add DT_DEBUG for PIE executables. ld/ * emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
2006-10-10 * gdb.texinfo (Command Syntax, Connecting, Remote configuration,Bob Wilson2-13/+19
Renesas Boards, ST2000, TUI Keys, TUI Single Key Mode, TUI Commands, Emacs, Console I/O): Fix @key and @kbd usage.
2006-10-10Avoid multiple definition errors from linkonce sections.Ian Lance Taylor5-33/+64
2006-10-10 * ser-mingw.c (free_pipe_state, pipe_wait_handle): UpdateDaniel Jacobowitz2-13/+46
for changes to pipe_select_thread. (pipe_done_wait_handle): New. (_initialize_ser_windows): Reference it.
2006-10-10 * dwarf.c (display_debug_loc): Don't dereference loc_offsets whenAndreas Schwab2-2/+10
there are no location lists. (display_debug_ranges): Similar for range_lists.