Alan Modra
b1e61c4bf3
* ld-powerpc/powerpc.exp: Restrict to 32 bit ELF.
2002-09-30 05:54:51 +00:00
Alan Modra
17c2bdeefe
* ld-powerpc/reloc.s, ld-powerpc/reloc.d: New.
...
* ld-powerpc/powerpc.exp: New.
2002-09-30 05:25:20 +00:00
H.J. Lu
42f986191b
No need to set OTHER_GOT_RELOC_SECTIONS in emulparams/elf32ppclinux.sh.
2002-09-30 04:23:40 +00:00
Alan Modra
302cbfc210
* ld-i386/reloc.s, ld-i386/reloc.d: New.
...
* ld-i386/i386.exp: Run new test.
2002-09-30 03:35:18 +00:00
Alan Modra
ba49312244
* emultempl/elf32.em (output_rel_find): Always place orphan loadable
...
reloc sections just before .rel.plt/.rela.plt.
(gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code.
Only put loadable reloc sections in hold_rel.
2002-09-30 03:34:46 +00:00
Elena Zannoni
52575520c3
2002-09-29 Elena Zannoni <ezannoni@redhat.com>
...
* tui.c (tui_show_source): Don't access current_source_symtab, use
accessor function instead. Include source.h and symtab.h
* tuiDisassem.c (tuiShowDisassemAndUpdateSource,
tuiVerticalDisassemScroll): Use accessor functions for current
source line and symtab. Include source.h.
* tuiLayout.c (_extractDisplayStartAddr): Use accessor functions
for current source line and symtab. Include source.h.
* tuiWin.c (_makeVisibleWithNewHeight): Ditto.
* tuiSourceWin.c (tuiUpdateSourceWindowAsIs,
tuiHorizontalSourceScroll): Ditto.
* tuiSource.c (tuiVerticalSourceScroll): Ditto.
2002-09-30 00:52:27 +00:00
Alan Modra
b62460894d
daily update
2002-09-30 00:00:05 +00:00
gdbadmin
9c0c5ef93b
*** empty log message ***
2002-09-30 00:00:03 +00:00
H.J. Lu
fdb9132d5f
2002-09-29 H.J. Lu <hjl@gnu.org>
...
* ld/emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New.
* ld/emulparams/elf32ppclinux.sh (OTHER_GOT_RELOC_SECTIONS): New.
2002-09-29 23:59:49 +00:00
Andrew Cagney
c2463a00f4
2002-09-29 Andrew Cagney <ac131313@redhat.com>
...
Revert below (note that src does not contain Makefile.tpl):
* Makefile.tpl: Make subsituted variables more autoconfy.
* Makefile.in: Regenerate.
2002-09-29 17:19:28 +00:00
Andrew Cagney
0c22854d5e
2002-09-29 Andrew Cagney <ac131313@redhat.com>
...
* config/djgpp/fnchange.lst: Rename bfd/elf64-alpha.c and
bfd/elf64-alpha-fbsd.c.
2002-09-29 16:32:15 +00:00
Andrew Cagney
e67f202312
2002-09-29 Andrew Cagney <ac131313@redhat.com>
...
* config/djgpp/fnchange.lst: Rename i386gnu-nat.c and
i386gnu-tdep.c.
2002-09-29 16:20:21 +00:00
Nathanael Nerode
c11e16a954
2002-09-29 Nathanael Nerode <neroden@gcc.gnu.org>
...
* configure: Revert accidentally applied changes.
2002-09-29 16:12:36 +00:00
Nathanael Nerode
f03b47896d
2002-09-29 Nathanael Nerode <neroden@gcc.gnu.org>
...
* Makefile.tpl: Make more autoconf-friendly.
* Makefile.in: Regenerate.
* configure: Make substitution more autoconf-like.
2002-09-28 Richard Earnshaw <rearnsha@arm.com>
* configure.in (arm-*-coff, strongarm-*-coff, xscale-*-coff): Use a
single entry to handle all these.
(arm-*-elf, strongarm-*-elf, xscale-*-elf): Likewise. Also enable
libjava on arm-*-elf.
2002-09-29 15:59:34 +00:00
Andrew Cagney
8939621045
Zap __FUNCTION__.
2002-09-29 15:25:30 +00:00
Andrew Cagney
0aee02e418
Delete no-longer-needed tests.
2002-09-29 14:20:32 +00:00
gdbadmin
dacefbdd41
*** empty log message ***
2002-09-29 00:00:32 +00:00
Alan Modra
b98e220fe5
daily update
2002-09-29 00:00:04 +00:00
Jason Thorpe
624f0b2537
* elf32-vax.c (elf_vax_size_dynamic_section): Don't strip
...
.got sections.
2002-09-28 23:15:50 +00:00
Jason Thorpe
04ff5cb5c7
* config/tc-vax.c (md_estimate_size_before_relax): Only try to
...
convert undefined references to GOT32/PLT32 if PIC code is
requested. Fix comment.
2002-09-28 20:01:43 +00:00
Corinna Vinschen
7079c36ccc
* sh-tdep.c (sh_use_struct_convention): Use definition according to ABI.
...
(sh_push_arguments): Store in register with correct endianess.
(sh_default_store_return_value): Ditto.
(sh_gdbarch_init): Set sizeof long double to 8.
2002-09-28 16:11:29 +00:00
Alan Modra
b89fe0ee4b
* elf.c (map_sections_to_segments): Correct test for start of
...
writable section in the same page as end of read-only section.
2002-09-28 03:25:56 +00:00
Geoffrey Keating
c02920230d
* configure.in (powerpc-*-darwin*): Don't configure BFD, TK, or the
...
things that depend on them.
2002-09-28 01:44:34 +00:00
Kevin Buettner
6fde09ad29
* gdb.base/annota1.exp (info break): Make directory components of
...
path optional since not all compilers emit this debug information.
* gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
step ends up stepping out of the function instead of stopping on
the epilogue.
2002-09-28 01:12:04 +00:00
Daniel Jacobowitz
8ba4dac030
2002-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
...
* config/tc-sh.c (sh_force_relocation): Return 0 for
some PC relative relocations when not relaxing.
* testsuite/gas/sh/pcrel2.s: New.
* testsuite/gas/sh/pcrel2.d: New.
* testsuite/gas/sh/basic.exp: Add pcrel2 test.
2002-09-28 00:41:27 +00:00
gdbadmin
613d38b830
*** empty log message ***
2002-09-28 00:00:32 +00:00
Alan Modra
d6f80f8172
daily update
2002-09-28 00:00:05 +00:00
Andrew Cagney
058f270dea
Add support for -m option. Fix PR gdb/433.
2002-09-27 23:57:50 +00:00
Jason Thorpe
8f3f366625
* gas/vax/elf-rel.[ds]: New test.
...
* gas/vax/quad.exp: Move contents to...
* gas/vax/vax.exp: ...here. New file.
2002-09-27 23:36:01 +00:00
Jason Thorpe
b29635ba03
* elf32-vax.c (elf_vax_check_relocs): Remove unused
...
local_got_refcounts usage. Remove allocation of got slot.
(elf_vax_gc_sweep_hook): Remove unused local_got_refcounts usage.
Remove de-allocation of got slot.
(elf_vax_size_dynamic_section): Fix some indentation. Add hash
traversal for elf_vax_instantiate_got_entries. Allow empty .got
sections to be GC'ed.
(elf_vax_instantiate_got_entries): New function.
(elf_vax_relocate_section): Simplify R_VAX_GOT32 handling. Remove
tests that are now handled by elf_vax_instantiate_got_entries.
Assert GOT entry falls within .got section size. Remove redundant
comparisions. Fix comments.
2002-09-27 22:28:17 +00:00
Mark Kettenis
167baebf18
Last ChangeLog entry for defs.h is for both this patch and the previous patch.
2002-09-27 22:08:51 +00:00
Mark Kettenis
975ac915d6
* defs.h: Move inclusion of "ansidecl.h" before "gdb_locale.h".
...
Fix some whitespace problems.
2002-09-27 21:31:22 +00:00
Andrew Cagney
fe1198e63e
2002-09-27 Andrew Cagney <ac131313@redhat.com>
...
* hw_disk.c (hw_disk_init_address): Set device type to "block",
not "disk".
2002-09-27 21:02:14 +00:00
David Carlton
9bbe19fb37
2002-09-27 David Carlton <carlton@math.stanford.edu>
...
* Makefile.in (cris-tdep.o): Depend on gdb_string_h.
(mcore-tdep.o): Ditto.
(ns32k-tdep.o): Ditto.
(ns32knbsd-tdep.o): Ditto.
(sh3-rom.o): Ditto.
(vax-tdep.o): Ditto.
* cris-tdep.c: #include "gdb_string.h"
* mcore-tdep.c: Ditto.
* ns32k-tdep.c: Ditto.
* ns32knbsd-tdep.c: Ditto.
* sh3-rom.c: Ditto.
* vax-tdep.c: Ditto.
2002-09-27 19:33:48 +00:00
Jakub Jelinek
bffbf9406f
bfd/
...
* reloc.c: Add x86-64 TLS relocs.
* bfd-in2.h, libbfd.h: Rebuilt.
* elf64-x86-64.c (x86_64_elf_howto): Fix size fields for 32-bit
relocs. Add TLS relocs.
(x86_64_reloc_map): Add TLS relocs.
(elf64_x86_64_info_to_howto): Adjust for added TLS relocs.
(struct elf64_x86_64_link_hash_entry): Add tls_type field.
(GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD, GOT_TLS_IE): Define.
(elf64_x86_64_hash_entry): Define.
(struct elf64_x86_64_obj_tdata): New.
(elf64_x86_64_tdata, elf64_x86_64_local_got_tls_type): Define.
(struct elf64_x86_64_link_hash_table): Add tls_ld_got.
(link_hash_newfunc): Initialize tls_type.
(elf64_x86_64_link_hash_table_create): Initialize tls_ld_got.
(elf64_x86_64_copy_indirect_symbol): Swap tls_type if necessary.
(elf64_x86_64_mkobject): New.
(elf64_x86_64_elf_object_p): Allocate struct elf64_x86_64_obj_tdata.
(elf64_x86_64_tls_transition): New.
(elf64_x86_64_check_relocs): Add r_type variable and use it.
Handle TLS relocs.
(elf64_x86_64_gc_sweep_hook): Handle TLS relocs.
(allocate_dynrelocs): Allocate GOT space for TLS relocs.
(elf64_x86_64_size_dynamic_sections): Likewise.
(dtpoff_base, tpoff): New.
(elf64_x86_64_relocate_section): Handle TLS relocs.
(elf64_x86_64_finish_dynamic_symbol): Only handle non-TLS GOT
entries.
(bfd_elf64_mkobject): Define.
* elf32-i386.c (elf_i386_check_relocs) [R_386_TLS_LE]: Set
DF_STATIC_TLS if shared.
gas/
* config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs.
Define them if not BFD_ASSEMBLER.
(lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add
@tlsld.
(md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD,
BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF.
(tc_gen_reloc): Handle x86-64 TLS relocs.
include/
* elf/x86-64.h: Add TLS relocs.
ld/testsuite/
* lib/ld-lib.exp (run_ld_link_tests): Add.
* ld-sh/sh64/sh64.exp (run_ld_link_tests, regexp_diff,
file_contents): Remove.
(sh64tests): Add 6th field to the tests array.
* ld-i386/i386.exp (run_ld_link_tests): Remove.
* ld-x86-64/x86-64.exp: New.
* ld-x86-64/tlsbin.dd: New test.
* ld-x86-64/tlsbinpic.s: New test.
* ld-x86-64/tlsbin.rd: New test.
* ld-x86-64/tlsbin.s: New test.
* ld-x86-64/tlsbin.sd: New test.
* ld-x86-64/tlsbin.td: New test.
* ld-x86-64/tlslib.s: New test.
* ld-x86-64/tlspic1.s: New test.
* ld-x86-64/tlspic2.s: New test.
* ld-x86-64/tlspic.dd: New test.
* ld-x86-64/tlspic.rd: New test.
* ld-x86-64/tlspic.sd: New test.
* ld-x86-64/tlspic.td: New test.
2002-09-27 19:29:18 +00:00
David Carlton
43b2fdc74c
2002-09-27 David Carlton <carlton@math.stanford.edu>
...
* config/djgpp/fnchange.lst: Add entries for
gdb/testsuite/gdb.c++/m-static files.
2002-09-27 19:20:53 +00:00
Jim Wilson
2e8162cedb
Fix bug in support for trap instruction.
...
* simops (OP_10007E0): Don't subtract 4 from PC.
2002-09-27 18:59:08 +00:00
Jim Wilson
e8cfbbd913
* MAINTAINERS: Add myself to the Write After Approval list.
2002-09-27 18:58:04 +00:00
Jim Wilson
57514745d6
Add myself to write-after-approval section with Andrew Cagney's permission.
2002-09-27 18:55:44 +00:00
Andrew Cagney
7501537f4e
2002-07-12 Mo DeJong <supermo@bayarea.net>
...
* gdbmi.texinfo (var-evaluate-expression): Note that
var-list-children must be invoked before child variable
values can be evaluated.
2002-09-27 18:09:27 +00:00
Andrew Cagney
050be0dcbe
Use @sc{gcc} and @sc{gdb}.
2002-09-27 17:56:37 +00:00
H.J. Lu
502eccd936
2002-09-27 H.J. Lu <hjl@gnu.org>
...
* gas/mips/mips-jalx.s: Add ".p2align 4".
* gas/mips/mips16-jalx.s: Likewise.
* gas/mips/mips-jalx.d: Check nop.
* gas/mips/mips16-jalx.d: Likewise.
2002-09-27 14:53:16 +00:00
Keith Seitz
9e8aab7587
* lib/insight-support.exp (gdbtk_start): Figure out where
...
the insight executable is based on where gdb is. Use this
executable to start insight instead of gdb.
2002-09-27 14:49:26 +00:00
Alan Modra
8773354138
* config/tc-avr.c (md_apply_fix3): Reinstate code handling pcrel
...
fixups to current or absolute section.
2002-09-27 04:38:47 +00:00
Martin Hunt
4e0df2df38
2002-09-26Martin M. Hunt <hunt@redhat.com>
...
* mips-tdep.c (find_proc_desc): Initialize startaddr.
2002-09-27 00:49:01 +00:00
Alan Modra
1b29edd56e
daily update
2002-09-27 00:00:03 +00:00
gdbadmin
54726db0b4
*** empty log message ***
2002-09-27 00:00:02 +00:00
Andrew Cagney
9f3b7f0716
2002-09-26 Andrew Cagney <ac131313@redhat.com>
...
* rs6000-tdep.c (rs6000_frame_chain): Don't chain past the dummy
frame.
2002-09-26 22:34:07 +00:00
Andrew Cagney
11269d7ebb
2002-09-26 Andrew Cagney <ac131313@redhat.com>
...
* rs6000-tdep.c (rs6000_extract_struct_value_address): Return 0.
(rs6000_struct_return_address): Delete variable.
(rs6000_store_struct_return): Update.
(rs6000_gdbarch_init): Set extract_struct_value_address instead of
deprecated_extract_struct_value_address.
(rs6000_frame_align): New function.
(rs6000_gdbarch_init): Set frame_align.
2002-09-26 22:29:09 +00:00
Jim Wilson
825487fa2d
Fix v850 .offset pseudo-op
...
* config/tc-v850.c (v850_offset): Use frag_var instead of frag_now_fix
and frag_more.
2002-09-26 22:04:19 +00:00