Kevin Buettner
073063d718
Protoize.
2000-08-23 16:37:23 +00:00
Alexandre Oliva
a3da4de1ac
* config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
...
environment is pe.
2000-08-23 11:19:20 +00:00
Eli Zaretskii
1c85fbd95c
* gdbmi.texinfo: Change flathead -> @sc{gdb/mi}.
...
Fix typos and markup mistakes (from Dmitry S.
Sivachenko <dima@Chg.RU>).
2000-08-23 09:15:25 +00:00
Nick Clifton
371e71b8de
Fix bugs detecting w65 architecture.
2000-08-22 20:11:36 +00:00
H.J. Lu
ec4eb78a39
2000-08-22 H.J. Lu <hjl@gnu.org>
...
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
LD_LIBRARY_PATH for native linker. Display the needed DSO if
trace_file_tries is non-zero.
(gld${EMULATION_NAME}_try_needed): Report the needed DSO found
if trace_file_tries is non-zero.
* ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
* News: Mention it.
2000-08-22 19:34:37 +00:00
H.J. Lu
a963dc6ade
2000-08-22 H.J. Lu <hjl@gnu.org>
...
* elf-bfd.h (elf_link_hash_table): Add runpath.
* bfd-in.h (bfd_elf_get_runpath_list): New prototype.
* bfd-in2.h: Rebuilt.
* elf.c (_bfd_elf_link_hash_table_init): Initialize the
"runpath" field to NULL.
(bfd_elf_get_runpath_list): New function.
* elflink.h (elf_link_add_object_symbols): Record DT_RPATH and
DT_RUNPATH entries.
2000-08-22 19:33:16 +00:00
Dave Brolley
4193618c3c
Forgot to check this in with last commit!
2000-08-22 19:27:32 +00:00
H.J. Lu
56385375da
2000-08-22 H.J. Lu <hjl@gnu.org>
...
* config.in (STRICTCOFF): New for strict COFF.
* configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*,
i386-*-go32* and i386-go32-rtems*.
* configure: Rebuilt.
* config/obj-coff.c (obj_coff_endef): Follow the historical
behavior if STRICTCOFF is not defined.
* doc/internals.texi: Document STRICTCOFF.
2000-08-22 19:14:32 +00:00
H.J. Lu
5e0c222624
2000-08-21 H.J. Lu <hjl@gnu.org>
...
* gas/all/cofftag.d: Support the strict COFF.
2000-08-22 19:11:55 +00:00
Alexandre Oliva
ce2ea6e3fd
* config-ml.in (CC, CXX): Avoid trailing whitespace.
...
(LD_LIBRARY_PATH, SHLIB_PATH): Adjust for multilibs and export to
sub-configures.
2000-08-22 05:01:20 +00:00
Alexandre Oliva
9bdafcced4
* elf32-sh.c (sh_elf_relocate_section) [R_SH_IND12W,
...
R_SH_DIR8WPN, R_SH_DIR8WPZ, R_SH_DIR8WPL]: Handle them
explicitly. Improve validation of r_type.
2000-08-22 04:58:25 +00:00
Alexandre Oliva
8f36cd18af
* write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
...
(fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE.
* config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
<OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define.
* config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
<OBJ_ELF> (TC_FIX_ADJUSTABLE): Define.
* config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h:
Likewise.
2000-08-22 04:52:40 +00:00
Eric Christopher
58a77e418b
2000-08-22 Eric Christopher <echristo@cygnus.com>
...
* config/tc-mn10300.c: (md_apply_fix): New function.
(mn10300_force_relocation): New function.
(mn10300_fix_adjustable): New function.
* config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define.
(TC_HANDLES_FX_DONE): Define.
(obj_fix_adjustable): Define.
(MD_APPLY_FIX3): Define.
(TC_LINKRELAX_FIXUP): Define.
* write.c: (TC_LINKRELAX_FIXUP): Define if not
previously defined.
(fixup_segment): Use TC_LINKRELAX_FIXUP.
* doc/internals.texi: Document TC_LINKRELAX_FIXUP.
2000-08-22 01:20:41 +00:00
Nick Clifton
7a9af8c4a0
Zero out the dynamic allocated content space. Add a comment to remind us that
...
one day this ought to be fixed.
2000-08-21 23:42:56 +00:00
Jason Eckhardt
ded0649cd5
2000-08-21 Jason Eckhardt <jle@cygnus.com>
...
bfd:
* elf32-i860.c (elf32_i860_relocate_pc16): Just write the immediate
field with the newly relocated value instead of adding it to the
existing immediate field.
(elf32_i860_relocate_splitn): Likewise.
(elf32_i860_relocate_highadj): Likewise.
gas:
* config/tc-i860.c (md_apply_fix3): Do not insert the immediate
if the fixup resulted in a relocation.
2000-08-21 23:26:19 +00:00
Nick Clifton
c8c5888ebc
Changed email address of Ulrich Lauther
2000-08-21 20:30:04 +00:00
Kevin Buettner
9df3df999d
Protoization.
2000-08-21 17:30:58 +00:00
Frank Ch. Eigler
604259a086
* Contribute CGEN simulator build support code.
...
* Patch was posted by bje@redhat.com .
2000-08-21 15:52:39 +00:00
Doug Evans
9765193ec2
* Makefile.in (ALL_MODULES): Add all-cgen.
...
(CROSS_CHECK_MODULES,INSTALL_MODULES,CLEAN_MODULES): Similarily.
(all-cgen): New target.
(all-opcodes,all-sim): Depend on all-cgen.
* configure.in (host_tools): Add cgen.
Only configure cgen if --enable-cgen-maint.
2000-08-20 22:56:17 +00:00
Andrew Cagney
9103eae082
Check arches->gdbarch and not current_gdbarch when looking for a match.
2000-08-19 05:32:23 +00:00
J.T. Conklin
e99586d56a
* MAINTAINERS: Add myself as dcache.c maintainer.
...
* remote-nindy.c (nindy_load): Invalidate dcache.
* dcache.c (dcache_invd): Renamed from dcache_flush. The term
flush with respect to caches usually implies that data will be
written to memory.
(dcache_init, dcache_xfer_memory): Updated.
* monitor.c (flush_monitor_dcache, monitor_resume, monitor_load):
Updated.
* ocd.c (ocd_open, ocd_resume, bdm_reset_command): Updated.
* remote-bug.c (bug_load, bug_resume): Updated.
* remote-nindy.c (nindy_open, nindy_resume): Updated.
* remote-sds.c (sds_open, sds_resume): Updated.
* remote-utils.c (gr_open): Updated.
* remote.c (remote_open_1, remote_resume, remote_async_resume,
remote_cisco_open): Updated.
* wince.c (child_create_inferior, child_resume): Updated.
* monitor.c (monitor_open): Free dcache before creating a new one.
* dcache.c (dcache_free): New function.
* dcache.h (dcache_free): New prototype.
-------------------------------------------------------------------
2000-08-18 22:52:23 +00:00
Andrew Cagney
3f0845370f
Add dummy params where needed.
2000-08-18 22:02:43 +00:00
Nick Clifton
66102fe268
Replace as_tsktsk with as_warn.
...
Make reference to first element of shift_names explicit.
2000-08-18 19:27:30 +00:00
Alexandre Oliva
021986386e
* write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
...
obj_fix_adjustable() and tc_fix_adjustable() to tell whether to
add a symbol's address. Removed all target-specific #ifdefs that
used to accomplished the same.
* config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
* config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
* config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
* config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
* config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
2000-08-18 18:45:05 +00:00
H.J. Lu
2ac374c471
2000-08-17 Christopher C. Chimelis <chris@debian.org>
...
* objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2000-08-18 01:58:12 +00:00
Kazu Hirata
353e2c6994
2000-08-17 Kazu Hirata <kazu@hxi.com>
...
* dwarf2dbg.c: Fix formatting.
2000-08-18 01:42:14 +00:00
Nick Clifton
004af544ae
Minor formatting changes
2000-08-17 23:57:52 +00:00
Nick Clifton
4fb7971f4b
Allow illegal shifts by zero to be recorded as logical shift lefts by zero.
2000-08-17 23:46:43 +00:00
Nick Clifton
3f215a1093
Catch and warn about attempts to display debug information for version 1 aranges.
2000-08-17 23:00:38 +00:00
Alexandre Oliva
d7b325206e
* config-ml.in (CC, CXX): Don't introduce a leading space.
2000-08-17 15:18:39 +00:00
Jim Wilson
50b81f1903
Fix 3 DV bugs, and a few minor cleanups.
...
gas/
* config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
postincrement modified registers. Handle IA64_OPND_R3_2 addl
source registers.
(note_register_values): Handle IA64_OPND_R3_2 operands.
gas/testsuite/
* gas/ia64/dv-raw-err.s: Add new tests for addl and postinc.
* gas/ia64/dv-raw-err.l: Likewise.
* gas/ia64/dv-waw-err.l: Update sed pattern.
* gas/ia64/opc-f.pl: Delete fpsub, and fpadd comment.
* gas/ia64/opc-f.s, gas/ia64/opc-f.d: Regenerate.
include/opcode/
* ia64.h (IA64_OPCODE_POSTINC): New.
opcodes/
* ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds. Delete
break, mov-immediate, nop.
* ia64-opc-f.c: Delete fpsub instructions.
* ia64-opc-m.c: Add POSTINC to all instructions with postincrement
address operand. Rewrite using macros to avoid long lines.
* ia64-opc.h (POSTINC): Define.
* ia64-asmtab.c: Regenerate.
2000-08-16 23:20:15 +00:00
Jason Eckhardt
d670a150a1
2000-08-16 Jason Eckhardt <jle@cygnus.com>
...
* elf32-i860.c (elf32_i860_relocate_pc16): Implemented function (it
was previously just a stub).
2000-08-16 21:58:55 +00:00
Jason Eckhardt
f869cfc65e
2000-08-16 Jason Eckhardt <jle@cygnus.com>
...
* config/tc-i860.c (md_operand): Silly typo fixed.
2000-08-16 21:34:45 +00:00
Nick Clifton
8cb8bcbabb
Tidy up decoding of shift based addressing modes.
...
Add extra tests for these addressing modes
2000-08-16 19:02:00 +00:00
Alexandre Oliva
e52ef561b8
* configure.in (libstdcxx_flags): Use
...
libstdc++-v3/src/libstdc++.INC.
2000-08-16 18:37:42 +00:00
Alexandre Oliva
bb0deeff61
* elflink.c (_bfd_elf_create_got_section): Don't abort().
...
Formatting fixes.
(_bfd_elf_create_dynamic_sections): Likewise.
2000-08-16 18:02:16 +00:00
Jakub Jelinek
c2158c2433
* config/tc-sparc.c: Kill all warnings.
...
(md_parse_option): Set -32/-64 for -xarch=, allow all -A archs
in -xarch= as well.
(md_show_usage): Update usage text.
2000-08-16 17:52:37 +00:00
Nick Clifton
70485b5c18
Warn abouyt "bx pc" not being very useful.
2000-08-16 17:48:50 +00:00
Jakub Jelinek
be040dbb5b
* elf64-sparc.c (sparc64_elf_relocate_section): Set relocation address
...
for undefined symbols to be the beginning of the section.
* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Don't allocate
four extra entries at the beginning of the .rela.plt section.
(sparc64_elf_finish_dynamic_symbol): Adjust the offset in the .rela.plt
section to account for the four reserved entries in the .plt section.
2000-08-16 17:42:21 +00:00
H.J. Lu
fc29466dba
2000-08-15 H.J. Lu <hjl@gnu.org>
...
* i386.h: Swap the Intel syntax "movsx"/"movzx" due to the
IgnoreSize change.
2000-08-16 17:29:23 +00:00
Eli Zaretskii
d7491b3f51
* value.h (struct value) <lazy>: Add a comment about its use for
...
watchpoints.
2000-08-16 08:03:43 +00:00
Geoffrey Keating
31612ca61a
* xcofflink.c (_bfd_ppc_xcoff_relocate_section): Add ori r0,r0,0
...
to the list of NOPs we recognize after a branch-and-link.
Use the ori NOP when one is needed.
* coff-rs6000.c (_bfd_xcoff_slurp_armap): Finish implementation
for large archives.
2000-08-16 00:34:19 +00:00
Jeff Law
0d10e18267
* config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
...
* config/tc-sh.c (md_assemble): Changed so debug_type
test performed for ppi_assemble
* config/tc-sh.c: Included dwarf2dbg.h.
(debug_line): Defined.
(md_assemble): Generates dwarf2 line info.
(sh_finalize): New function. Finalize dwarf2 info.
(assemble_ppi): Returns size of code generated.
(build_Mytes): Returns size of code generated.
(md_pseudo_table): Added "file" and "loc" psuedo ops.
* config/tc-sh.h (md_end): Defined.
(sh_finalize): Declared.
2000-08-15 20:47:19 +00:00
Jim Wilson
19ba671774
Fix file corrupted before initial checkin.
...
* ia64-ic.tbl: Add missing entries.
2000-08-15 19:42:44 +00:00
Dave Brolley
80dbae7a49
2000-08-15 Dave Brolley <brolley@redhat.com>
...
* sim-profile.c (profile_print_speed): Print cpu frequency if not zero.
2000-08-15 18:49:50 +00:00
Dave Brolley
090321281b
2000-08-15 Dave Brolley <brolley@redhat.com>
...
* sim-profile.h (PROFILE_DATA): Add cpu_freq.
(PROFILE_CPU_FREQ): New macro.
* sim-profile.c (OPTION_PROFILE_CPU_FREQUENCY): New enumerator.
(profile-options): Add profile-cpu-frequency.
(parse_frequency): New function.
(profile_option_handler): Handle OPTION_PROFILE_CPU_FREQUENCY.
(profile_print_speed): Print cpu frequency and simulated execution time.
Re-indent other items to match.
2000-08-15 18:39:02 +00:00
Alexandre Oliva
1db77c8ec9
* config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
...
md_number_to_chars.
2000-08-15 16:04:37 +00:00
Alexandre Oliva
88f9c2a0b0
* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.
2000-08-15 08:01:29 +00:00
Nick Clifton
4bc1de7b2d
Compute write back value for post increment loads before
...
performing the load in case the offset register is overwritten.
2000-08-15 00:10:52 +00:00
Nick Clifton
046b3b54ee
Allow "bx pc" in ARM mode.
2000-08-14 21:20:03 +00:00