DJ Delorie
8adce22da6
merge from gcc
2005-02-14 12:10:25 +00:00
Nick Clifton
b59a68e117
oops - omitted form previous delta
2005-02-14 11:40:18 +00:00
Nick Clifton
5c9c6a54a4
PR binutils/716
...
* peicode.h (pe_bfd_copy_private_bfd_data): Copy the large address aware flag
from the input bfd to the output bfd.
2005-02-14 11:20:37 +00:00
Eric Botcazou
28f4cc59fd
* ld-sparc/sparc.exp: Enable on Solaris. Disable 32-bit tests
...
on sparc64-elf.
2005-02-14 10:09:49 +00:00
Jan Beulich
f1dab70d1a
gas/
...
2005-02-13 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (md_parse_option): Handle -xnone and -xdebugn.
(md_show_usage): Add -xnone, -xdebugn, and -xdebugx. Relocate default
indicator.
(ia64_init): Set md.detect_dv.
(ia64_start_line): New static variable warned. Warn only once when
encountering explicit stops in automatic mode.
* doc/c-ia64.texi: Describe -xnone, -xdebugn, and -xdebugx.
* NEWS: Mention new default mode.
gas/testsuite/
2005-02-13 Jan Beulich <jbeulich@novell.com>
* gas/ia64/label.l: Adjust line numbers.
* gas/ia64/label.s: Add .explicit.
* gas/ia64/nop_x.s: Likewise.
* gas/ia64/opc-a.d: Add assembler option -xnone.
* gas/ia64/opc-b.d: Likewise.
* gas/ia64/opc-f.d: Likewise.
* gas/ia64/opc-i.d: Likewise.
* gas/ia64/opc-m.d: Likewise.
* gas/ia64/opc-x.d: Likewise.
* gas/ia64/pseudo.d: Likewise.
* gas/ia64/regs.d: Likewise.
* gas/ia64/tls.d: Likewise.
* gas/ia64/unwind-err.l: Adjust line numbers.
* gas/ia64/unwind-err.s: Remove explicit stops.
ld/testsuite/
2005-02-13 Jan Beulich <jbeulich@novell.com>
* ld-elfvers/vers.exp (as_options): New. Set to -x for ia64.
(build_binary): Pass as_options to ld_assemble.
(test_ldfail): Likewise.
(build_exec): Likewise.
Pass as_options to run_ld_link_tests.
* ld-ia64/tlsbin.s: Add .explicit.
* ld-ia64/tlsbinpic.s: Likewise.
* ld-ia64/tlspic1.s: Likewise.
2005-02-14 08:02:51 +00:00
Jan Beulich
20b36a95ab
gas/
...
2005-02-13 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (dot_rot): Add comment that name strings should
be freed when wiping out previous state. Canonicalize names before
use. Free name string when detecting redefinition.
(dot_pred_rel): Call generic expression parser to process arguments.
Handle O_register case for individual predicates and O_subtract for
ranges.
(ia64_parse_name): Canonicalize name before looking it up in dynamic
register hash.
(ia64_canonicalize_symbol_name): Strip off all trailing # characters.
Warn if multiple found, issue error if resulting symbol name has zero
length.
(dot_alias): Canonicalize name before use.
gas/testsuite/
2005-02-13 Jan Beulich <jbeulich@novell.com>
* gas/ia64/pound.[ls]: New.
* gas/ia64/ia64.exp: Run new test.
2005-02-14 07:47:51 +00:00
Eric Botcazou
35a922ee13
* ld-sparc/tlssunnopic32.rd: Adjust for .dynsym changes.
...
* ld-sparc/tlssunpic32.rd: Likewise.
2005-02-14 00:15:38 +00:00
gdbadmin
f71982c9da
*** empty log message ***
2005-02-14 00:00:07 +00:00
Alan Modra
b4fcd1cf10
daily update
2005-02-13 23:00:07 +00:00
Maciej W. Rozycki
05e24d226c
* Makefile.am: Use CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD for
...
building chew.
* Makefile.in: Regenerate.
2005-02-13 21:39:47 +00:00
H.J. Lu
c1e6cd61b7
2005-02-13 H.J. Lu <hongjiu.lu@intel.com>
...
* gas/ia64/ia64.exp: Add "operand-or".
* gas/ia64/operand-or.d: New file.
* gas/ia64/operand-or.s: Likewise.
2005-02-13 19:25:26 +00:00
Eric Botcazou
b44adcf4b7
* ld-elf/warn1.d: Do not run on sparc64-*-solaris2*.
2005-02-13 18:50:25 +00:00
Jason Merrill
aca9a74241
* cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
...
arguments.
2005-02-13 06:58:55 +00:00
gdbadmin
eed5120384
*** empty log message ***
2005-02-13 00:00:04 +00:00
Alan Modra
55aa3d8e1b
daily update
2005-02-12 23:00:06 +00:00
Ramana Radhakrishnan
33e6b12bbd
2005-02-13 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
...
* MAINTAINERS: Add myself to "Write After Approval".
2005-02-12 21:53:29 +00:00
Yoshinori Sato
ba0e80db9e
Add myself "Write After Approval"
2005-02-12 10:42:58 +00:00
Yoshinori Sato
f0bdd87d9f
Restore h8300 support
2005-02-12 10:38:52 +00:00
Andrew Cagney
a3f171870f
2005-02-11 Andrew Cagney <cagney@gnu.org>
...
Mark up some of printf_filtered and printf_unfiltered.
* ada-lang.c, annotate.c, arch-utils.c, breakpoint.c: Update.
* corelow.c, cp-namespace.c, cp-support.c, dcache.c: Update.
* demangle.c, dsrec.c, dwarf2read.c, dwarfread.c: Update.
* event-loop.c, event-top.c, exec.c, f-valprint.c: Update.
* gdbtypes.c, inf-loop.c, inf-ptrace.c, inf-ttrace.c: Update.
* infcmd.c, inflow.c, infrun.c, inftarg.c, language.c: Update.
* linespec.c, linux-nat.c, linux-thread-db.c, maint.c: Update.
* mdebugread.c, memattr.c, monitor.c, objc-lang.c: Update.
* ocd.c, osabi.c, printcmd.c, procfs.c, regcache.c: Update.
* remote.c, solib-som.c, solib.c, somsolib.c, source.c: Update.
* stack.c, symfile.c, symmisc.c, target.c, thread.c: Update.
* top.c, utils.c, valprint.c, value.c, cli/cli-cmds.c: Update.
* cli/cli-dump.c, cli/cli-logging.c, tui/tui-hooks.c: Update.
* tui/tui-regs.c, tui/tui-win.c: Update.
2005-02-12 00:39:24 +00:00
H.J. Lu
0745057186
2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
...
* config/tc-ia64.c (unwind_diagnostic): Return -1 for warning
and 0 for error.
(in_procedure): Return -1 for warning.
(in_prologue): Likewise.
(in_body): Likewise.
2005-02-12 00:13:33 +00:00
gdbadmin
6d678bd375
*** empty log message ***
2005-02-12 00:00:36 +00:00
Zack Weinberg
9eabd47532
* emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed):
...
If st.st_ino is zero, do not treat the library as a duplicate.
2005-02-11 23:52:03 +00:00
Alan Modra
0e68218d25
daily update
2005-02-11 23:00:06 +00:00
Maciej W. Rozycki
254f0426b5
* elf32-mips.c (_bfd_mips_elf32_gprel16_reloc): Reject
...
R_MIPS_LITERAL relocations for external symbols.
* elf64-mips.c (mips_elf64_literal_reloc): Likewise.
* elfn32-mips.c (mips_elf_literal_reloc): Likewise.
2005-02-11 22:29:10 +00:00
H.J. Lu
01b9137461
2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
...
(dot_xdata): Undo the last change. Section name is used by
set_section.
(dot_float_cons): Likewise.
(dot_xstringer): Likewise.
(dot_xdata_ua): Likewise.
(dot_float_cons_ua): Likewise.
2005-02-11 21:03:33 +00:00
H.J. Lu
970d6792b4
gas/
...
2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
* NEWS: Mention "-munwind-check=[warning|error]".
* config/tc-ia64.c (md): Add unwind_check.
(unwind_diagnostic): New.
(in_procedure): Call unwind_diagnostic when a directive isn't
in procedure.
(in_prologue): Call unwind_diagnostic when a directive isn't in
prologue.
(in_body): Call unwind_diagnostic when a directive isn't in
body region.
(dot_endp): Set md.unwind_check to error before calling
in_procedure and restore it after. When the name is missing or
couldn't be found, use the one from the last .proc if
md.unwind_check isn't error. Warn if md.unwind_check is
warning.
(md_parse_option): Handle "-munwind-check=[warning|error]".
(md_show_usage): Add "-munwind-check=[warning|error]".
(ia64_init): Set md.unwind_check to warning.
* doc/as.texinfo: Add "-munwind-check=[none|warning|error]".
* doc/c-ia64.texi: Likewise.
gas/testcase
2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
* gas/ia64/ia64.exp: Pass -munwind-check=error for unwind-err
and proc.
2005-02-11 21:01:19 +00:00
Maciej W. Rozycki
a1c17af238
* mips.h (R_MIPS_max): Use FAKE_RELOC to define.
2005-02-11 20:29:29 +00:00
Andrew Cagney
e2e0b3e57f
2005-02-11 Andrew Cagney <cagney@gnu.org>
...
Mark up error_no_arg, query, perror_with_name, complaint, and
internal_error.
* breakpoint.c, cp-abi.c, cp-namespace.c, cp-support.c: Update.
* cris-tdep.c, dbxread.c, dictionary.c, dsrec.c: Update.
* dummy-frame.c, dve3900-rom.c, dwarf2-frame.c, dwarf2expr.c: Update.
* dwarf2read.c, dwarfread.c, elfread.c, event-loop.c: Update.
* exceptions.c, exec.c, f-lang.c, findvar.c, fork-child.c: Update.
* frame-unwind.c, frame.c, frv-linux-tdep.c, frv-tdep.c: Update.
* gdb_assert.h, gdbarch.c, gdbtypes.c, gnu-nat.c: Update.
* go32-nat.c, hppa-tdep.c, hppabsd-nat.c, hpread.c: Update.
* i386-linux-nat.c, i386-nat.c, i386-tdep.c, i386bsd-nat.c: Update.
* i386fbsd-nat.c, inf-ptrace.c, inf-ttrace.c, infcall.c: Update.
* infcmd.c, inflow.c, infptrace.c, infrun.c, inftarg.c: Update.
* interps.c, language.c, linespec.c, linux-nat.c: Update.
* m32r-linux-nat.c, m68k-tdep.c, m68kbsd-nat.c: Update.
* m68klinux-nat.c, m88kbsd-nat.c, macroexp.c, macroscope.c: Update.
* macrotab.c, maint.c, mdebugread.c, memattr.c: Update.
* mips-linux-tdep.c, mips-tdep.c, mips64obsd-nat.c: Update.
* mipsnbsd-nat.c, mn10300-tdep.c, monitor.c, nto-procfs.c: Update.
* objc-lang.c, objfiles.c, objfiles.h, ocd.c, osabi.c: Update.
* parse.c, ppc-bdm.c, ppc-linux-nat.c, ppc-sysv-tdep.c: Update.
* ppcnbsd-nat.c, ppcobsd-nat.c, printcmd.c, procfs.c: Update.
* regcache.c, reggroups.c, remote-e7000.c, remote-mips.c: Update.
* remote-rdp.c, remote-sds.c, remote-sim.c, remote-st.c: Update.
* remote-utils.c, remote.c, rs6000-nat.c, rs6000-tdep.c: Update.
* s390-nat.c, s390-tdep.c, sentinel-frame.c, serial.c: Update.
* sh-tdep.c, sh3-rom.c, sh64-tdep.c, shnbsd-nat.c: Update.
* solib-aix5.c, solib-svr4.c, solib.c, source.c: Update.
* sparc-nat.c, stabsread.c, stack.c, symfile.c, symtab.c: Update.
* symtab.h, target.c, tracepoint.c, ui-file.c, ui-out.c: Update.
* utils.c, valops.c, valprint.c, vax-nat.c, vaxbsd-nat.c: Update.
* win32-nat.c, xcoffread.c, xstormy16-tdep.c: Update.
* cli/cli-cmds.c, cli/cli-logging.c, cli/cli-script.c: Update.
* cli/cli-setshow.c, mi/mi-cmd-break.c, mi/mi-cmds.c: Update.
* mi/mi-console.c, mi/mi-getopt.c, mi/mi-out.c: Update.
* tui/tui-file.c, tui/tui-interp.c: Update.
2005-02-11 18:13:55 +00:00
H.J. Lu
e91cdea724
2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
...
* bfd-in2.h: Rebuilt.
2005-02-11 17:33:16 +00:00
Andreas Schwab
ae53d3b05f
Fix typo.
2005-02-11 17:26:41 +00:00
Nick Clifton
169a6afd81
(bfd_sym_parse_contained_variables_table_entry_v32): Avoid call to memcpy with
...
a size of 0.
2005-02-11 17:22:47 +00:00
Nick Clifton
d5b2f13be7
(m32r_reloc_map_old): Use #ifdef USE_M32R_OLD_RELOC to protect the declaration of this array.
2005-02-11 17:18:41 +00:00
Nick Clifton
6c408f53b0
(iq2000_reloc_map): Remove unused structure and array.
2005-02-11 17:15:32 +00:00
Nick Clifton
596c83ecf6
(ip2k_call_opcode, IS_CALL_OPCODE): Remove unused structure and macro.
2005-02-11 17:13:02 +00:00
Nick Clifton
cb7a88a4dd
(coff_std_swap_table): Add an unused attribute in case it is not used.
2005-02-11 17:10:07 +00:00
Nick Clifton
3e25964f9b
(coff_rtype_to_howto): Move definition before inclusion of coffcode.h so that
...
it is actually picked up.
2005-02-11 17:06:17 +00:00
Paul Brook
88791d55d2
2005-02-11 Paul Brook <paul@codesourcery.com>
...
* ld-elf/symbol1w.s: Avoid usung @function syntax.
2005-02-11 17:01:17 +00:00
Paul Brook
6768797874
2005-02-11 Paul Brook <paul@codesourcery.com>
...
* elf-bfd.h (struct elf_link_hash_table): Add
is_relocatable_executable.
* elf.c (_bfd_elf_link_hash_table_init): Initialize it.
* elflink.c (bfd_elf_link_record_dynamic_symbol): Create local dynamic
symbols in relocatable executables.
(bfd_elf_record_link_assignment): Create dynamic section symbols in
relocatable executables.
(_bfd_elf_link_renumber_dynsyms): Ditto.
(bfd_elf_final_link): Ditto.
* elf32-arm.c (elf32_arm_final_link_relocate): Copy absolute
relocations into relocatable executables.
(elf32_arm_check_relocs): Crate dynamic sections for relocatable
executables. Also copy absolute relocations.
(elf32_arm_adjust_dynamic_symbol): Don't create copy relocations
in relocatable executables.
(allocate_dynrelocs): Copy relocations for relocatable executables.
Output dynamic symbols for symbols defined in linker scripts.
2005-02-11 16:41:09 +00:00
Nick Clifton
bc18c937be
Fix compile time warning building iq2000-asm.c
2005-02-11 16:09:30 +00:00
Nick Clifton
5a84f3e0d2
Regenerate frv-dis.c in order to fix a compile time warning.
2005-02-11 16:04:06 +00:00
Nick Clifton
4b74b98302
Fix compile time warning by using an unsigned type.
2005-02-11 15:59:51 +00:00
Nick Clifton
ca724bf2da
Remove redundant test in BFD_ASSERT
2005-02-11 15:57:10 +00:00
H.J. Lu
d1f5c6e34f
2005-02-10 H.J. Lu <hongjiu.lu@intel.com>
...
* readelf.c (group_count): Don't initialize it.
(process_section_groups): Reurn 1 if we won't do unwind nor
section groups. Set group_count to 0 before counting group
sections and return 1 if there are no group sections. Reread
SHT_SYMTAB/SHT_STRTAB sections only when needed. Don't skip
section 0.
(process_object): Only set do_unwind to 0 if
process_section_groups return 0.
2005-02-11 15:48:11 +00:00
Alan Modra
d9391a1764
* ld-elfvsb/hidden2.s: Replace .word with .long.
2005-02-11 14:25:13 +00:00
Alan Modra
2917689a80
* elf64-ppc.c (toc_adjusting_stub_needed): Return true for
...
old-style branches to undefined dot-symbols which will be
satisfied by a plt call.
2005-02-11 14:18:15 +00:00
Jan Beulich
16a48f83f6
gas/
...
2005-02-11 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.h (LEX_AT): Include LEX_BEGIN_NAME.
(LEX_QM): Likewise.
(ia64_parse_name): New third parameter.
(md_parse_name): Pass third argument.
* config/tc-ia64.c (pseudo_func): Placeholders use NULL as name.
(md_operand): Handling of '@'-prefixed symbols moved from here...
(ia64_parse_name): ...to here.
2005-02-11 10:13:07 +00:00
Jan Beulich
a911c10a55
gas/
...
2005-02-11 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (md): Remove last_groups and group_idx.
(errata_nop_necessary_p): Remove declaraction and definition.
(emit_one_bundle): Don't call errata_nop_necessary_p. Don't
update md.group_idx. Don't reset md.last_groups.
2005-02-11 07:54:52 +00:00
Jan Beulich
b3f19c14d0
gas/
...
2005-02-11 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (parse_section_name): Handle non-quoted first
argument.
(dot_xdata): Free section name after use.
(dot_float_cons): Likewise.
(dot_xstringer): Likewise.
(dot_xdata_ua): Likewise.
(dot_float_cons_ua): Likewise.
(md_pseudo_table): Add xdata16 and xdata16.ua.
2005-02-11 07:45:20 +00:00
H.J. Lu
5cb53c2102
2005-02-10 H.J. Lu <hongjiu.lu@intel.com>
...
* doc/all.texi: Add IA64.
* doc/as.texinfo: Likewise.
* doc/c-ia64.texi: Fix typos.
2005-02-11 06:29:08 +00:00
Mark Kettenis
57f5cdfb56
Fix my email address in last commit.
2005-02-11 04:15:55 +00:00