Alan Modra
4565652e33
* ld-i386/i386.exp (reloc): Turn off combreloc.
...
* ld-i386/reloc.d: Likewise.
* ld-powerpc/powerpc.exp: Likewise.
* ld-powerpc/reloc.d: Likewise.
2002-10-10 02:53:17 +00:00
Alan Modra
24cdb50ae8
* emultempl/elf32.em (output_rel_find): Prefer .rel script sections
...
when orphan is .rel, .rela when orphan is .rela.
(gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case
first. Remove outsecname var.
2002-10-10 02:52:27 +00:00
gdbadmin
6bfb5a1c9d
*** empty log message ***
2002-10-10 00:00:32 +00:00
Alan Modra
aaa9de95f4
daily update
2002-10-10 00:00:03 +00:00
Stephen Clarke
42bf09b2b1
* gas/elf.exp: Don't run for sh64*-*-linux*, because it sets the
...
lsb in SHmedia code addresses.
* gas/sh/basic.exp: Force SHcompact for sh64*-*-linux* to enable
recognition of SH-1/2/3/4 instructions.
(proc do_fp): Do not run dsp tests for sh64*-*-linux*.
* gas/sh/sh64/abi-32.d: Adjust expected output to include
sh64*-*-linux* formats too.
* gas/sh/sh64/abi-64.d, gas/sh/sh64/basic-1.d,
gas/sh/sh64/case-1.d, gas/sh/sh64/case-noexp-1.d,
gas/sh/sh64/crange1-1.d, gas/sh/sh64/crange1-2.d,
gas/sh/sh64/crange2-1.d, gas/sh/sh64/crange2-2.d,
sh/sh64/crange2-noexp-1.d, gas/sh/sh64/crange3-1.d,
gas/sh/sh64/crange4-1.d, gas/sh/sh64/crange5-1.d,
gas/sh/sh64/creg-1.d, gas/sh/sh64/creg-2.d, gas/sh/sh64/datal-2.d,
gas/sh/sh64/datal32-1.d, gas/sh/sh64/datal32-3.d,
gas/sh/sh64/datal64-1.d, gas/sh/sh64/datal64-3.d,
gas/sh/sh64/endian-1.d, gas/sh/sh64/endian-2.d,
gas/sh/sh64/err-noexp-cmd1.s, gas/sh/sh64/immexpr32-1.d,
gas/sh/sh64/immexpr32-2.d, gas/sh/sh64/immexpr64-1.d,
gas/sh/sh64/immexpr64-2.d, gas/sh/sh64/lineno.d,
gas/sh/sh64/localcom-1.d, gas/sh/sh64/mix-1.d,
gas/sh/sh64/mix-noexp-1.d, gas/sh/sh64/movi-3.d,
gas/sh/sh64/movi32-1.d, gas/sh/sh64/movi32-2.d,
gas/sh/sh64/movi32-noexp-2.d, gas/sh/sh64/movi64-1.d,
gas/sh/sh64/movi64-2.d, gas/sh/sh64/movi64-3.d,
gas/sh/sh64/movi64-noexp-2.d, gas/sh/sh64/pt-1.d,
gas/sh/sh64/pt-noexp-1.d, gas/sh/sh64/pt32-1.d,
gas/sh/sh64/pt32-noexp-2.d, gas/sh/sh64/pt64-1.d,
gas/sh/sh64/pt64-32-1.d, gas/sh/sh64/pt64-32-2.d,
gas/sh/sh64/pt64-noexp-2.d, gas/sh/sh64/ptc32-1.d,
gas/sh/sh64/ptc32-noexp-1.d, gas/sh/sh64/ptc64-1.d,
gas/sh/sh64/ptc64-32-1.d, gas/sh/sh64/ptc64-noexp-1.d,
gas/sh/sh64/ptext32-1.d, gas/sh/sh64/ptext32-noexp-1.d,
gas/sh/sh64/ptext64-1.d, gas/sh/sh64/ptext64-32-1.d,
gas/sh/sh64/ptext64-noexp-1.d, gas/sh/sh64/rel32-1.d,
gas/sh/sh64/rel32-2.d, gas/sh/sh64/rel32-3.d,
gas/sh/sh64/rel32-4.d, gas/sh/sh64/rel32-5.d,
gas/sh/sh64/rel64-1.d, gas/sh/sh64/rel64-2.d,
gas/sh/sh64/rel64-3.d, gas/sh/sh64/rel64-4.d,
gas/sh/sh64/rel64-5.d, gas/sh/sh64/relax-1.d,
gas/sh/sh64/relax-2.d, gas/sh/sh64/relax-3.d,
gas/sh/sh64/shift32-1.d, gas/sh/sh64/shift32-3.d,
gas/sh/sh64/shift32-noexp-3.d, gas/sh/sh64/shift64-1.d,
gas/sh/sh64/shift64-2.d, gas/sh/sh64/shift64-3.d,
gas/sh/sh64/shift64-noexp-3.d, gas/sh/sh64/syntax-1.d,
gas/sh/sh64/syntax-2.d, gas/sh/sh64/ua32-1.d,
gas/sh/sh64/ua64-1.d: Likewise.
2002-10-09 19:40:42 +00:00
Stephen Clarke
a2b3c63041
* Makefile.am: Add eshelf32_linux.o and
...
eshlelf32_linux.o, new emulations for sh64 Linux.
* Makefile.in: Regenerate.
* configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations.
* emulparams/shelf32_linux.sh: New file.
* emulparams/shlelf32_linux.sh: New file.
2002-10-09 19:09:59 +00:00
Stephen Clarke
f61dfddf2d
* config/tc-sh64.c (sh64_target_format): Add support for sh64
...
Linux environment.
2002-10-09 19:07:43 +00:00
Stephen Clarke
efacd36e84
* Makefile.am: Add entries for elf32-sh64-lin.c and
...
elf64-sh64-lin.c. Regenerate.
* Makefile.in: Regenerate.
* config.bfd: Change sh64eb-*-linux* and sh64-*-linux*
to use sh64 vectors rather than sh vectors.
* configure.in: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec,
bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec.
* configure: Regenerate.
* elf32-sh64-lin.c: New file.
* elf64-sh64-lin.c: New file.
* targets.c: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec,
bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec.
2002-10-09 19:03:57 +00:00
Daniel Jacobowitz
09fc3b0230
* readelf.c (display_debug_info): Ignore empty .rela.debug_info
...
sections. Allow relocations against the absolute symbol. Don't
use the value in compunit.cu_abbrev_offset if we found a RELA
relocation.
2002-10-09 13:44:27 +00:00
Marko Mlinar
f74fa174bf
Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C
2002-10-09 11:59:54 +00:00
Jim Blandy
57349743d5
2002-10-08 Petr Sorfa <petrs@caldera.com>
...
Revised and re-submitted by John Wolfe <jlw@caldera.com>
Move the Dwarf 2 abbrev table to a per-compilation-unit structure,
so we can work on more than one compilation unit at a time. This
helps prepare GDB to handle inter-CU die references.
* dwarf2read.c (ABBREV_HASH_SIZE): moved definition forward in
the code to be defined before struct comp_unit_head.
(comp_unit_head): Added new members - offset, cu_head,
begin_die, next and dwarf2_abbrevs.
(dwarf2_abbrevs): Removed single static var; now member of
struct comp_unit_head.
dwarf2_build_psymtabs_hard): Complete new struct comp_unit_head
members.
(psymtab_to_symtab_1): Changed to work with the new
struct comp_unit_head.
(dwarf2_read_abbrevs): Now accepts a cu_header parameter and
constructs the dwarf2_abbrevs[] inside the cu_header.
(dwarf2_empty_abbrev_table): Now expects a ptr to a
dwarf2_abbrev table to clean up.
(dwarf2_lookup_abbrev): Now accepts a cu_header parameter and
handling of dwarf2_abbrevs inside the cu_header.
(read_partial_die): Now supports the call to the new
dwarf2_lookup_abbrev.
(read_full_die): Now supports the call to the new
dwarf2_lookup_abbrev.
2002-10-09 04:43:49 +00:00
Alan Modra
d14a0ab1e1
daily update
2002-10-09 00:00:05 +00:00
gdbadmin
3820f9c969
*** empty log message ***
2002-10-09 00:00:02 +00:00
H.J. Lu
c04c958616
2002-10-08 H.J. Lu <hjl@gnu.org>
...
* ldlang.c (lang_file_exist): Removed.
(new_afile): Revert the last change.
* ldlang.h (lang_file_exist): Removed.
* lexsup.c (parse_args): Revert the last change.
2002-10-08 20:12:45 +00:00
H.J. Lu
299bf75951
2002-10-08 H.J. Lu <hjl@gnu.org>
...
* elf32-i386.c (elf_i386_relocate_section): Re-arrange the
IE->LE transition for R_386_TLS_IE.
2002-10-08 16:11:07 +00:00
Alan Modra
51020317ee
* elf64-ppc.c (edit_opd): Correct test for discarded sections.
2002-10-08 09:51:09 +00:00
gdbadmin
d8ac458a38
*** empty log message ***
2002-10-08 00:00:32 +00:00
Alan Modra
498b1dfee9
daily update
2002-10-08 00:00:05 +00:00
Nick Clifton
f309035a88
Read in dynamic symbols if no ordinary ones are available.
2002-10-07 17:25:08 +00:00
Nick Clifton
ff72e302f8
Add tic4x target.
2002-10-07 16:40:56 +00:00
Nick Clifton
39cebe23da
Don't re-export auto-import symbols.
2002-10-07 16:36:11 +00:00
Nick Clifton
a8fcf37848
Don't mark relocations in excluded sections.
2002-10-07 16:27:39 +00:00
Nick Clifton
53b2a62f07
Abort if the filename to be added matches the linker output filename.
2002-10-07 16:08:21 +00:00
Alan Modra
a6b511bd9e
* elflink.h (elf_link_input_bfd): Remove BFD_VERSION_DATE dependent
...
code.
2002-10-07 00:14:28 +00:00
Alan Modra
a16d5acb50
* elf64-ppc.c (ppc64_elf_build_stubs): Increment .glink indx.
2002-10-07 00:06:01 +00:00
gdbadmin
33d77d9173
*** empty log message ***
2002-10-07 00:00:32 +00:00
Alan Modra
5f75af3aae
daily update
2002-10-07 00:00:03 +00:00
DJ Delorie
0d3deb8deb
merge from gcc
2002-10-06 20:21:01 +00:00
Christopher Faylor
4092aadbf4
* Makefile.in (install-gdbtk): Add missing continuation backslash to insure
...
that shell variables, such as "transformed_name" are propagated to later shell
statements in rule.
2002-10-06 19:53:52 +00:00
Mark Kettenis
af0b251250
* config/i386/nm-i386sco.h: Add protection against
...
multiple-inclusion. Include "i386/nm-i386v.h".
(REGISTER_U_ADDR): Remove define.
(i386_register_u_addr): Remove prototype.
2002-10-06 18:37:13 +00:00
Alan Modra
7c4a37eb43
* opncls.c: Formatting.
...
(_bfd_new_bfd): Use a smaller section hash table.
2002-10-06 09:03:06 +00:00
gdbadmin
cace1e4b25
*** empty log message ***
2002-10-06 00:00:32 +00:00
Alan Modra
f84e2993b2
daily update
2002-10-06 00:00:06 +00:00
Alexandre Oliva
7c4ca42da5
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Set the type
...
of the other two relocations packed with a REL32 to NONE.
2002-10-05 11:18:13 +00:00
gdbadmin
bda09c6aa5
*** empty log message ***
2002-10-05 00:00:31 +00:00
Alan Modra
d8d70ddf93
daily update
2002-10-05 00:00:04 +00:00
Michael Snyder
d6020d455d
2002-10-04 Michael Snyder <msnyder@redhat.com>
...
* m32r-stub.c (handle_exception): Make sure exception is "trap"
before treating it as a single-step event.
2002-10-04 22:17:36 +00:00
H.J. Lu
8b0eebb0b0
2002-10-03 H.J. Lu <hjl@gnu.org>
...
* ld-elfvers/vers21.c (_old_foobar): Initialized to -1 for gcc
3.x.
2002-10-04 07:40:42 +00:00
Adam Fedor
7248f48e57
2002-10-03 Adam Fedor <fedor@gnu.org>
...
* objc-lang.c: ARI fixes. Change string.h to gdb_string.h.
(objc_demangle): Remove assignment in if statements, Replace
free with xfree.
(add_msglist): Likewise.
(end_msglist): Likewise.
(complare_selectors): Likewise.
(selectors_info): Likewise.
(compare_classes): Likewise.
(classes_info): Likewise.
(print_object_command): Likewise.
(find_objc_msgcall_submethod): Replace PTR with void *.
* objc-lang.h: Remove check for __STDC__.
2002-10-04 01:18:48 +00:00
gdbadmin
62823d4d45
*** empty log message ***
2002-10-04 00:00:32 +00:00
Alan Modra
bd8f55f370
daily update
2002-10-04 00:00:04 +00:00
Chris Demetriou
30a2f863bc
2002-10-03 Chris Demetriou <cgd@broadcom.com>
...
* ld-mips-elf/branch-misc-1.d: Link at 0x500000 and use -N, to be
more compatible with non-embedded targets.
* ld-mips-elf/branch-misc-2.d: Likewise.
* ld-mips-elf/mips-elf.exp: Clean up some comments about embedded
PIC tests.
(elf): New variable, to control whether generic ELF tests are run.
(embedded_elf): New variable, to control whether ELF tests
requiring embedded PIC or embedded relocs are run.
2002-10-03 23:56:24 +00:00
Chris Demetriou
21bd8c3134
2002-10-03 Chris Demetriou <cgd@broadcom.com>
...
* gas/mips/mips-no-jalx.l: Make error message regexps accomodate
tools which target a specific CPU by default.
2002-10-03 23:53:09 +00:00
Jeff Johnston
52c6a6ac2d
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
...
* ui-out.h (ui_out_field_fmt_int): New prototype.
* ui-out.c (ui_out_field_fmt_int): New function allowing specification
of field width and alignment.
* stack.c (print_frame_info_base): When printing frame level, use
ui_out_field_fmt_int with a width of 2 and left alignment. Fix for
PR gdb/192
2002-10-03 22:34:58 +00:00
Jeff Johnston
c18008c5d8
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
...
* mi-return.exp: Change expected frame output to remove extraneous
space in level field when frame level is single digit. Part of
fix for PR gdb/192.
* mi-stack.exp: Ditto.
* mi1-return.exp: Ditto.
* mi1-stack.exp: Ditto.
2002-10-03 22:33:15 +00:00
Jeff Johnston
9f2aab2d0a
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
...
* gdbmi.texinfo: Fix examples that show frames to remove
extraneous blank in level field. Part of fix for PR gdb/192.
2002-10-03 22:31:31 +00:00
Jeff Johnston
8d19fbd261
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
...
* gdbint.texinfo (Item Output Functions): Add new ui_out_field_fmt_int
interface definition.
2002-10-03 22:30:01 +00:00
Jeff Johnston
7e3cec1774
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
...
* MAINTAINERS: Add self to Write After Approval list.
2002-10-03 20:23:56 +00:00
Jeff Johnston
93cae4bfd9
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
...
* mi-var-block.exp: Change expected output from -var-update
command to expect list format for "changelist". Fix for
PR gdb/672.
* mi-var-cmd.exp: Ditto.
* mi-var-child: Ditto.
2002-10-03 20:03:55 +00:00
Jeff Johnston
3a387118eb
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
...
* mi-cmd-var.c (mi_cmd_var_update): Fix for PR gdb/672. For m2,
output list begin and end for "changelist" rather than tuple begin/end.
(varobj_update_one): For m2, add tuple begin and end for varobj
update output.
2002-10-03 20:02:13 +00:00