Alan Modra
6feb9908bf
* ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
...
throughout file.
* lexsup.c: Formatting. Wrap long lines.
* ldwrite.c: Update copyright date.
2004-05-28 10:34:18 +00:00
Nick Clifton
580b9172d2
Convert mode 5 addressing with zero offset into mode 2 addressing to save a
...
word.
2004-05-28 07:55:21 +00:00
Alan Modra
164e712d71
* ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
...
(output_section_callback): Nor SEC_KEEP here.
(gc_section_callback): Twiddle SEC_EXCLUDE here.
(lang_gc_wild): Delete. Fold into..
(lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
collecting.
(lang_process): Always call lang_gc_sections.
(lang_place_orphans): Handle SEC_EXCLUDE sections.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
SEC_EXCLUDE code.
2004-05-28 05:42:30 +00:00
H.J. Lu
652ca075fb
gas/
...
2004-05-27 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-ia64.c (ar_is_in_integer_unit): Removed.
(ar_is_only_in_integer_unit): New.
(ar_is_only_in_memory_unit): New.
(generate_unwind_image): Silence gcc on 32bit host.
(md_assemble): Use ar_is_only_in_integer_unit instead of
ar_is_in_integer_unit. Check AR access.
gas/testsuite
2004-05-27 H.J. Lu <hongjiu.lu@intel.com>
* gas/ia64/regs.d: Updated.
2004-05-28 05:02:20 +00:00
Alan Modra
1fc2533bde
daily update
2004-05-28 00:00:09 +00:00
gdbadmin
3c7475d3c6
*** empty log message ***
2004-05-28 00:00:03 +00:00
Michael Chastain
d866f350ab
2004-05-27 Michael Chastain <mec.gnu@mindspring.com>
...
* Makefile.am (bfdver.h): Use explicit filename, not $< .
* Makefile.in: Regenerate.
2004-05-27 21:22:49 +00:00
Daniel Jacobowitz
88f64edc14
* configure.in: Fix sed invocation for GFORTRAN_FOR_TARGET.
...
* configure: Regenerate.
2004-05-27 18:22:27 +00:00
Nick Clifton
60fed2d357
Sort m68k opcodes into alphabetical order
2004-05-27 07:56:27 +00:00
Alexandre Oliva
1055df0f95
* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Avoid
...
custom calling conventions for dynamic symbols.
(mn10300_elf_relax_section): Avoid relaxing a function as a local
symbol if it's an alias to a global one.
2004-05-27 06:22:54 +00:00
H.J. Lu
b309625038
bfd/
...
2004-05-26 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (_bfd_elf_make_section_from_shdr): Undo the last
change.
ld/
2004-05-26 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
* ldlang.c (lang_add_section): Likewise.
2004-05-27 05:53:36 +00:00
Alexandre Oliva
9bb351fd9c
* elf-m10300.c (mn10300_elf_relax_section): Don't test isym within
...
loop over hashes.
2004-05-27 04:07:41 +00:00
Alan Modra
d4e145e024
daily update
2004-05-27 00:00:05 +00:00
gdbadmin
3b0f9eb73a
*** empty log message ***
2004-05-27 00:00:02 +00:00
Andrew Cagney
bb02f434ac
2004-05-26 Andrew Cagney <cagney@gnu.org>
...
* corefile.c (core_create_line_syms): Per ISO C '90, move
vma_high's declaration to the function's start.
2004-05-26 19:40:53 +00:00
H.J. Lu
54b3292ad1
2004-05-26 H.J. Lu <hongjiu.lu@intel.com>
...
* gas/ia64/ia64.exp: Run invalid-ar.
* gas/ia64/invalid-ar.l: New file. Test invalid AR access.
* gas/ia64/invalid-ar.s: Likewise.
2004-05-26 17:48:59 +00:00
Jim Blandy
7a8f1e6b98
* gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
2004-05-26 16:03:52 +00:00
Randolph Chung
779af9e343
2004-05-26 Randolph Chung <tausq@debian.org>
...
* infttrace.h (target_waitkind): Forward declare type instead of pulling
in header file.
2004-05-26 15:38:40 +00:00
Alan Modra
e49f502242
bfd/
...
* elf.c (_bfd_elf_make_section_from_shdr): Don't set SEC_EXCLUDE
for SHT_GROUP sections.
ld/
* ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
sections when doing a final link. Clear SEC_EXCLUDE when doing
a relocable link, except for SEC_DEBUGGING sections.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
same condition here to drop SEC_EXCLUDE orphan sections.
2004-05-26 10:23:51 +00:00
Joel Brobecker
c23968a218
* NEWS: Document new "start" command.
2004-05-26 06:32:01 +00:00
Ben Elliston
13f178c0af
* gprof.c (main): Clean up some more.
2004-05-26 05:56:22 +00:00
Randolph Chung
3a7d1c27ef
2004-05-25 Randolph Chung <tausq@debian.org>
...
* hppa-linux-tdep.c (hppa_linux_init_abi): sizeof(long double) == 8 on
hppa-linux.
2004-05-26 05:51:39 +00:00
Randolph Chung
436134168c
2004-05-25 Randolph Chung <tausq@debian.org>
...
* hppa-hpux-tdep.c (offsetof): Define.
(hppa_hpux_pc_in_sigtramp, hppa32_hpux_frame_saved_pc_in_sigtramp)
(hppa32_hpux_frame_base_before_sigtramp)
(hppa32_hpux_frame_find_saved_regs_in_sigtramp)
(hppa64_hpux_frame_saved_pc_in_sigtramp)
(hppa64_hpux_frame_base_before_sigtramp)
(hppa64_hpux_frame_find_saved_regs_in_sigtramp): Remove unused
functions.
(struct hppa_hpux_sigtramp_unwind_cache, hppa_hpux_tramp_reg)
(hppa_hpux_sigtramp_frame_unwind_cache)
(hppa_hpux_sigtramp_frame_this_id)
(hppa_hpux_sigtramp_frame_prev_register)
(hppa_hpux_sigtramp_frame_unwind)
(hppa_hpux_sigtramp_unwind_sniffer): New signal trampoline unwinder.
(hppa_hpux_init_abi): Register sigtramp unwinder.
* Makefile.in (hppa-hpux-tdep.o): Update dependencies.
2004-05-26 05:31:39 +00:00
Ben Elliston
3e8f6abf1e
* alpha.c, basic_blocks.c, basic_blocks.h, bb_exit_func.c,
...
call_graph.c, call_graph.h, cg_arcs.c, cg_arcs.h, cg_dfn.c,
cg_dfn.h, cg_print.c, cg_print.h, corefile.c, corefile.h,
gmon_io.c, gmon_io.h, gprof.c, gprof.h, hertz.h, hist.c, hist.h,
i386.c, mips.c, search_list.c, search_list.h, source.c, source.h,
sparc.c, sym_ids.c, sym_ids.h, symtab.c, symtab.h, tahoe.c,
utils.c, utils.h, vax.c, gen-c-prog.awk: Convert K&R C to ANSI C.
2004-05-26 04:55:55 +00:00
Ben Elliston
37b1bfcd81
* corefile.c (core_init): Use a separate local variable,
...
core_sym_bytes, to make the units from bfd_get_symtab_upper_bound
more obvious.
(core_create_function_syms): Discard cbfd argument. Eliminate
`offset' variable and calculate VMA directly. Update all users.
* corefile.h (core_create_function_syms): Update prototype.
(core_create_line_syms): Likewise.
* gprof.c (main): Remove #ifdef PROF_SUPPORT_IMPLEMENTED code.
Tidy.
2004-05-26 04:06:26 +00:00
Randolph Chung
6d1be3f186
2004-05-25 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.c (hppa_fallback_frame_cache): Handle stack adjustment,
and multiple stack unwinds.
(hppa_stub_unwind_sniffer): Handle unwind from pc == 0.
2004-05-26 04:02:24 +00:00
gdbadmin
b057cbf032
*** empty log message ***
2004-05-26 00:00:32 +00:00
Alan Modra
5f31302fbf
daily update
2004-05-26 00:00:07 +00:00
Andrew Cagney
97c34f656c
2004-05-25 Andrew Cagney <cagney@gnu.org>
...
* symfile.h (symbol_file_add_from_memory): Delete declaration.
* symfile-mem.h: Delete file.
* symfile-mem.c: Do not include "symfile-mem.h".
(symbol_file_add_from_memory): Make static. Use "struct bfd" and
"struct bfd_section". When an error do not bother returning NULL.
(add_symbol_file_from_memory_command): Use "struct bfd" and
"struct bfd_section".
* Makefile.in (symfile_mem_h): Delete.
(symfile-mem.o): Update dependencies.
2004-05-25 21:55:43 +00:00
DJ Delorie
378fce5bd7
* Makefile.tpl (BUILD_EXPORTS, HOST_EXPORTS, GCC_HOST_EXPORTS)
...
(STAGE_HOST_EXPORTS, BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS)
(NORMAL_TARGET_EXPORTS): New macros. Use them in all the recursive
targets.
* Makefile.in: Regenerate.
2004-05-25 20:36:50 +00:00
DJ Delorie
0cb2db3ae1
merge from gcc
2004-05-25 20:03:59 +00:00
Nick Roberts
aeea8b7740
New file.
2004-05-25 20:03:05 +00:00
Nick Roberts
e23cbd82ff
*** empty log message ***
2004-05-25 20:02:20 +00:00
Andrew Cagney
20d2ca3e86
2004-05-25 Andrew Cagney <cagney@gnu.org>
...
* inftarg.c: Include "observer.h".
(child_attach, child_create_inferior): Notify inferior_created.
* corelow.c: Include "observer.h".
(core_open): Notify inferior_created.
* Makefile.in (inftarg.o, corelow.o): Update dependencies.
2004-05-25 16:04:07 +00:00
Andrew Cagney
c27cda74c7
2004-05-25 Andrew Cagney <cagney@gnu.org>
...
* target.h (struct target_ops): Add from_tty to
to_create_inferior.
(target_create_inferior, find_default_create_inferior): Update.
* infcmd.c (run_command): Update.
* wince.c (child_create_inferior): Update.
* win32-nat.c (child_create_inferior): Update.
* uw-thread.c (uw_thread_create_inferior): Update.
* thread-db.c (thread_db_create_inferior): Update.
* target.c (debug_to_create_inferior)
(find_default_create_inferior): Update.
(maybe_kill_then_create_inferior): Update.
* sol-thread.c (sol_thread_create_inferior): Update.
* remote.c (extended_remote_async_create_inferior)
(extended_remote_create_inferior): Update.
* remote-vx.c (vx_create_inferior): Update.
* remote-st.c (st2000_create_inferior): Update.
* remote-sim.c (gdbsim_create_inferior): Update.
* remote-sds.c (sds_create_inferior): Update.
* remote-rdp.c (remote_rdp_create_inferior): Update.
* remote-rdi.c (arm_rdi_create_inferior): Update.
* remote-m32r-sdi.c (m32r_create_inferior): Update.
* remote-e7000.c (e7000_create_inferior): Update.
* procfs.c (procfs_create_inferior): Update.
* ocd.c (ocd_create_inferior): Update.
* ocd.h (ocd_create_inferior): Update.
* nto-procfs.c (procfs_create_inferior): Update.
* monitor.c (monitor_create_inferior): Update.
* lin-lwp.c (lin_lwp_create_inferior): Update.
* inftarg.c (child_create_inferior): Update.
* hpux-thread.c (hpux_thread_create_inferior): Update.
* gnu-nat.c (gnu_create_inferior): Update.
2004-05-25 14:58:31 +00:00
Andrew Cagney
1db2a7980c
2004-05-25 Andrew Cagney <cagney@gnu.com>
...
* MAINTAINERS: Update e-mail address.
2004-05-25 13:41:46 +00:00
Alan Modra
57ceae9483
bfd/
...
* elflink.c (elf_link_add_object_symbols): Don't set up merge
section data here..
* elf.c (_bfd_elf_merge_sections): .. Do it here instead.
* merge.c: Formatting. Remove unnecessary casts. Expand
bfd_get_section_alignment macro.
(struct sec_merge_sec_info): Rename "first" to "first_str". Update
use throughout file.
(_bfd_add_merge_section): Rename from _bfd_merge_section. Update
comment. Abort on dynamic or non-SEC_MERGE input. Don't test
section name to determine sinfo group, instead test output section
and alignment.
(_bfd_merge_sections): Add struct bfd_link_info param. Call
_bfd_strip_section_from_output rather than just twiddling flags.
* libbfd-in.h (_bfd_add_merge_section): Rename, update comment.
(_bfd_merge_sections): Update prototype.
* libbfd.h: Regenerate.
ld/
* ldlang.c (lang_process): Call bfd_merge_sections later, and
only when not a relocatable link.
(print_input_section): Handle SEC_EXCLUDE sections.
(size_input_section): Don't update dot on SEC_EXCLUDE sections.
(lang_do_assignments_1): Likewise.
* ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
* emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
* emultempl/hppaelf.em (build_section_lists): Likewise.
* emultempl/ppc64elf.em (build_toc_list): Likewise.
(build_section_lists): Likewise.
2004-05-25 06:33:51 +00:00
Randolph Chung
81bb344354
2004-05-24 Randolph Chung <tausq@debian.org>
...
* gdb.asm/asm-source.exp: Enable test for hppa-linux target.
* gdb.asm/pa.inc: New file.
2004-05-25 04:07:05 +00:00
Randolph Chung
007d08bb90
2004-05-24 Randolph Chung <tausq@debian.org>
...
* thread.c (info_threads_command, thread_apply_all_command)
(thread_apply_command, thread_command, do_captured_thread_select):
Remove HPUXHPPA-specific code.
2004-05-25 03:59:29 +00:00
Randolph Chung
69e7b95e2e
2004-05-24 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.c (SR4EXPORT_LDIL_OFFSET, SR4EXPORT_LDO_OFFSET): Remove
unused symbols.
* hppa-tdep.h (HPPA_INSTRUCTION_SIZE): Remove, since there are no more
references.
2004-05-25 03:55:23 +00:00
gdbadmin
2ae9e72eb0
*** empty log message ***
2004-05-25 00:00:35 +00:00
Alan Modra
f021ea9c68
daily update
2004-05-25 00:00:07 +00:00
Joel Brobecker
4e8b076386
* gdb.texinfo (Starting): Document new start command.
2004-05-24 23:53:58 +00:00
Joel Brobecker
a4d5f2e026
* infcmd.c (kill_if_already_running): New function, extracted
...
from run_command().
(run_command): Replace extracted code by call to
kill_if_already_running().
(start_command): New function.
(_initialize_infcmd): Add "start" command.
2004-05-24 23:48:25 +00:00
Mark Kettenis
d34436e841
* netbsd-core.c: Correctly indent section that sets architecture
...
from machine ID.
2004-05-24 21:52:38 +00:00
Mark Kettenis
bf2ca189e8
Add OpenBSD/m88k support.
...
* NEWS (New native configurations): Mention OpenBSD/m88k.
* m88k-tdep.c, m88k-tdep.h, m88kbsd-nat.c, config/m88k/nm-obsd.h,
config/m88k/obsd.mh, config/m88k/obsd.mt: New files.
* Makefile.in (m88k_tdep_h): New variable.
(ALLDEPFILES): Add m88k-tdep.c and m88kbsd-nat.c.
(m88kbsd-nat.o, m88k-tdep.o): New dependencies.
* configure.host: Add m88*-*-openbsd*.
* configure.tgt: Add m88*-*-openbsd*.
2004-05-24 21:00:09 +00:00
Jim Blandy
80fadb1152
* MAINTAINERS (tracing bytecode stuff): Allow global maintainers
...
to approve changes.
2004-05-24 18:13:22 +00:00
Kevin Buettner
19e2d14b47
* symtab.c (fixup_section): Search section table when lookup by
...
name fails.
2004-05-24 16:11:17 +00:00
Mark Kettenis
2b6a3be6c8
Really add this file.
2004-05-24 16:09:10 +00:00
Randolph Chung
1b07b47063
2004-05-24 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.c: Fix handling of 8-byte structures; they should not
be "small_struct".
2004-05-24 15:36:31 +00:00