Commit Graph

52231 Commits

Author SHA1 Message Date
Daniel Jacobowitz 32a5b2f1dd * remote.c (remote_pid_to_str): Capitalize "Thread". 2006-10-17 15:43:51 +00:00
Mark Shinwell bb224fc379 * elf32-arm.c (elf32_arm_final_link_relocate): Add cases
for R_ARM_ABS32_NOI and R_ARM_REL32_NOI.
	(elf32_arm_gc_sweep_hook): Likewise.
	(elf32_arm_check_relocs): Likewise.
	(allocate_dynrelocs): Likewise.
2006-10-17 14:49:51 +00:00
H.J. Lu e1b5fdd47d 2006-10-17 H.J. Lu <hongjiu.lu@intel.com>
* configure: Regenerated.
2006-10-17 14:06:02 +00:00
Alan Modra 5a8e7be242 * scripttempl/elf.sc (INTERP): Delete. Move definition to..
(INITIAL_READONLY_SECTIONS): ..here.
	* emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
	* emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
	* emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.
2006-10-17 13:55:11 +00:00
Alan Modra 74541ad4c0 bfd/
* 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-17 13:41:49 +00:00
Martin Schwidefsky 2164320415 Really remove operands64.d, operands64.s, operands.d and operands.s as
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 13:15:01 +00:00
Bob Wilson 263e594b90 * gprof.c (main): Fix option string for -C, -n and -N. 2006-10-17 04:45:32 +00:00
DJ Delorie 56a8fe780f 2006-10-17 Brooks Moses <bmoses@stanford.edu>
* Makefile.def: Added pdf target handling.
* Makefile.tpl: Added pdf target handling.
* Makefile.in: Regenerated.
2006-10-17 04:23:49 +00:00
gdbadmin aac509a07f *** empty log message *** 2006-10-17 00:00:32 +00:00
Alan Modra b24feb0695 daily update 2006-10-16 23:59:13 +00:00
Richard Sandiford 94bb04b3c6 ld/
* 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-16 21:34:25 +00:00
H.J. Lu b8da4ba61a 2006-10-16 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Indent "x86-64-nops-1".
2006-10-16 21:24:00 +00:00
Andreas Schwab c26620e342 * elfxx-ia64.c (addend_compare): Properly compute return value. 2006-10-16 17:21:44 +00:00
Bernd Schmidt f8ef9cd77b * input-scrub.c (input_scrub_next_buffer): Use TC_EOL_IN_INSN
in addition to testing for '\n'.
	(TC_EOL_IN_INSN): Provide a default definition if necessary.
2006-10-16 12:02:40 +00:00
Daniel Jacobowitz 9b7194bcb4 PR remote/2158
* remote.c (remote_write_bytes): Throttle packet alignment
	for small packets.
2006-10-16 03:08:37 +00:00
gdbadmin c88c804ea4 *** empty log message *** 2006-10-16 00:00:02 +00:00
Alan Modra f0c9511123 daily update 2006-10-15 23:59:14 +00:00
Eli Zaretskii 45ac17341e * gdb.texinfo (Signals, Set Breaks, Set Watchpoints): Document optional
arguments to `info signals'  `handle', `info breakpoints', and
	`info watchpoints'.
2006-10-15 21:36:00 +00:00
Eli Zaretskii c8aa23ab92 * gdb.texinfo (Sample Session, Invocation, Quitting GDB)
(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 21:19:49 +00:00
Nick Roberts 1111f4aa91 (thread_db_wait): Don't bother continuing if the wait result indicates the
program terminated with a signal (from gdb-6.3-ia64-sigill-20051115.patch, a
patch for Fedora Core 5).
2006-10-15 19:38:45 +00:00
Nick Roberts b255021abc *** empty log message *** 2006-10-15 19:37:49 +00:00
H.J. Lu 3ba7113878 2006-10-15 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3314
	* elf.c (assign_file_positions_for_non_load_sections): Don't
	page align empty SHF_ALLOC sections.
2006-10-15 14:22:13 +00:00
gdbadmin 706bae0be6 *** empty log message *** 2006-10-15 00:00:32 +00:00
Alan Modra 9436902388 daily update 2006-10-14 23:59:18 +00:00
Eli Zaretskii e7109c7e3b * gdb.texinfo (Backtrace): Fix last change. 2006-10-14 18:34:03 +00:00
Nick Roberts dd74f6ae66 (Backtrace): Order correctly and add other cases. 2006-10-14 00:21:13 +00:00
Nick Roberts de3aea7bdd *** empty log message *** 2006-10-14 00:20:02 +00:00
gdbadmin 0cd39e2e24 *** empty log message *** 2006-10-14 00:00:09 +00:00
Alan Modra 462d6fd48f daily update 2006-10-13 23:59:16 +00:00
Jakub Jelinek 7eeb1be681 * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_sections): Set
.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 21:03:40 +00:00
Nick Clifton eb1fe072ef * dwarf2dbg.c (out_debug_info): Use TC_DWARF2_EMIT_OFFSET to emit a disjoint DW_AT range. 2006-10-13 11:36:03 +00:00
Nick Clifton f9c026a85b PR binutils/2876
* 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 09:43:29 +00:00
Nick Clifton ec6e49f44c * config/tc-score.c (md_show_usage): Print -KPIC option usage. 2006-10-13 06:55:50 +00:00
Joel Brobecker 3e4d11fe10 Add in one of the previous entries the fact that the change was to
fix PR symtab/2018.
2006-10-13 02:40:47 +00:00
gdbadmin 81a724a85f *** empty log message *** 2006-10-13 00:00:33 +00:00
Alan Modra d0d6691428 daily update 2006-10-12 23:59:17 +00:00
Bob Wilson a77dc2cc26 bfd/
* 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 21:56:19 +00:00
Daniel Jacobowitz 8c008720eb * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp. 2006-10-12 19:03:22 +00:00
gdbadmin 78af1e2086 *** empty log message *** 2006-10-12 00:00:34 +00:00
Alan Modra ea5f55e401 daily update 2006-10-11 23:59:20 +00:00
Bob Wilson 3c173cb121 * emulparams/elf32xtensa.sh (TEXT_PLT): Enable.
(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 22:18:31 +00:00
Bob Wilson bf1747ded8 * elf32-xtensa.c (elf_xtensa_relocate_section): Return after
unresolvable relocation error.
	(elf_xtensa_finish_dynamic_symbol): Set value of undefined, weak
	symbols to zero.
2006-10-11 22:16:50 +00:00
Jeff Johnston fbb00ad021 2006-10-11 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Updated.
        * COPYING.LIBGLOSS: Ditto.
2006-10-11 19:30:34 +00:00
Daniel Jacobowitz 366da635ba * dwarf2read.c (dwarf_decode_lines): Call record_line upon
encountering a different subfile.
2006-10-11 15:39:35 +00:00
Jakub Jelinek 07806542d5 * ldlang.c (lang_append_dynamic_list): When appending, add all elements
of the dynamic list rather than just the first entry.
2006-10-11 14:58:19 +00:00
Frederic Riss 861cf606cb 2006-10-11 Denis Pilat <denis.pilat@st.com>
* tui/tui-source.c (tui_set_source_content): handle source
	files that contain non unix end-of-line.
2006-10-11 10:50:07 +00:00
DJ Delorie bff368bd19 merge from gcc 2006-10-11 00:29:35 +00:00
gdbadmin 505cb5c701 *** empty log message *** 2006-10-11 00:00:03 +00:00
Alan Modra 9b7d037ce6 daily update 2006-10-10 23:59:19 +00:00
Bob Wilson ba05963f0d bfd/
* 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 20:57:37 +00:00