Alan Modra
0e2cfdce25
* elf.c (bfd_elf_sym_name): Rename from bfd_elf_local_sym_name.
...
(group_signature): Update calls.
* elf-bfd.h (bfd_elf_sym_name): Update.
* elf32-ppc.c (ppc_elf_relocate_section): Update.
* elf64-ppc.c (ppc64_elf_edit_opd, ppc64_elf_edit_toc)
(ppc64_elf_relocate_section): Update
* elflink.c (elf_link_input_bfd): Update.
2004-12-10 13:18:40 +00:00
Jakub Jelinek
138f35cc73
* elf.c (bfd_elf_local_sym_name): Avoid crashes with invalid
...
st_shndx on STT_SECTION sections.
2004-12-10 13:08:03 +00:00
Mark Kettenis
3cd36e7c72
* hppa-hpux-tdep.c (child_enable_exception_callback): Use XMALLOC.
...
(hppa_hpux_sigtramp_frame_unwind_cache): Use ARRAY_SIZE.
(hppa_hpux_init_abi): Reformat long line.
2004-12-10 10:45:33 +00:00
Mark Kettenis
08d5305588
* hppa-hpux-tdep.c: Include "regset.h".
...
(HPPA_HPUX_SS_WIDEREGS, HPPA_HPUX_SS_FLAGS_OFFSET)
(HPPA_HPUX_SS_NARROW_OFFSET, HPPA_HPUX_SS_FPBLOCK_OFFSET)
(HPPA_HPUX_SS_WIDE_OFFSET, HPPA_HPUX_SAVE_STATE_SIZE)
(HPPA_HPUX_PA89_SAVE_STATE_SIZE): New defines.
(hppa_hpux_supply_ss_narrow, hppa_hpux_supply_ss_fpblock)
(hppa_hpux_supply_ss_wide, hppa_hpux_supply_save_state): New
functions.
(hppa_hpux_regset): New variable.
(hppa_hpux_regset_from_core_section): New function.
(hppa_hpux_init_abi): Set regset_from_core_section.
(hppa_hpux_core_osabi_sniffer): New function.
(_initialize_hppa_hpux_tdep): Register
hppa_hpux_core_osabi_sniffer.
* Makefile.in (hppa-hpux-tdep.o): Update dependencies.
* config/pa/hppahpux.mt (TDEPFILES): Add corelow.o.
2004-12-10 09:42:10 +00:00
gdbadmin
5922e7530e
*** empty log message ***
2004-12-10 00:00:33 +00:00
Alan Modra
dc9298fc70
daily update
2004-12-09 23:00:24 +00:00
Jim Blandy
6b8fea993e
* MAINTAINERS: List 'depcomp' as part of automake.
2004-12-09 21:59:14 +00:00
Paul Brook
be1b2b4b3b
* config/tc-arm.c (s_arm_unwind_fnend): Use R_ARM_PREL31 relocation
...
for function start.
* testsuite/gas/arm/unwind.d: Expect R_ARM_PREL31 relocations.
2004-12-09 20:25:24 +00:00
Randolph Chung
45851e004a
2004-12-09 Randolph Chung <tausq@debian.org>
...
* solib-pa64.c (pa64_relocate_section_addresses): Properly relocate
text and data sections.
(pa64_current_sos): Also include the dld in the list of current shared
objects.
(pa64_solib_get_solib_by_pc): Update comments.
(pa64_solib_get_text_base): New function.
(pa64_solib_select): Set solib_get_text_base method.
2004-12-09 17:58:04 +00:00
Daniel Jacobowitz
f9cfae629f
* elfcode.h (elf_slurp_reloc_table_from_section): Don't canonicalize
...
ELF section symbols.
2004-12-09 16:17:42 +00:00
Ian Lance Taylor
dd22970fb5
* config/tc-mips.c (append_insn): If we emit a nop during a relax
...
sequence, increase the size of the sequence.
2004-12-09 15:51:32 +00:00
Ian Lance Taylor
42581a2496
* gas/mips/branch-swap.d: Pass -32 to as.
2004-12-09 15:44:17 +00:00
Ian Lance Taylor
3a6eb9c0d7
* ld-mips-elf/jalbal.d: New test.
...
* ld-mips-elf/jalbal.s: New test.
* ld-mips-elf/mips-elf.exp: Run it.
2004-12-09 07:14:53 +00:00
Ian Lance Taylor
1367d393bb
* elfxx-mips.c (mips_elf_calculate_relocation): For R_MIPS_JALR,
...
return a real value, unless it is a PLT symbol.
(mips_elf_perform_relocation): On the RM9000, turn a jal into a
bal if possible.
2004-12-09 07:12:28 +00:00
Ian Lance Taylor
74f79d8d75
* elfn32-mips.c (elf_mips_howto_table_rela): Change dst_mask of
...
R_MIPS_JALR entry to 0.
2004-12-09 06:32:41 +00:00
Ian Lance Taylor
ebcb91b7dc
* readelf.c (get_machine_flags): Handle E_MIPS_MACH_9000.
2004-12-09 06:19:12 +00:00
Ian Lance Taylor
9a92f48d3b
* config/tc-mips.c (mips_cpu_info_table): Change "9000" entry to
...
use CPU_RM9000.
2004-12-09 06:17:14 +00:00
Ian Lance Taylor
98e7aba8e2
* mips.h (CPU_RM9000): Define.
...
(OPCODE_IS_MEMBER): Handle CPU_RM9000.
2004-12-09 06:13:44 +00:00
Ian Lance Taylor
0d2e43ed77
* archures.c: Define bfd_mach_mips9000.
...
* elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_9000.
(mips_set_isa_flags): Handle bfd_mach_mips9000.
* cpu-mips.c (I_mips9000): Define.
(arch_info_struct): Add case for bfd_mach_mips9000.
* aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mips9000.
* bfd-in2.h: Regenerate.
2004-12-09 06:08:45 +00:00
Ian Lance Taylor
69881c930f
* mips.h (E_MIPS_MACH_9000): Define.
2004-12-09 06:02:45 +00:00
Ben Elliston
a2f33459ce
* arlex.l: Fix formatting.
2004-12-09 01:46:27 +00:00
Kazuhiro Inaoka
19e64aa99d
2004-12-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
...
Committed by Kei Sakamoto.
* traps-linux.c (m32r_trap): Add entries of the following dummy system
calls: __NR_mmap2, __NR_lchown32, __NR_getuid32, __NR_getgid32,
__NR_geteuid32, __NR_getegid32, __NR_getgroups32, __NR_fchown32,
__NR_setfsuid32, __NR_setfsgid32, __NR_getresuid32,
__NR_getresgid32 and __NR_chown32.
* syscall.h: Add new definitions of system call number.
2004-12-09 00:47:45 +00:00
gdbadmin
1626ace5e4
*** empty log message ***
2004-12-09 00:00:32 +00:00
Alan Modra
a81bcc1045
daily update
2004-12-08 23:00:05 +00:00
David Edelsohn
7341462ca6
* Makefile.def (flags_to_pass): Add PICFLAG_FOR_TARGET.
...
* Makefile.tpl (EXTRA_HOST_FLAGS): Add PICFLAG.
(EXTRA_TARGET_FLAGS): Add PICFLAG.
* Makefile.in: Regenerate.
2004-12-08 20:29:58 +00:00
Ian Lance Taylor
0efd416086
* ld-mips-elf/jaloverflow.d: New test.
...
* ld-mips-elf/jaloverflow.s: New test.
* ld-mips-elf/mips-elf.exp: Run it.
2004-12-08 20:28:08 +00:00
Ian Lance Taylor
728b2f2114
* elfxx-mips.c (mips_elf_calculate_relocation): Test for R_MIPS_26
...
overflow.
2004-12-08 20:27:50 +00:00
DJ Delorie
21fde4dc3d
* Makefile.tpl: Generate normal dependencies if the LHS module is
...
not bootstrapped.
* Makefile.in: Regenerate.
2004-12-08 18:57:27 +00:00
DJ Delorie
abe84df797
merge from gcc
2004-12-08 18:55:40 +00:00
Daniel Jacobowitz
434c4c7751
* acinclude.m4 (SRV_CHECK_THREAD_DB): Add ps_get_thread_area. Reset
...
LIBS when finished.
* aclocal.m4: Regenerated.
* configure: Regenerated.
2004-12-08 15:50:29 +00:00
Daniel Jacobowitz
1bac0d4d5f
* linux-thread-db.c (BUILD_THREAD): Delete.
...
(thread_get_info_callback): Include LWP ID in thread ID.
(thread_from_lwp, check_event, find_new_threads_callback): Likewise.
(lwp_from_thread): Use the LWP ID from the thread ID.
2004-12-08 15:10:30 +00:00
Randolph Chung
254ce0a11f
2004-12-07 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.c (hppa_frame_prev_register_helper): Zero out the entire
register for both 32- and 64-bit targets.
2004-12-08 06:12:40 +00:00
Jim Blandy
e1aac25bcf
* gdb.texinfo (General Query Packets): Specify that thread ID's in
...
the 'qC' and 'qThreadInfo' packets are unsigned hexidecimal
numbers.
2004-12-08 05:28:31 +00:00
Ben Elliston
6e33482eaa
* Makefile.in (.NOEXPORT): Move above the autogenerated line.
2004-12-08 03:13:28 +00:00
Ben Elliston
36607f990c
* doc/Makefile.am (config.texi): Emit a @set UPDATED command to
...
config.texi whose value is the current month and year.
* doc/Makefile.in: Rebuild.
* doc/binutils.texi: Set the document subtitle to be the value of
the Texinfo UPDATED variable (obtained from config.texi).
2004-12-08 02:50:40 +00:00
Randolph Chung
cc9bed8396
2004-12-07 Randolph Chung <tausq@debian.org>
...
* frame.c (get_prev_frame): Don't terminate unwinding at main if we
are unwinding through a dummy frame.
2004-12-08 01:56:16 +00:00
Randolph Chung
f77a2124d6
2004-12-07 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.h (gdbarch_tdep): Add unwind_adjust_stub method.
* hppa-hpux-tdep.c (hppa_hpux_unwind_adjust_stub): New function.
(hppa_hpux_init_abi) Set unwind_adjust_stub method.
* hppa-tdep.c (hppa_frame_cache): Call unwind_adjust_stub method
if defined.
2004-12-08 01:48:03 +00:00
Randolph Chung
f1b38a5791
2004-12-07 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.c (hppa_stub_Frame_unwind_cache): Stop unwinding if
unwinding from a frame with pc == 0.
(hppa_stub_frame_this_id): Likewise.
(hppa_stub_frame_prev_register): Only provide real values if the frame
cache is not NULL.
2004-12-08 01:44:02 +00:00
Randolph Chung
419b8bfb23
2004-12-07 Randolph Chung <tausq@debian.org>
...
* solib-som.c: New file.
* solib-som.h: New file.
* solib-pa64.c: New file.
* solib-pa64.h: New file.
2004-12-08 01:36:42 +00:00
DJ Delorie
62ce8ace27
merge from gcc
2004-12-08 01:02:33 +00:00
Hans-Peter Nilsson
027e2a04f1
* run.1: Document --sysroot=filepath.
...
* sim-options.c (STANDARD_OPTIONS): New member OPTION_SYSROOT.
(standard_options): Support --sysroot=<path>.
(standard_option_handler): Handle OPTION_SYSROOT.
* syscall.c (simulator_sysroot): Define, initialized empty.
(get_path): Prepend simulator_sysroot to absolute file path.
[HAVE_STRING_H]: Include string.h.
[!HAVE_STRING_H && HAVE_STRINGS_H]: Include strings.h.
* nrun.c [HAVE_UNISTD_H]: Include unistd.h.
(main): If simulator_sysroot is not empty, chdir there.
* sim-config.h (simulator_sysroot): Declare.
2004-12-08 00:40:30 +00:00
Ben Elliston
9888440ad6
* getopt.c: Include "ansidecl.h" for the ATTRIBUTE_UNUSED macro.
...
(_getopt_initialize): Annotate argc and argv parameters as unused.
* Makefile.in (getopt.o): Depend on $(INCDIR)/ansidecl.h.
2004-12-08 00:30:35 +00:00
gdbadmin
52e8304c2f
*** empty log message ***
2004-12-08 00:00:04 +00:00
Hans-Peter Nilsson
379832de9a
* configure: Regenerate for ../common/aclocal.m4 update.
2004-12-07 23:51:23 +00:00
Hans-Peter Nilsson
119860e511
* aclocal.m4 (SIM_AC_OUTPUT): Substitute @cgen_breaks@ for "break
...
cgen_rtx_error" in a CGEN-generated simulator.
* gdbinit.in: Break on sim_core_signal too. Have autoconf
replacement for CGEN-related breakpoints.
2004-12-07 23:37:35 +00:00
Alan Modra
18b05eb7a5
daily update
2004-12-07 23:00:05 +00:00
Hans-Peter Nilsson
70ae66113d
* Make-common.in (sim-basics_h): Add $(callback_h).
2004-12-07 22:28:53 +00:00
Mark Kettenis
6e93c4f78b
* Makefile.in (inf-ttrace.o): Fix typo.
2004-12-07 22:17:59 +00:00
Jim Blandy
c273b20f14
* remote.c (remote_threads_info, remote_current_thread): Use
...
strtoul to parse thread ID numbers.
2004-12-07 20:21:32 +00:00
DJ Delorie
9923bc337e
merge from gcc
2004-12-07 20:02:09 +00:00