176355da99
Patch from Thomas de Lellis to implement --section-start
2000-05-22 21:58:40 +00:00
5110c57e8e
* obj.h (struct format_ops): New members begin, app_file,
...
s_set_other, s_set_desc, s_get_type, s_set_type,
separate_stab_sections, init_stab_section.
* config/obj-multi.h: Update GPL notice to v2.
(obj_begin): New.
(obj_app_file): New.
(S_SET_SIZE): Test s_set_size for NULL before calling.
(S_SET_ALIGN): Similar for s_set_align.
(S_SET_OTHER): New.
(S_SET_DESC): New.
(S_GET_TYPE): New.
(S_SET_TYPE): New.
(SEPARATE_STAB_SECTIONS): New.
(INIT_STAB_SECTION): New.
(EMIT_SECTION_SYMBOLS): New.
(AOUT_STABS) [OBJ_MAYBE_AOUT]: Define.
* config/obj-elf.h: Update GPL notice to v2.
Mention that this file is included from obj-multi.h.
(obj_begin): Wrap definition in ifndef.
(elf_file_symbol): Constify declaration.
(obj_app_file): Ditto.
(SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
Wrap in ifndef SEPARATE_STAB_SECTIONS.
* config/obj-elf.c (elf_s_set_other): New.
(elf_file_symbol): Constify argument.
(elf_separate_stab_sections): New.
(elf_init_stab_section): New.
(elf_format_ops): Add new members. Remove comma at end.
* config/obj-ecoff.c (ecoff_separate_stab_sections): New.
(ecoff_format_ops): Add new fields. Remove comma at end.
Mention inconsistency for emit_section_symbols.
* config/obj-coff.h (c_dot_file_symbol): Constify declaration.
* config/obj-coff.c (c_dot_file_symbol): Constify argument.
(coff_separate_stab_sections): New.
(coff_format_ops): Add new members.
* config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New.
(obj_aout_s_set_other): New.
(obj_aout_s_set_desc): New.
(obj_aout_s_get_type): New.
(obj_aout_s_set_type): New.
(obj_aout_separate_stab_sections): New.
(aout_format_ops): New members added. Use obj_aout_process_stab,
not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0.
(obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as
appropriate.
(obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.
2000-05-22 21:19:43 +00:00
e33c036475
* am33.igen: Fix leading comments of SP-relative offset insns that
...
referred to other registers. Make their offsets unsigned.
2000-05-22 20:34:09 +00:00
fb67355a64
Add peigen.lo to MIPS PE target
2000-05-22 19:16:59 +00:00
1fe494a572
Use bfd_generic_verify_endian_match() and fix it to only check when endianness
...
is known.
2000-05-22 18:44:02 +00:00
0ab71ce35a
Regerbated after change to Makefile.am
2000-05-22 18:04:17 +00:00
b98ef14717
Keep a reloc for jumps to weak and external symbols.
2000-05-22 11:38:43 +00:00
74b7792f0f
Purge (almost) make_cleanup_func.
2000-05-22 09:02:23 +00:00
32c092c3fa
2000-05-22 H.J. Lu <hjl@gnu.org>
...
* elflink.h (elf_link_output_extsym): Clear the visibility
field for symbols not defined locally.
2000-05-22 07:26:58 +00:00
004527cbbb
Purge procfs.c of make_cleanup_func.
2000-05-22 06:17:35 +00:00
e41a3b1ac5
Eliminate make_cleanup_func from top.c
2000-05-22 05:43:39 +00:00
5683e87aa5
Replace preg() with phex(). Cleanup monitor.c.
2000-05-22 02:07:19 +00:00
e8475ad463
* i387-tdep.c (print_i387_value): Cast &value to (char *) in
...
pointer arithmetic. Fixes a bug which manifested itself on
FreeBSD.
2000-05-21 21:21:20 +00:00
e80778cf3d
2000-05-21 H.J. Lu (hjl@gnu.org)
...
* ld-elfvsb/main.c (main_visibility_check): Fix the protected
visibility test.
2000-05-21 21:08:17 +00:00
0aa5d42641
* stabs.c (aout_process_stab): Make global.
...
(s_desc): Add ATTRIBUTE_UNUSED to args as appropriate.
* read.h (aout_process_stab): Declare.
* configure.in (EMULATIONS) [i386aout, i386coff, i386elf]:
Generalize to *aout, *coff *elf.
* configure: Regenerated.
* doc/internals.texi (Object format backend): Say
SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.
2000-05-21 18:26:10 +00:00
f48026f7d7
* gas/elf/elf.exp: Exclude *-*-linux*coff* as non-elf.
2000-05-21 18:06:40 +00:00
6c298591a3
Define LIBIBERTY
2000-05-21 17:01:02 +00:00
9442cea301
20000-05-21 H.J. Lu (hjl@gnu.org)
...
* configure: Revert changes made on May 18 and May 19.
* Makefile.in (CC_FOR_TARGET): Make sure as/ld in the gcc
directory are used if they exist. Make sure
$(build_tooldir)/include is searched for header files,
$(build_tooldir)/lib/ for library files.
(GCC_FOR_TARGET): Likewise.
(CXX_FOR_TARGET): Likewise.
2000-05-21 16:57:14 +00:00
d4b2399a9c
* target.h (target_memory_bfd_section): Removed declaration.
...
* target.c (target_memory_bfd_section): Removed.
* exec.c (xfer_memory): Removed #if'ed-out code which referenced
target_memory_bfd_section.
* target.h (target_read_memory_section): Removed declaration.
* target.c (target_read_memory_section): Removed.
(target_xfer_memory): Update, removed bfd_section argument.
(target_read_string, target_read_memory, target_write_memory):
Update for above change.
* gdbcore.h (read_memory_section): Removed declaration.
* corefile.c (read_memory_section): Removed.
* jv-lang.c (get_java_utf8_name): Changed calls to
read_memory_section to read_memory.
* printcmd.c (printf_command): Likewise.
* valops.c (value_at, value_fetch_lazy): Likewise.
2000-05-20 10:29:51 +00:00
b8166459e1
* Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
...
* Makefile.in: Regenerated.
2000-05-20 02:03:38 +00:00
7c3dc350c9
* cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
2000-05-19 21:36:14 +00:00
4ab64e140e
update
2000-05-19 19:19:34 +00:00
d387afa3a7
regenerate
2000-05-19 19:14:45 +00:00
d89774eaa1
20000-05-19 H.J. Lu (hjl@gnu.org)
...
* configure: Provide --disable-target-dir-sanity-checking to
disable the gcc directory checking for cross compiling.
2000-05-19 18:14:18 +00:00
b3b6a3fe2b
* config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
...
instruction to reflect change in re_assemble_*.
2000-05-19 00:21:12 +00:00
df6d9773e2
* libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,
...
re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn.
(hppa_rebuild_insn): Mask immediate bits here instead.
* elf-hppa.h (elf_hppa_relocate_insn): Mask here too.
2000-05-19 00:20:31 +00:00
e42180d7b4
* configure.host, configure.tgt (powerpc-*-netbsd*): New entry.
...
* config/powerpc/nbsd.mh, config/powerpc/nbsd.mt,
config/powerpc/tm-nbsd.h, config/powerpc/nm-nbsd.h,
config/powerpc/xm-nbsd.h: New files.
2000-05-18 23:43:58 +00:00
24a39d88a2
* mn10300_sim.h (genericAdd, genericSub, genericCmp, genericOr,
...
genericXor, genericBtst): Use `unsigned32'.
* op_utils.c: Likewise.
* mn10300.igen, am33.igen: Use `unsigned32', `signed32',
`unsigned64' or `signed64' where type width is relevant.
2000-05-18 22:56:28 +00:00
8c5ff9729d
2000-05-18 H.J. Lu <hjl@gnu.org>
...
* lexsup.c (parse_args): `i' == `r', not `q'.
2000-05-18 22:01:04 +00:00
7ad3436572
Force relocs emited for an executable to contain virtual addresses.
2000-05-18 17:12:31 +00:00
16ee897daa
20000-05-18 H.J. Lu (hjl@gnu.org)
...
* configure: Ask to create the gcc directory for cross
compiling if necessary.
2000-05-18 17:11:17 +00:00
09e90eb479
* configure.in (hppa*64*-*-*): Do build ld for this configuration.
2000-05-18 16:58:06 +00:00
d1dab720ad
* config.bfd (hppa*64*-*-hpux11*): New target triplet.
2000-05-18 16:55:34 +00:00
c9e10a082c
* configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
...
build PA64 ELF tools.
* configure: Rebuilt.
2000-05-18 16:52:11 +00:00
0b76fe778f
* configure.tgt (hppa*64*-*-*): Enable PA64 target.
2000-05-18 16:48:14 +00:00
53f07fe99f
* configure.in: Special case powerpc*-*-aix* target_makefile_frag.
2000-05-18 14:28:32 +00:00
dde2bf57f7
Typo. bfd@sourceware -> binutils@sourceware.
2000-05-18 00:29:13 +00:00
6d3e950baa
Add part of patch omittede from previous delta
2000-05-17 19:55:14 +00:00
079a8e4af5
Fix typo in previous delta
2000-05-17 19:53:11 +00:00
a712da2085
Apply patch from Richard Gorton <gorton@scrugs.lkg.dec.com> to implement
...
--emit-relocs switch to the linker to preserve relocs in an output executable
2000-05-17 19:38:53 +00:00
f4bd37dad4
* Makefile.in (configure-target-libiberty): Depend on
...
configure-target-newlib.
2000-05-17 19:23:34 +00:00
1a570b2f5f
2000-05-12 Michael Snyder <msnyder@.cygnus.com>
...
* gdb.base/break.exp (bp on small function, optimized file):
Add a second pass pattern. The behavior differs here between stabs
and dwarf for one-line functions. Stabs preserves two line symbols
(one before the prologue and one after) with the same line number,
but dwarf regards these as duplicates and discards one of them.
Therefore the address after the prologue (where the breakpoint is)
has no exactly matching line symbol, and GDB reports the breakpoint
as if it were in the middle of a line rather than at the beginning.
2000-05-17 17:10:19 +00:00
aca52a9bcc
2000-05-12 Michael Snyder <msnyder@.cygnus.com>
...
* config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Define.
2000-05-17 17:09:27 +00:00
3043679fe7
Update dependencies.
2000-05-17 14:24:25 +00:00
74b2d06784
* gdb/config/djgpp/README: Fine-tune installation instructions
...
based on user reports.
2000-05-17 11:49:53 +00:00
d3229ae3bd
* mmalloc/Makefile.in (install-info): Make sure $(infodir) exists.
...
Run install-info program on the installed Info files.
* gdb/doc/Makefile.in (install-info): Run install-info on installed
Info files.
2000-05-17 11:45:56 +00:00
d80380145f
Minor maint et.al. tweeks.
2000-05-17 08:46:20 +00:00
e2bdc01eaa
Change v850 break-point instruction to loop. Get around lack of 16
...
bit breakpoint.
2000-05-17 06:51:28 +00:00
f9e0cf0b83
Fix fild.
2000-05-17 00:47:51 +00:00
690a460e0c
Apply patch from Charles Wilson to make PE ports search for dynamic libraries
...
in foo.dll and libfoo.dll before libfoo.a.
2000-05-16 20:53:26 +00:00