Alan Modra
7c519c12a3
* ldlang.c (load_symbols): Don't call bfd_link_add_symbols when
...
just_syms_flag.
(lang_reasonable_defaults): Don't compare against false.
(size_input_section): Likewise.
(lang_size_sections_1): Likewise.
(lang_do_assignments): Likewise.
(lang_add_output): Likewise.
2002-10-14 13:08:19 +00:00
Alan Modra
c6db2f0545
* Makefile.am: Run "make dep-am".
...
* Makefile.in: Regenerate.
* ldver.c: #include "bfdver.h".
2002-10-14 12:09:18 +00:00
Alan Modra
b95d15c6c5
* Makefile.am: Run "make dep-am".
...
(CPU_OBJ_VALID): sh64 coff is invalid.
* as.c: #include "bfdver.h".
* Makefile.in: Regenerate.
* config.in: Regenerate.
2002-10-14 12:08:47 +00:00
Alan Modra
6e1a7e9a11
* Makefile.am: Run "make dep-am".
...
* objdump.c: #include "bfdver.h".
* version.c: Likewise.
* Makefile.in: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
2002-10-14 12:07:58 +00:00
Alan Modra
6d4eea05c7
* Makefile.in: Regenerate.
2002-10-14 12:06:23 +00:00
Alan Modra
6a0735efa4
* Makefile.am: Run "make dep-am".
...
(BFD_H_FILES): Remove version.h.
* bfd-in.h (BFD_VERSION, BFD_VERSION_DATE, BFD_VERSION_STRING): Move..
* version.h: ..to here.
* configure.in (bfd_version_date): Remove.
(AC_OUTPUT): Make bfdver.h from version.h.
* bfd.c: #include "bfdver.h".
* vms-hdr.c: Likewise.
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* po/SRC-POTFILES.in: Regenerate.
2002-10-14 12:06:04 +00:00
Alan Modra
ec266e19eb
* config/tc-v850.c (CHECK_): Remove token pasting operator.
2002-10-14 11:28:57 +00:00
Alan Modra
7c3e3b337e
* cgen-trace.h: Test __BFD_H_SEEN__ rather than BFD_VERSION.
2002-10-14 10:55:39 +00:00
Alan Modra
ea6a213a6f
* cgen.h: Test __BFD_H_SEEN__ rather than BFD_VERSION_DATE.
2002-10-14 10:55:14 +00:00
Richard Sandiford
8f6847cbf4
* configure.in (mips64vr-elf, mips64vrel-elf): New config.
...
* configure: Regenerate.
2002-10-14 06:59:06 +00:00
Alan Modra
686e4055ef
* archures.c (bfd_mach_i386_i386, bfd_mach_i386_i8086,
...
bfd_mach_i386_i386_intel_syntax, bfd_mach_x86_64,
bfd_mach_x86_64_intel_syntax bfd_mach_ppc, bfd_mach_ppc64,
bfd_mach_rs6k, bfd_mach_d10v, bfd_mach_sh, bfd_mach_v850,
bfd_mach_arc_5, bfd_mach_arc_6, bfd_mach_arc_7, bfd_mach_arc_8,
bfd_mach_m32r, bfd_mach_frv, bfd_mach_frvsimple,
bfd_mach_ia64_elf64, bfd_mach_ia64_elf32,
bfd_mach_ip2022, bfd_mach_ip2022ext,
bfd_mach_s390_31, bfd_mach_s390_64, bfd_mach_xstormy16): Renumber.
* bfd-in2.h: Regenerate.
2002-10-14 05:16:42 +00:00
Kaz Kojima
019dca2bd0
* config.bfd (sh*eb-*-linux*, sh*-*-linux*): Add the alternative
...
endian vector to targ_selvecs.
2002-10-14 02:12:36 +00:00
Adam Fedor
46c82446e1
source.c (print_source_lines): Update comments.
2002-10-14 02:12:04 +00:00
Adam Fedor
d069f99d46
valops.c (value_of_local): New function.
...
(value_of_this): Use it.
value.h (value_of_local): Declared.
2002-10-14 02:02:42 +00:00
Adam Fedor
53c551b7ca
parse.c: (length_of_subexp, prefixify_subexp): Handle
...
OP_MSGCALL, OP_SELECTOR, OP_NSSTRING, and OP_SELF.
2002-10-14 01:50:44 +00:00
gdbadmin
f9072f4138
*** empty log message ***
2002-10-14 00:01:02 +00:00
Alan Modra
e6f7ab6d94
daily update
2002-10-14 00:00:05 +00:00
Alexandre Oliva
10181a0dce
* config/tc-mips.c (s_gpdword): New function.
...
(mips_pseudo_table): Add .gpdword.
(mips_need_elf_addend_fixup): never for NEWABI.
(md_apply_fix3): Don't mark BFD_RELOC64 after GPREL16 or
GPREL32 as done.
(s_cpadd): Generate .cpadd on NEWABI.
2002-10-13 21:22:49 +00:00
Alexandre Oliva
bce03d3da8
* elfxx-mips.c (mips_elf_calculate_relocation): Take
...
save_addend argument. Don't apply the 32-bit mask to a
GPREL32 value if it's to be used in another relocation. Don't
use forced-check computation of local_p to decide whether to
add gp0 to GPREL16 value. Don't use only the lowest 16 bits
of the addend of a non-in-place GPREL16 relocation.
(_bfd_mips_elf_relocate_section): Pass use_saved_addend_p to
mips_elf_calculate_relocation().
2002-10-13 21:22:31 +00:00
Stephane Carrez
e1026ffb69
* scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN,
...
.finiN section.
* scripttempl/elfm68hc12.sc: Likewise.
2002-10-13 09:29:35 +00:00
Stephane Carrez
ac8c616a59
* m68hc11-dis.c (print_insn): Treat bitmask and branch operands
...
at the end.
2002-10-13 09:01:54 +00:00
gdbadmin
98db497e71
*** empty log message ***
2002-10-13 00:00:33 +00:00
Alan Modra
0b48e3df50
daily update
2002-10-13 00:00:04 +00:00
Adam Fedor
eb392fbf33
language.c (binop_result_type): Add language_objc to case.
...
(integral_type): Likewise.
(character_type): Likewise.
(string_type): Likewise.
(boolean_type): Likewise.
(structured_type): Likewise.
(binop_type_check): Likewise.
2002-10-12 16:03:30 +00:00
H.J. Lu
f9a3a01aef
2002-10-12 H.J. Lu (hjl@gnu.org)
...
* ld-discard/extern.d: Remove $srcdir/$subdir/.
* ld-discard/start.d: Likewise.
* ld-discard/static.d: Likewise.
* ld-linkonce/zeroehl32.d: Likewise.
* ld-selective/keepdot.d: Likewise.
* ld-selective/keepdot0.d: Likewise.
2002-10-12 15:40:13 +00:00
Stephane Carrez
9b691193ef
* elf32-m68hc11.c (m68hc11_elf_relax_section): Don't treat relocs
...
with symbols in other sections if we relaxed something; the sections
output offsets must be re-computed before.
2002-10-12 14:00:55 +00:00
Stephane Carrez
1f4c5b4746
* elf32-m68hc11.c (m68hc11_elf_relax_section): Update symbols
...
handling to use Elf_Internal_Sym.
(m68hc11_elf_relax_delete_bytes): Likewise.
2002-10-12 13:35:25 +00:00
Alan Modra
49181a6af7
* config/tc-ppc.c (ppc_cleanup): Make 'i' unsigned int.
2002-10-12 10:23:17 +00:00
Alexandre Oliva
63d0b39325
* gas/mips/mips.exp: Don't xfail relax.
...
* gas/mips/relax.s: Increase coverage.
* gas/mips/relax.d: Add expected output. Use relax.l for as stderr.
* gas/mips/relax.l: New file.
2002-10-12 05:26:56 +00:00
Alexandre Oliva
4a6a3df43d
* config/tc-mips.h (mips_relax_frag): Take segment as argument.
...
(md_relax_frag): Adjust macro.
* config/tc-mips.c (mips_relax_branch): New variable.
(RELAX_BRANCH_ENCODE, RELAX_BRANCH_P, RELAX_BRANCH_LIKELY,
RELAX_BRANCH_LINK, RELAX_BRANCH_TOOBAR): New.
(RELAX_MIPS16_P): Adjust.
(append_insn): Emit branch to non-constant in a frag_var if
branch-relaxation is desirable and possible.
(OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH): New options.
(OPTION_ELF_BASE): Adjust.
(md_parse_option): Handle new options.
(md_apply_fix3): Update comment on EMBEDDED_PIC conditional
branch relaxation.
(relaxed_branch_length): New function.
(md_estimate_size_before_relax): Handle branch frags.
(mips_relax_frag): Likewise.
(md_convert_frag): Handle branch frags. Warn if branch is
relaxed.
2002-10-12 05:23:33 +00:00
Adam Fedor
e2b23ee922
printcmd.c (address_info): Print 'self' for ObjC.
2002-10-12 03:06:01 +00:00
Adam Fedor
b01ab485c7
expression.h: New ops OP_NSSTRING, OP_SELECTOR, OP_MSGCALL, and OP_SELF.
2002-10-12 02:43:48 +00:00
Adam Fedor
806e607347
language.h (CAST_IS_CONVERSION): Add language_objc.
2002-10-12 02:39:12 +00:00
Adam Fedor
50f85cdfcf
defs.h (enum language): Add language_objc.
2002-10-12 02:28:22 +00:00
Klee Dienes
0d540cdfe7
2002-10-11 Klee Dienes <kdienes@apple.com>
...
* findvar.c (read_memory_typed_address): New function.
* gdbcore.h (read_memory_typed_address): Add prototype.
* blockframe.c (sigtramp_saved_pc): Use read_memory_typed_address
to read a value destined for a CORE_ADDR, not read_memory_integer.
* f-valprint.c (f77_get_dynamic_upperbound): Ditto.
(f77_get_dynamic_lowerbound): Ditto.
2002-10-12 01:48:17 +00:00
Alan Modra
52019e89e2
daily update
2002-10-12 00:00:04 +00:00
gdbadmin
6fc1847b56
*** empty log message ***
2002-10-12 00:00:02 +00:00
Martin Hunt
d5dc79609d
2002-10-11 Martin M. Hunt <hunt@redhat.com>
...
* utils.c (string_to_core_addr): After turning string into
a number, convert to a CORE_ADDR using INTEGER_TO_ADDRESS
which will do necessary sign-extension, etc.
2002-10-11 17:50:10 +00:00
Klee Dienes
c85508ee3c
2002-10-11 Klee Dienes <kdienes@apple.com>
...
* gdb.texinfo (Registers): Mention vector registers as well as
floating registers in the documentation for 'info registers' and
'info all-registers'.
2002-10-11 16:13:15 +00:00
Joern Rennecke
fd8f4948fe
gcc uses trap 33 for profiling, but the simulator didn't support it.
...
This patch fixes the gcc.dg/nest.c failures for sh-elf.
Fri Oct 11 16:22:28 2002 J"orn Rennecke <joern.rennecke@superh.com>
* interp.c (trap): Return int. Take extra parameter for address
of the trap instruction. Changed all callers.
Add case 33 for profiling.
* gencode.c (trapa): Handle trap 33 using the trap function.
Add read of vector for generic traps.
2002-10-11 15:31:28 +00:00
Kaz Kojima
6c381eeb71
* ld-sh/rd-sh.exp: If the test matches *-dso.d, copy the output
...
of linker to the file tmpdir/*-dso.so.
* ld-sh/tlsbin.s, ld-sh/tlsbinpic.s, ld-sh/tlslib.s: New.
* ld-sh/tlsbin-0-dso.d: New.
* ld-sh/tlsbin-1.d: New.
* ld-sh/tlsbin-2.d: New.
* ld-sh/tlsbin-3.d: New.
* ld-sh/tlsbin-4.d: New.
* ld-sh/tlspic1.s, ld-sh/tlspic2.s: New.
* ld-sh/tlspic-1.d: New.
* ld-sh/tlspic-2.d: New.
* ld-sh/tlspic-3.d: New.
* ld-sh/tlspic-4.d: New.
2002-10-11 14:44:55 +00:00
Kaz Kojima
94a03f18b8
* gas/sh/tlsd.s, gas/sh/tlsd.d: New.
...
* gas/sh/tlsnopic.s, gas/sh/tlsnopic.d: New.
* gas/sh/tlspic.s, gas/sh/tlspic.d: New.
* gas/sh/basic.exp: Add new tests.
2002-10-11 14:42:51 +00:00
Kaz Kojima
041bed02bf
* sh.h: Add SH TLS relocs.
2002-10-11 14:36:03 +00:00
Kaz Kojima
9efb3b7baf
* config/tc-sh.c (sh_force_relocation): Make sure TLS relocs get
...
emitted.
(md_apply_fix3): Add TLS relocs.
(sh_parse_name): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF and
@DTPOFF.
2002-10-11 14:34:46 +00:00
Kaz Kojima
3376eaf577
* elf32-sh.c (sh_elf_optimized_tls_reloc, sh_elf_mkobject,
...
sh_elf_object_p, dtpoff_base): New functions.
(sh_elf_howto_table): Add TLS relocs.
(sh_reloc_map): Likewise.
(sh_elf_info_to_howto): Support TLS relocs.
(elf_sh_link_hash_entry): Add tls_type and tls_tpoff32.
(sh_elf_hash_entry, sh_elf_tdata, sh_elf_local_got_tls_type):
New macros.
(sh_elf_obj_tdata): New.
(elf_sh_link_hash_table): Add tls_ldm_got.
(sh_elf_link_hash_table_create): Clear refcount of tls_ldm_got.
(allocate_dynrelocs): Support TLS relocs.
(sh_elf_size_dynamic_sections): Likewise.
(sh_elf_relocate_section): Support TLS relocs. Don't try to find
.rela.got section when found already. Return false after printing
error about unresolvable relocation.
(sh_elf_gc_sweep_hook): Support TLS relocs.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol): Likewise.
(bfd_elf32_mkobject, elf_backend_object_p): Define for TLS case.
* reloc.c: Add SH TLS relocs.
* libbfd.h: Regenerate.
2002-10-11 14:32:03 +00:00
Kaz Kojima
5dc976556d
* bfd-in2.h: Regenerate.
2002-10-11 14:28:29 +00:00
Daniel Jacobowitz
8343f86c90
* c-exp.y (THIS): Delete token and grammar rule.
...
(yylex): Don't return THIS.
* cp-valprint.c (vtbl_ptr_name_old): Delete.
(cp_is_vtbl_ptr_type): Don't check vtbl_ptr_name_old.
* demangle.c (cplus_markers): Update comment. Put '$'
first. Remove CPLUS_MARKER.
(_initialize_demangler): Don't call set_cplus_marker_for_demangling.
* jv-exp.y (THIS): Delete token and grammar rule.
(yylex): Don't return THIS.
* mips-tdep.c (mips_dump_tdep): Don't dump CPLUS_MARKER.
* objc-exp.y (THIS): Delete token and grammar rule.
(yylex): Don't return THIS.
* p-exp.y (yylex): Remove reference to CPLUS_MARKER.
* stabsread.c (vptr_name, vb_name): Replace CPLUS_MARKER with '$'.
(read_member_functions): Likewise for opname.
(read_tilde_fields): Use is_cplus_marker.
* defs.h (CPLUS_MARKER): Don't define.
* config/tm-sysv4.h (CPLUS_MARKER): Likewise.
* config/i386/xm-i386sco.h (CPLUS_MARKER): Likewise.
* config/mips/tm-irix3.h (CPLUS_MARKER): Likewise.
* config/mips/tm-irix6.h (CPLUS_MARKER): Likewise.
* config/rs6000/tm-rs6000.h (CPLUS_MARKER): Likewise.
* config/i386/tm-i386v4.h: Delete file.
* config/djgpp/fnchange.lst: Delete tm-i386v4.h.
* config/i386/tm-i386sol2.h: Include "i386/tm-i386.h" instead.
* config/i386/tm-i386v42mp.h: Include "i386/tm-i386.h" instead.
* config/i386/tm-ptx.h: Include "i386/tm-i386.h" instead.
* config/i386/i386gnu.mt (TM_FILE): Use tm-i386.h.
* config/i386/i386sco5.mt (TM_FILE): Likewise.
* config/i386/i386v4.mt (TM_FILE): Likewise.
* config/i386/ncr3000.mt (TM_FILE): Likewise.
2002-10-11 14:02:39 +00:00
Daniel Jacobowitz
6d12fc3d08
* gdbint.texinfo (CPLUS_MARKER): Remove item.
2002-10-11 14:01:04 +00:00
Daniel Jacobowitz
af39267ef5
* Makefile.am: Run dep-am.
...
(BFD32_LIBS): Add simple.lo.
(BFD32_LIBS_CFILES): Add simple.c.
* Makefile.in: Regenerated.
* bfd-in2.h: Regenerated.
* simple.c: New file.
2002-10-11 13:53:33 +00:00
Daniel Jacobowitz
eda81658db
* Makefile.am (BFD_H_DEP): Add simple.c and linker.c.
...
* Makefile.in: Regenerated.
2002-10-11 13:52:53 +00:00