Jim Wilson
b7d4af3a12
Patch from Steve Ellcey for hpux build failure.
...
* configure.in: Check for getc_unlocked prototype.
* configure: Regenerate.
* config.in: Regenerate.
* strings.c (get_char): Only call getc_unlocked if we have seen a
prototype.
2005-06-03 21:33:49 +00:00
Nick Clifton
82d457f64b
* configure.in (ALL_LINGUAS): Add zh_TW
...
* configure: Regenerate.
* po/zh_TW.po: New Chinese (traditional) translation.
2005-06-03 13:22:15 +00:00
Nick Clifton
0311b7a8b2
Remove spurious blank space
2005-06-03 10:14:29 +00:00
Nick Clifton
ce71b57665
Convert to ISO C90 formatting
2005-06-03 10:13:15 +00:00
Alan Modra
e1fffbe6e9
include/
...
* bfdlink.h (struct bfd_link_callbacks): Add einfo.
bfd/
* configure.in: Bump version
* configure: Regenerate.
* elflink.c (elf_link_input_bfd): Use einfo linker callback to print
discarded section sym refs and kill linker output.
* simple.c (simple_dummy_einfo): New function.
(bfd_simple_get_relocated_section_contents): Init callbacks.einfo.
ld/
* ldmain.c (link_callbacks): Add einfo.
(add_archive_element): Use passed info, not link_info.
(constructor_callback): Likewise.
(reloc_overflow): Don't handle null bfd specially.
(reloc_dangerous, unattached_reloc): Likewise.
* ldmisc.c (vfinfo <B>): Print "ld generated" for null bfd.
(vfinfo <C, D, G>): Handle null bfd. Wrap comments.
2005-06-03 09:52:50 +00:00
Eli Zaretskii
e09f16f93f
* gdb.texinfo (Registers): Add index entries for the standard
...
registers.
(Frames): Add cross-reference from frame pointer description to
the Registers node.
(Annotations Overview): Fix the reference to GDB name.
2005-06-03 07:09:20 +00:00
Alan Modra
9635fe2972
* elf32-i386.c (elf_i386_relocate_section): Handle zero symndx
...
for all reloc types.
2005-06-03 03:58:13 +00:00
gdbadmin
5dc438e501
*** empty log message ***
2005-06-03 00:00:06 +00:00
Alan Modra
7084541e52
daily update
2005-06-03 00:00:05 +00:00
Jim Blandy
20deb2b813
* config.sub: Add cases for the Renesas m32c. (This patch has been
...
accepted into the master sources.)
2005-06-02 21:23:04 +00:00
Aldy Hernandez
cdb9b172db
* configure.in: Set noconfigdirs for ms1.
...
* configure: Regenerate.
2005-06-02 19:56:31 +00:00
Joel Brobecker
e74e72b411
* exceptions.h: Include ui-out.h.
...
(ui_out): Remove declaration.
* Makefile.in (exceptions_h): Add dependency on ui-out.h.
2005-06-02 16:52:04 +00:00
Alan Modra
b38b1562e1
* ld-powerpc/powerpc.exp (ppcelftests): Assemble sda test with -a32.
2005-06-02 14:30:03 +00:00
Alan Modra
e87d886e78
* elf64-ppc.c (add_symbol_adjust): Set sym visibility to most
...
restrictive of func code and func descr for undefined syms as well
as defined.
2005-06-02 13:13:54 +00:00
Alan Modra
408082ec18
* ldexp.h (etree_value_type): Use "asection *" in place of
...
"struct lang_output_section_statement_struct *" for "section".
(exp_fold_tree): Likewise.
(exp_mark_used_section): Likewise.
* ldexp.c (new_rel, new_rel_from_section, fold_unary, fold_binary,
fold_trinary, fold_name, exp_fold_tree_1, exp_fold_tree,
exp_mark_used_section): Likewise for "current_section" param.
(make_abs, new_abs, exp_binop, exp_unop, exp_get_vma, exp_get_fill,
exp_get_abs_int): Adjust for above changes.
* ldlang.c (lang_mark_used_section_1, print_assignment,
lang_size_sections_1, lang_do_assignments_1): Likewise.
* ldexp.c (fold_name): Init entire result struct.
2005-06-02 03:08:41 +00:00
DJ Delorie
c2bd6e35d3
merge from gcc
2005-06-02 03:05:03 +00:00
Alan Modra
4f0aa0180c
daily update
2005-06-02 00:00:06 +00:00
gdbadmin
6d81396c6a
*** empty log message ***
2005-06-02 00:00:03 +00:00
Eli Zaretskii
d87ba7eeda
* gdb.texinfo (Set Watchpoints): Remove @vindex entry for
...
can-use-hw-watchpoints.
2005-06-01 20:38:44 +00:00
Maciej W. Rozycki
d0d3b2e89e
* emulparams/elf32btsmip.sh: Unset DATA_ADDR.
2005-06-01 19:26:25 +00:00
Maciej W. Rozycki
20e1fcfd31
gas/:
...
* config/tc-mips.c (load_register): Add leading "0x" to the
output of sprintf_vma().
(macro): Likewise.
gas/testsuite/:
* gas/mips/ldstla-32-1.l: Update to handle leading zeroes.
* gas/mips/ldstla-32-mips3-1.l: Likewise.
2005-06-01 19:23:58 +00:00
Nick Clifton
1887dd2272
(TxCE, TxC3, TxCM, TUE, TUF): Remove redundant test for the presence of thumb
...
version of the parsing functions since they must always exist and the test
generates a compile time warning message.
2005-06-01 08:18:42 +00:00
Jim Blandy
b2b0991329
* Makefile.am: Regenerate dependencies with 'make dep-am'.
...
* Makefile.in: Regenerate.
2005-06-01 05:36:05 +00:00
Zack Weinberg
a359509ed3
ld:
...
* ldlang.c (entry_symbol_default): New file-scope global.
(lang_finish): Use it, not a hardwired "start".
(lang_default_entry): Set it.
* ldlang.h: Declare lang_default_entry.
* emultempl/beos.em, emultempl/pe.em: Use lang_default_entry,
not lang_add_entry, to override default entry point symbol.
ld/testsuite:
* ld-scripts/align.exp: Mark align1 XFAIL on PECOFF targets.
* ld-scripts/data.exp: Mark data UNSUPPORTED on a.out targets.
* ld-scripts/provide.exp, ld-scripts/size.exp: Mark all tests
UNSUPPORTED on a.out targets. Tidy.
2005-06-01 04:04:19 +00:00
gdbadmin
7b8f476a17
*** empty log message ***
2005-06-01 00:00:10 +00:00
Alan Modra
921ba454ec
daily update
2005-06-01 00:00:09 +00:00
Richard Henderson
8288a39e24
* elf64-alpha.c (ALPHA_ELF_LINK_HASH_LU_JSRDIRECT): New.
...
(ALPHA_ELF_LINK_HASH_TLS_IE): Renumber to 0x80.
(ALPHA_ELF_LINK_HASH_LU_PLT): Rename from ALPHA_ELF_LINK_HASH_LU_FUNC.
(elf64_alpha_want_plt): Update to match.
(elf64_alpha_check_relocs): Collect JSRDIRECT in gotent_flags.
(elf64_alpha_relax_with_lituse): Likewise. Handle JSRDIRECT.
2005-05-31 22:53:44 +00:00
Richard Henderson
04fe8f58ae
* config/tc-alpha.c (O_lituse_jsrdirect): New.
...
(alpha_reloc_op): Add it.
(debug_exp): Handle it.
(DUMMY_RELOC_LITUSE_JSRDIRECT): New.
(emit_insn): Handle it.
* doc/c-alpha.texi (Alpha-Relocs): Document lituse_jsrdirect.
2005-05-31 22:53:11 +00:00
Richard Henderson
7ace3541ba
* readelf.c (dump_relocations): Special case R_ALPHA_LITUSE.
2005-05-31 22:52:50 +00:00
Richard Henderson
2acf634e2d
* alpha.h (LITUSE_ALPHA_JSRDIRECT): New.
2005-05-31 22:52:31 +00:00
Zack Weinberg
f1c71a597b
* elf32-arm.c (elf32_arm_reloc_type_lookup)
...
(elf32_arm_nabi_grok_prstatus, elf32_arm_nabi_grok_psinfo):
Use ISO C90 function declaration style.
2005-05-31 22:09:51 +00:00
Jim Wilson
653bb2ded0
Fix for IA-64 gdb backtrace of threads in syscalls, reported by Jeff Johnson.
...
* elfcode.h (NAME(bfd_elf,bfd_from_remote_memory)): Check for program
header PF_R flag on PT_LOAD segments.
2005-05-31 19:32:29 +00:00
Christian Groessler
988392e2f5
2005-05-31 Christian Groessler <chris@groessler.org>
...
* write.c (dump_section_relocs): Convert to ISO-C.
(write_relocs): Avoid signed/unsigned and fprintf argument
warnings in debug code.
2005-05-31 18:36:28 +00:00
gdbadmin
8662a5e054
*** empty log message ***
2005-05-31 00:00:33 +00:00
Alan Modra
e016fa04cc
daily update
2005-05-31 00:00:06 +00:00
Richard Henderson
f915360b43
* elf64-alpha.c (elf64_alpha_relocate_section): Use dtp_base for
...
the zero index relocs produced by elf64_alpha_relax_tls_get_addr.
2005-05-30 21:22:40 +00:00
Andrew Cagney
a60a53c5fa
2005-05-30 Andrew Cagney <cagney@gnu.org>
...
* MAINTAINERS (Can Commit Without Approval): New section,
previously burried under "Target Instruction Set Architectures".
Note that cagney "can commit" changes to powerpc-linux.
2005-05-30 20:00:57 +00:00
Andrew Cagney
67e27301b8
2005-05-30 Andrew Cagney <cagney@gnu.org>
...
* MAINTAINERS: Drop architecture and target vectors.
2005-05-30 18:35:12 +00:00
DJ Delorie
e947292179
merge from gcc
2005-05-30 01:12:16 +00:00
gdbadmin
d6dba7e9fc
*** empty log message ***
2005-05-30 00:00:34 +00:00
Alan Modra
6cfc98393f
daily update
2005-05-30 00:00:27 +00:00
Richard Henderson
fabcb3612f
* readelf.c (get_alpha_dynamic_type): New.
...
(get_dynamic_type): Call it.
2005-05-29 23:18:51 +00:00
Richard Henderson
484124bb04
* alpha.h (DT_ALPHA_PLTRO): New.
2005-05-29 23:18:26 +00:00
Richard Henderson
8d6d53d427
* emulparams/elf64alpha.sh (PLT): New.
...
(TEXT_PLT): New.
* emultempl/alphaelf.em (disable_relaxation): New.
(limit_32bit): Rename from elf64alpha_32bit; update all users.
(elf64_alpha_use_secureplt): Declare.
(bfd_elf64_alpha_vec, bfd_elf64_alpha_freebsd_vec): Declare.
(alpha_after_open): New.
(alpha_before_allocation): New.
(OPTION_NO_RELAX, OPTION_SECUREPLT, OPTION_NO_SECUREPLT): New.
(PARSE_AND_LIST_LONGOPTS): Include them.
(PARSE_AND_LIST_OPTIONS): Likewise.
(PARSE_AND_LIST_ARGS_CASES): Likewise.
(LDEMUL_AFTER_OPEN, LDEMUL_BEFORE_ALLOCATION): New.
* scripttempl/elf.sc (TEXT_PLT): New.
(PLT): Use it.
2005-05-29 23:16:09 +00:00
Richard Henderson
6ec7057aa5
* configure.in (--enable-secureplt): New.
...
* elf64-alpha.c (INSN_LDA, INSN_LDAH, INSN_LDQ, INSN_BR): New.
(INSN_SUBQ, INSN_S4SUBQ, INSN_JMP): New.
(INSN_A, INSN_AB, INSN_ABC, INSN_ABO, INSN_AD): New.
(elf64_alpha_use_secureplt): New.
(OLD_PLT_HEADER_SIZE, OLD_PLT_ENTRY_SIZE): New.
(NEW_PLT_HEADER_SIZE, NEW_PLT_ENTRY_SIZE): New.
(PLT_HEADER_SIZE, PLT_ENTRY_SIZE): Conditionalize on secureplt.
(ALPHA_ELF_LINK_HASH_PLT_LOC): Remove.
(struct alpha_elf_link_hash_entry): Add plt_offset.
(PLT_HEADER_WORD1, PLT_HEADER_WORD2, PLT_HEADER_WORD3): Remove.
(PLT_HEADER_WORD4, PLT_ENTRY_WORD1, PLT_ENTRY_WORD2): Remove.
(PLT_ENTRY_WORD3): Remove.
(elf64_alpha_create_dynamic_sections): If secureplt, set SEC_READONLY
on .plt and create .got.plt.
(elf64_alpha_output_extsym): Remove .plt frobbing for symbol values.
(get_got_entry): Initialize plt_offset.
(elf64_alpha_want_plt): New.
(elf64_alpha_check_relocs): Use it.
(elf64_alpha_adjust_dynamic_symbol): Likewise. Don't allocate
plt entries here.
(elf64_alpha_calc_got_offsets_for_symbol): Don't report internal
error as user error.
(elf64_alpha_size_plt_section_1): Allocate one plt entry per
got subsection.
(elf64_alpha_size_plt_section): Size .got.plt section.
(elf64_alpha_size_rela_got_1): Don't allocate relocations if
plt entries used.
(elf64_alpha_size_dynamic_sections): Call elf64_alpha_size_plt_section.
Add PLTRO DYNAMIC entry.
(elf64_alpha_finish_dynamic_symbol): Generate secureplt format.
(elf64_alpha_finish_dynamic_sections): Likewise.
2005-05-29 23:13:39 +00:00
Eli Zaretskii
c24162389c
* config/djgpp/fnchange.lst: Add mappings for linux-ppc-low.c and
...
linux-ppc64-low.c.
2005-05-29 07:36:10 +00:00
Bob Rossi
034dad6fa1
This is a cleanup change. It is the beggining of allowing GDB/MI to be
...
better understood (internally).
2005-05-29 03:13:19 +00:00
Joel Brobecker
0915f927ad
* gdb.arch/alpha-step.c: New file.
...
* gdb.arch/alpha-step.exp: New testcase.
2005-05-29 01:58:53 +00:00
Joel Brobecker
551e4f2e42
* alpha-tdep.c (alpha_next_pc): Use correct register number
...
for floating-point branch instructions.
2005-05-29 01:54:44 +00:00
gdbadmin
3be16b6f91
*** empty log message ***
2005-05-29 00:00:33 +00:00