Richard Sandiford
f3b1e08efe
* configure.ac (mipsisa*-*-elfoabi*): New stanza.
...
* configure: Regenerate.
config/
* mt-mips-elfoabi: New file.
2007-09-20 20:03:31 +00:00
Ian Lance Taylor
8c838dbd52
Fix comment.
2007-09-20 19:31:54 +00:00
H.J. Lu
db51cc60e2
gas/
...
2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
PR 658
* config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Removed.
(set_allow_index_reg): New.
(allow_index_reg): Likewise.
(md_pseudo_table): Add "allow_index_reg" and
"disallow_index_reg".
(build_modrm_byte): Set i.sib.index to NO_INDEX_REGISTER for
fake index registers.
(i386_scale): Updated.
(i386_index_check): Support fake index registers.
(parse_real_register): Return NULL on eiz/riz if fake index
registers aren't allowed.
gas/testsuite/
2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
PR 658
* gas/i386/i386.exp: Run sib-intel, x86-64-sib and
x86-64-sib-intel.
* gas/i386/nops-1-i386-i686.d: Updated.
* gas/i386/nops-1-i386.d: Likewise.
* gas/i386/nops-1.d: Likewise.
* gas/i386/nops-2-i386.d: Likewise.
* gas/i386/nops-2-merom.d: Likewise.
* gas/i386/nops-2.d: Likewise.
* gas/i386/nops-3-i386.d: Likewise.
* gas/i386/nops-3.d : Likewise.
* gas/i386/sib.d: Likewise.
* gas/i386/sib.s: Use %eiz in testcases.
* gas/i386/sib-intel.d: New.
* gas/i386/x86-64-sib-intel.d: Likewise.
* gas/i386/x86-64-sib.d: Likewise.
* gas/i386/x86-64-sib.s: Likewise.
ld/testsuite/
2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
PR 658
* ld-i386/tlsbin.dd: Updated.
* ld-i386/tlsld1.dd: Likewise.
opcodes/
2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
PR 658
* 386-dis.c (index64): New.
(index32): Likewise.
(intel_index64): Likewise.
(intel_index32): Likewise.
(att_index64): Likewise.
(att_index32): Likewise.
(print_insn): Set index64 and index32.
(OP_E_extended): Use index64/index32 for index register for
SIB with INDEX == 4.
* i386-opc.h (RegEiz): New.
(RegRiz): Likewise.
* i386-reg.tbl: Add eiz and riz.
* i386-tbl.h: Regenerated.
2007-09-20 17:38:38 +00:00
Maciej W. Rozycki
97ab0fdd9d
* mips-tdep.c (mips32_in_function_epilogue_p): New function.
...
(mips16_in_function_epilogue_p): Likewise.
(mips_in_function_epilogue_p): Likewise.
(mips_gdbarch_init): Register mips_in_function_epilogue_p().
2007-09-20 15:34:19 +00:00
Nick Clifton
217fe99f7d
Oops, omitted from prevbious delta
2007-09-20 07:54:35 +00:00
Ian Lance Taylor
cba134d613
From Cary Coutant: only check for a linkonce section if the SHF_GROUP
...
flag is clear.
2007-09-20 06:02:06 +00:00
Ian Lance Taylor
a93d6d0708
Rework patch to check by both armap entry and archive offset. Also,
...
preserve information for --group.
2007-09-20 05:56:14 +00:00
Ian Lance Taylor
e243ffc667
From Craig Silverstein: rework seen handling to be based on archive
...
offsets rather than entries in archive symbol table.
2007-09-20 05:43:14 +00:00
Alan Modra
20e96b3e5d
daily update
2007-09-20 00:00:05 +00:00
gdbadmin
ea3c290040
*** empty log message ***
2007-09-20 00:00:02 +00:00
Ian Lance Taylor
e698bc313f
Add support for returning the section type.
2007-09-19 23:51:52 +00:00
Ian Lance Taylor
192f9b8501
Fix handling of --eh-frame-hdr option.
2007-09-19 23:50:56 +00:00
Joel Brobecker
01fe12f6fb
* configure.ac: Add check for "etext".
...
* configure, config.in: Regenerate.
* maint.c (TEXTEND): Only define if either _etext or etext
are available.
Disable the profiling functionality if TEXTEND is not defined.
2007-09-19 22:00:34 +00:00
Ian Lance Taylor
bc56b3fb3a
Note that a Stringpool keeps a copy of a string.
2007-09-19 20:44:15 +00:00
Bob Wilson
e055a93133
* doc/c-xtensa.texi (Xtensa Immediate Relaxation): Fix "addi" typo.
2007-09-19 20:37:37 +00:00
H.J. Lu
0f7da3979d
gas/testsuite/gas/
...
2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/intelok.s: Add tests for memory without base.
* gas/i386/intelok.d: Updated.
* gas/i386/intelok.e: Likewise.
opcodes/
2007-09-19 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (OP_E_extended): Always display scale for memory.
2007-09-19 17:52:21 +00:00
Ian Lance Taylor
835965e646
Better comments for Stringpool.
2007-09-19 17:38:00 +00:00
Daniel Jacobowitz
b55fd4d45d
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Make sure .got
...
will be output.
2007-09-19 16:21:59 +00:00
Nick Clifton
550c188837
* config/tc-h8300.c (md_apply_fix): Do not abort or handle 8 byte fixups.
2007-09-19 15:25:13 +00:00
Daniel Jacobowitz
aa6c981f95
* mips-tdep.c (mips_stub_frame_cache): Correct the saved return
...
address register. Correct the call to frame_id_build.
(mips_stub_frame_sniffer): Use the stub unwinder when the PC
is invalid.
2007-09-19 14:45:39 +00:00
Daniel Jacobowitz
fd462a6189
* linux-low.c (O_LARGEFILE): Define.
...
(linux_read_memory): Use /proc/PID/mem.
* configure.ac: Use AC_GNU_SOURCE. Check for pread64.
* configure, config.in: Regenerated.
2007-09-19 14:41:50 +00:00
Alan Modra
a69898aad0
* bfd-in.h (bfd_hash_insert): Declare.
...
* bfd-in2.h: Regenerate.
* hash.c (bfd_hash_insert): New function. Split out from..
(bfd_hash_lookup): ..here.
* merge.c (sec_merge_hash_lookup): Use bfd_hash_insert.
2007-09-19 12:08:34 +00:00
Nick Clifton
4dcdce139f
* ld-scripts/crossref.exp: Compile test source with -mtiny=0 in order to
...
prevent the use of the small data area.
2007-09-19 09:22:07 +00:00
Ian Lance Taylor
86f2e68346
Let special symbols override existing symbols rather than
...
reinitializing them.
2007-09-19 06:02:29 +00:00
Ian Lance Taylor
8ae3da9046
Add control over template specialization.
2007-09-19 06:01:35 +00:00
Alan Modra
f81c953f3a
daily update
2007-09-19 00:00:06 +00:00
gdbadmin
039cfc074b
*** empty log message ***
2007-09-19 00:00:02 +00:00
Joel Brobecker
393129712f
* ia64-tdep.c (refine_prologue_limit): Make sure we don't scan
...
the linetable past the function end.
2007-09-18 23:46:04 +00:00
Jim Wilson
558dc30aec
Update my email address.
2007-09-18 21:13:03 +00:00
Jim Wilson
2e2973de8b
Update email address.
2007-09-18 21:10:41 +00:00
Jerome Guitton
60e2c248bc
* inf-ttrace.c (inf_ttrace_private_thread_info): New structure type.
...
(inf_ttrace_delete_dying_threads_callback): New function.
(inf_ttrace_resume): After resuming the execution, iterate over
the dying threads to delete them for the thread list.
(inf_ttrace_wait): on TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE,
mark the corresponding thread as dying instead of removing it
from the thread list.
(inf_ttrace_thread_alive): return 0 for dying threads.
2007-09-18 12:42:22 +00:00
Bernd Schmidt
d908d8f43b
* config/bfin-parse.y (asm_1): Slightly improve error messages
...
for "reg += const;".
2007-09-18 11:59:00 +00:00
Alan Modra
14b1c01e04
* elf.c (bfd_section_from_shdr): Check bfd_alloc return.
...
(elfcore_write_note): Check realloc return.
* elflink.c (_bfd_elf_link_find_version_dependencies): Check
bfd_zalloc return.
(_bfd_elf_link_assign_sym_version): Check bfd_malloc return.
(elf_link_add_object_symbols): Likewise.
(struct hash_codes_info): New.
(elf_collect_hash_codes): Return bfd_malloc error.
(struct collect_gnu_hash_codes): Add "error".
(elf_collect_gnu_hash_codes): Return bfd_malloc error.
(bfd_elf_size_dynamic_sections): Check return status of
_bfd_elf_link_find_version_dependencies.
(bfd_elf_size_dynsym_hash_dynstr): Adjust for elf_collect_hash_codes
and elf_collect_gnu_hash_codes changes.
(elf_sym_name_compare): Formatting.
(elf_fixup_link_order): Use bfd_malloc, not xmalloc.
2007-09-18 08:17:06 +00:00
Ian Lance Taylor
614f30a283
Compute string lengths before sorting. From Craig Silverstein.
2007-09-18 05:16:39 +00:00
Alan Modra
b6ac5419b4
PR gas/5026
...
* read.c (emit_expr): Only use long long if required and available.
2007-09-18 01:05:44 +00:00
H.J. Lu
20e192ab8d
gas/
...
2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (baseindex): Removed.
(build_modrm_byte): Check reg_num for RIP register instead of
reg_type.
(i386_index_check): Likewise.
opcodes/
2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
* i386-opc.h (RegRip): New.
* i386-reg.tbl (rip): Use RegRip for reg_num.
* i386-tbl.h: Regenerated.
2007-09-18 00:56:54 +00:00
H.J. Lu
b10a8ae01c
bfd/
...
2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3281
PR binutils/5037
* elf-bfd.h (elf_obj_tdata): Remove relro.
* elf.c (get_program_header_size): Check info->relro instead
of elf_tdata (abfd)->relro.
(_bfd_elf_map_sections_to_segments): Likewise.
(assign_file_positions_for_load_sections): Don't set
PT_GNU_RELRO segment alignment here.
(assign_file_positions_for_non_load_sections): Properly set up
PT_GNU_RELRO segment for copying executable/shared library.
(rewrite_elf_program_header): Remove PT_GNU_RELRO segment.
(copy_elf_program_header): Set p_size and p_size_valid fields for
PT_GNU_RELRO segment.
include/elf/
2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3281
PR binutils/5037
* internal.h (elf_segment_map): Add p_size and p_size_valid.
(ELF_IS_SECTION_IN_SEGMENT): Allow SHF_TLS sections in
PT_GNU_RELRO segments.
ld/
2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3281
PR binutils/5037
* ldexp.h (ldexp_control): Add relro, relro_start_stat and
relro_end_stat.
* ldexp.c (fold_binary): Set expld.dataseg.relro to
exp_dataseg_relro_start or exp_dataseg_relro_end when
seeing DATA_SEGMENT_ALIGN or DATA_SEGMENT_RELRO_END,
respectively.
* ldlang.c (lang_size_sections_1): Properly set
expld.dataseg.relro_start_stat and
expld.dataseg.relro_end_stat.
(find_relro_section_callback): New function.
(lang_find_relro_sections_1): Likewise.
(lang_find_relro_sections): Likewise.
(lang_process): Call lang_find_relro_sections for
non-relocatable link.
ld/testsuite/
2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3281
PR binutils/5037
* ld-elf/binutils.exp: Update "-z relro" tests to use relro1.s.
Add "-z relro" tests with relro2.s. Add "-z relro" tests with
TLS for objcopy.
* ld-elf/relro1.s: New file.
* ld-elf/relro2.s: Likewise.
2007-09-18 00:25:07 +00:00
gdbadmin
87dcefc059
*** empty log message ***
2007-09-18 00:00:37 +00:00
Alan Modra
00708806d9
daily update
2007-09-18 00:00:05 +00:00
Andreas Schwab
625a61cdc4
* configure.ac: Raise minimum makeinfo version to 4.6.
...
* configure: Regenerate.
2007-09-17 20:59:06 +00:00
Joel Brobecker
f4c1edd8e5
* infrun.c (insert_step_resume_breakpoint_at_frame): Add assertion
...
that return_frame is not null.
2007-09-17 19:44:20 +00:00
Joel Brobecker
8d4e36bad1
* solib-svr4.c: Add include of "auxv.h".
...
(enable_break): Use the AT_BASE auxiliary entry if available.
* Makefile.in (solib-svr4.o): Update dependencies.
2007-09-17 19:32:53 +00:00
Joel Brobecker
f9ed52beed
* NEWS: Create a new section for the next release branch.
...
Rename the section of the current branch, now that it has
been cut.
2007-09-17 19:30:05 +00:00
H.J. Lu
1a36c6a702
2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
...
PR gas/5035
* config/obj-coff.c (obj_coff_endef): Remove checking size of
def_symbol_in_progress.
2007-09-17 17:15:30 +00:00
Nick Clifton
5c61236951
PR gas/5026
...
* read.c (emit_expr): Use unsigned long long values in warning message about
truncated expressions.
2007-09-17 16:34:47 +00:00
Nick Clifton
4145f1d576
* readelf.c (do_archive_index): New.
...
(options): Add -c and --archive-index option.
(usage): Add -c option.
(parse_args): Add c option parsing.
(process_archive): Dump archive index.
* NEWS: Mention the new feature.
* doc/binutils.texi: Document the new feature.
2007-09-17 16:09:24 +00:00
Daniel Jacobowitz
18ecae3831
* schedlock.c (NUM): Change to 1.
...
(main): Use args[0] for the main thread.
* schedlock.exp: Only expect two threads. Only issue one pass or fail
regardless of the number of threads.
2007-09-17 15:38:05 +00:00
Jerome Guitton
eff4f95e29
* dwarf2loc.c (dwarf_expr_frame_base): Guard against NULL.
...
* Makefile.in (dwarf2loc.o): Depend on gdb_assert.h.
2007-09-17 14:53:05 +00:00
H.J. Lu
916af0488c
gas/
...
2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (intel_e04): Revert the last change.
gas/testsuite/
2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/x86-64-rip.s: Revert the last change.
* gas/i386/x86-64-rip-intel.d: Likewise.
* gas/i386/x86-64-rip.d: Likewise.
2007-09-17 14:46:12 +00:00
Nick Clifton
7f396d02ee
Updated Spanish translation
2007-09-17 14:06:03 +00:00