Jeff Law [Mon, 6 Dec 1993 08:53:53 +0000 (08:53 +0000)]
* som.c (som_begin_writing): Flesh out code for handling simple
auxiliary headers.
(bfd_som_attach_aux_hdr): New function.
* som.h (struct somdata): Add fields for attaching version and
copyright headers. Add accessor macros.
Jeff Law [Mon, 6 Dec 1993 07:19:13 +0000 (07:19 +0000)]
* config/obj-som.c (obj_read_begin_hook): Delete unused function.
* config/obj-som.h (obj_read_begin_hook): Provide dummy definition.
(TARGET_SYMBOL_FIELDS): Delete. SOM isn't making use of them.
Roland Pesch [Mon, 6 Dec 1993 07:14:16 +0000 (07:14 +0000)]
Unsnarl xref for h8 config (while making sure it still works for "all" config)
Jeff Law [Mon, 6 Dec 1993 06:55:48 +0000 (06:55 +0000)]
* som.c (R_DLT_REL, R_AUX_UNWIND, R_SEC_STMT): Add protected
definitions for old versions of HPUX which fail to define them.
(som_hppa_howto_talbe): Add R_DLT_REL, R_AUX_UNWIND, and R_SEC_STMT
now that they're safe. Delete bogus R_STATEMENT relocations.
Jeff Law [Mon, 6 Dec 1993 03:33:06 +0000 (03:33 +0000)]
* som.c (som_hppa_howto_table): Add missing R_END_TRY. Delete
extra R_DATA_OVERRIDE.
(hppa_som_gen_reloc_type): Generate a relocation for the rounding
mode selector if needed.
(som_write_fixups): Handle requests for a change in the default
rounding mode. Rounding modes do not consume input bytes, but
are just markers much like R_ENTRY and R_EXIT.
Jeff Law [Mon, 6 Dec 1993 03:26:33 +0000 (03:26 +0000)]
* gas/hppa/reloc/roundmode.s: New test.
* gas/hppa/reloc/reloc.exp: Run it. Fix typo in last change.
Jeff Law [Mon, 6 Dec 1993 03:24:49 +0000 (03:24 +0000)]
* config/tc-hppa.c (tc_gen_reloc, SOM version): Handle relocation
expansion due to rounding mode selectors. Handle R_[RDSN]_MODE
relocations for selecting the current rounding mode.
Jeff Law [Mon, 6 Dec 1993 01:07:03 +0000 (01:07 +0000)]
* config/tc-hppa.c (evaluate_absolute): Support e_rrsel and
e_rlsel field selectors.
Jeff Law [Sun, 5 Dec 1993 09:32:06 +0000 (09:32 +0000)]
* objdump.c (dump_relocs): Avoid dereferencing a NULL sym_ptr_ptr
in a relocation.
Jeff Law [Sun, 5 Dec 1993 03:46:12 +0000 (03:46 +0000)]
* elf32-hppa.c: (elf_hppa_howto_table): PLABEL and DLT
relocations are not pc-relative.
Jeff Law [Sun, 5 Dec 1993 03:41:25 +0000 (03:41 +0000)]
Fri Dec 3 09:55:17 1993 Pete Hoogenboom (hoogen@cs.utah.edu)
* hppa_stubs.h: (BLE_N_XXX_0_31): New instruction used in
linker stub code.
(COPY_2_31): Likewise.
John Gilmore [Sat, 4 Dec 1993 03:13:48 +0000 (03:13 +0000)]
Fix a few typos.
Ian Lance Taylor [Fri, 3 Dec 1993 23:42:59 +0000 (23:42 +0000)]
* config/solaris2.mh (HDEFINES): Remove -Dconst=
* hosts/solaris.h: If not __GNUC__, define const as empty.
Stu Grossman [Fri, 3 Dec 1993 22:22:05 +0000 (22:22 +0000)]
* config/mips/irix4.mh: Enable ser-tcp.o.
Jeff Law [Fri, 3 Dec 1993 19:20:30 +0000 (19:20 +0000)]
Fri Dec 3 09:47:30 1993 Pete Hoogenboom (hoogen@cs.utah.edu)
* tc-hppa.c: (tc_gen_reloc): Addend for a plabel relocation should
be either 0 or 2 (no static link or static link required). Always
assume no static link.
Jeff Law [Fri, 3 Dec 1993 18:57:28 +0000 (18:57 +0000)]
* config/tc-hppa.c (md_apply_fix): Delete old wrapper function.
(md_apply_fix_1): Rename to md_apply_fix. Fix argument decls.
Fix comments in various places. Always return a value.
Avoid dereferencing a NULL fx_addsy.
(hppa_force_relocation): Avoid dereferencing a NULL fx_addsy.
Rob Savoye [Fri, 3 Dec 1993 04:07:15 +0000 (04:07 +0000)]
* config/unix.exp: Add global before seeing if the variables for
nm, objdump, and size exist.
Rob Savoye [Fri, 3 Dec 1993 04:06:44 +0000 (04:06 +0000)]
* Makefile.in: Remove some stuff from the site.exp file.
* config/unix.exp: Add global before seeing if the variables for
nm, objdump, and size exist.
Ken Raeburn [Fri, 3 Dec 1993 03:12:35 +0000 (03:12 +0000)]
Deleted RCS crap, since it frequently seems to wind up being the only
thing "changed", and somehow cvs thinks the file has really been modified.
Ken Raeburn [Fri, 3 Dec 1993 03:10:08 +0000 (03:10 +0000)]
Lots of changes for:
- sparc[lite]-coff as well as sparc-lynx
- producing coff (including debug info) under BFD_ASSEMBLER option
- cleanup of cpu-specific code in non-cpu-specific files
(especially write.c)
- providing common code to avoid duplication in cpu-specific files
(specifically, md_number_to_chars)
- stylistic changes & misc cleanup
================
* config/tc-sparc.c (tc_gen_reloc): Make adjustment to addend be dependent on
howto fields, not on format flavour.
* struc-symbol.h (struct symbol): New fields sy_obj and sy_tc, defined as types
OBJ_SYMFIELD_TYPE and TC_SYMFIELD_TYPE, if those macros are defined.
* config/obj-coff.h (TC_SYMFIELD_TYPE, OBJ_SYMFIELD_TYPE): Define.
(TARGET_SYMBOL_FIELDS, I960_SYM_FIELDS): Don't define.
(sy_tc, sy_obj): Define so that the fields look like they used to, until all
references get changed.
* write.c (fixup_segment): Lots of variables no longer register. Reordered
some code for easier reading.
* config/obj-coff.c (obj_coff_dim): dim_index no longer register. Deleted
superfluous return statement.
(obj_coff_line, obj_coff_size, obj_coff_scl, obj_coff_type, obj_coff_val,
tag_init, tag_insert): Deleted superfluous return statement.
(align, obj_coff_section): Deleted debugging printfs.
* config/tc-i386.c (md_assemble): Discard some register decls. Use assignment
rather than memcpy to copy template.
(op_hash, reg_hash, prefix_hash): Default C initialization of statics is
sufficient.
* config/tc-sparc.c (print_insn): Array Reloc is now const, and points to
const.
* config/obj-coff.h (TARGET_FORMAT): Only use coff-sparc-lynx if TE_LYNX; use
coff-sparc otherwise.
[USE_NATIVE_HEADERS]: Delete this code; it isn't used.
* write.c (fixup_segment): Call TC_VALIDATE_FIX, if defined, before processing
a fixup. Call TC_ADJUST_RELOC_COUNT just before returning. Remove some
i960-coff-specific code.
(TC_ADJUST_RELOC_COUNT): Default to doing nothing.
* config/tc-i960.h (TC_ADJUST_RELOC_COUNT) [OBJ_COFF]: Define.
(i960_validate_fix): Declare.
(TC_VALIDATE_FIX): Define.
* config/tc-i960.c (i960_validate_fix): New function.
* write.c (number_to_chars_littleendian): New function. Write out bytes in
little endian order, doing size and range checking.
(number_to_chars_bigendian): New function, similar.
* write.h: Declare them.
* config/tc-*.c (md_number_to_chars): Use them.
* config/tc-vax.c (md_apply_fix): Ditto.
* config/tc-i386.c (md_apply_fix): Ditto.
* config/obj-coff.c: Rearranged code for handling line number data.
(line_fsym): Renamed from function_lineoff in BFD_ASSEMBLER case, since the
usage is different from non-BFD_ASSEMBLER case.
(in_function, clear_function, set_function): New macros, to combine some of the
functionality implemented in differnet ways in BFD_ASSEMBLER and non-... code.
Used in other functions that used to check function_lineoff &c.
(obj_emit_lineno): Split into two copies, one for BFD_ASSEMBLER, one for not.
Non-BFD_ASSEMBLER version now has temporary variable to contain char* pointer
pointed to by char** argument. Always follow CROSS_COMPILE code; easier to
read that way.
(obj_coff_ln): Don't call add_lineno or c_line_new if appline is set.
(obj_coff_endef) [BFD_ASSEMBLER]: Don't do anything special for ".bf", it's
been done elsewhere.
(coff_frob_symbol): If ilne number data is pending, call add_linesym to flush it.
(coff_frob_file): Don't do that here.
* config/obj-coff.h (coff_frob_file): Declare.
(obj_frob_file): Define, to call it.
* config/tc-sparc.h (md_create_short_jump, md_create_long_jump,
md_estimate_size_before_relax: Define them as macros calling as_fatal.
* config/tc-sparc.c: Don't define them as functions.
Ian Lance Taylor [Thu, 2 Dec 1993 23:27:15 +0000 (23:27 +0000)]
* ecoff.c: Added various casts for 32/64 bit cross targeting.
(ecoff_mkobject_hook): Set SEC_SHARED_LIBRARY for the .reginfo
section so that the linker ignores it.
* ecofflink.c: Added various casts for 32/64 bit cross targeting.
(ecoff_add_bytes): Changed need argument to size_t.
(bfd_ecoff_debug_link_other): Check return value of
ecoff_add_string.
Ken Raeburn [Thu, 2 Dec 1993 22:19:44 +0000 (22:19 +0000)]
Since newlib claims not to support the alpha, don't try to configure newlib
for an alpha target.
Ian Lance Taylor [Thu, 2 Dec 1993 20:52:25 +0000 (20:52 +0000)]
* libnlm.h (struct nlm_obj_tdata): New field backend_data.
(nlm_backend_data, nlm_alpha_backend_data): New accessor macros.
(struct nlm_backend_data): New field no_uninitialized_data.
(nlm_no_uninitialized_data): New accessor macro.
* nlmcode.h (nlm_compute_section_file_positions): Handle
no_uninitialized_data.
(nlm_external_reloc_compare): Sort relocs by address for a
particular symbol, to make the sort more stable.
(nlm_write_object_contents): Cast the arguments to qsort. Get the
value of a debugging symbol the same way we get the value of a
normal symbol.
* nlm32-alpha.c: Various changes. Write out GP and .lita relocs.
Set no_uninitialized_data to true.
* nlm32-i386.c (nlm32_i386_backend), nlm32-sparc.c
(nlm32_sparc_backend): Set no_uninitialized_data field false.
* nlmswap.h (nlm_swap_fixed_header_out): Zero out destination
before filling it in.
Ian Lance Taylor [Thu, 2 Dec 1993 19:41:14 +0000 (19:41 +0000)]
* configure.in: Don't build ld for Irix 5. Don't build gas,
libg++ or libio for any Alpha target.
Ian Lance Taylor [Thu, 2 Dec 1993 19:37:34 +0000 (19:37 +0000)]
* configure.in (mips*-sgi-irix5*): New target; use mh-irix5.
Ian Lance Taylor [Thu, 2 Dec 1993 19:35:47 +0000 (19:35 +0000)]
New file for Irix 5 host support.
Ian Lance Taylor [Thu, 2 Dec 1993 19:13:59 +0000 (19:13 +0000)]
New file for Alpha NetWare. External structure information.
Jeff Law [Thu, 2 Dec 1993 07:37:51 +0000 (07:37 +0000)]
* Makefile (clean): Depend on clean-here.
Jeff Law [Thu, 2 Dec 1993 05:55:34 +0000 (05:55 +0000)]
* gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
stores.
* gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
stores.
(fpu_short_memory_tests): Likewise.
Jeff Law [Thu, 2 Dec 1993 05:48:46 +0000 (05:48 +0000)]
* som.c (som_section_type, som_decode_symcalss): New functions.
(som_get_symbol_info): Use them.
(som_slurp_symbol_table): Set the section of common and undefined
symbols correctly.
Ian Lance Taylor [Thu, 2 Dec 1993 02:22:59 +0000 (02:22 +0000)]
Various entries.
Ian Lance Taylor [Thu, 2 Dec 1993 02:22:35 +0000 (02:22 +0000)]
* libnlm.h (struct nlm_backend_data): New fields
optional_prefix_size, nlm_backend_object_p, nlm_write_prefix,
nlm_set_public_section, nlm_get_public_offset. Removed unused
nlm_write_reloc field. Changed nlm_write_import to remove
unnecessary symbol argument. Renamed nlm_write_externals to
nlm_write_external, and changed cound argument from bfd_vma to
bfd_size_type.
(nlm_optional_prefix_size, nlm_backend_object_p_func,
nlm_write_prefix_func, nlm_set_public_section_func,
nlm_get_public_offset_func): New accessor macros.
(nlm_write_reloc_func): Removed.
(nlm_write_external_func): Adjusted for field renaming.
* nlm32-i386.c (nlm_i386_write_import): Renamed from
nlm_i386_write_reloc. Removed old nlm_i386_write_import which
just called old nlm_i386_write_reloc.
(nlm_i386_write_external): Renamed from nlm_i386_write_externals.
Declared. Changed second argument from bfd_vma to bfd_size_type.
(nlm32_i386_backend): Adjusted for changes to fields and names.
* nlm32-sparc.c (nlm_sparc_mangle_relocs): Removed unused,
ifdeffed out code.
(nlm_sparc_write_import): Removed second argument.
(nlm_sparc_write_external): Renamed from
nlm_sparc_write_externals. Changed second argument from bfd_vma
to bfd_size_type.
(nlm32_sparc_backend): Adjusted for changes to fields and names.
* nlmcode.h: Removed some unused code.
(nlm_object_p): Don't destroy tdata pointer. Call
backend_object_p function if it exists.
(nlm_slurp_symbol_table): Removed unused variable rcount. Call
set_public_section_func if it exists instead of checking
NLM_HIBIT.
(nlm_compute_section_file_positions): Account for
optional_prefix_size.
(nlm_write_object_contents): Account for optional_prefix_size.
Removed useless variable write_reloc_func. Changed declaration
and call of write_import_func. Call write_prefix_func if it
exists. Removed unused variables len and temp. Call
get_public_offset_func if it exists rather than setting NLM_HIBIT.
Ian Lance Taylor [Thu, 2 Dec 1993 02:19:25 +0000 (02:19 +0000)]
* nlmswap.h: Declare functions.
Ian Lance Taylor [Thu, 2 Dec 1993 01:46:53 +0000 (01:46 +0000)]
New files for preliminary Alpha NetWare support.
Ian Lance Taylor [Thu, 2 Dec 1993 01:05:45 +0000 (01:05 +0000)]
Remove unused declaration from nlmconv.c. Add ChangeLog entry for
Sean's change.
Ian Lance Taylor [Thu, 2 Dec 1993 01:03:03 +0000 (01:03 +0000)]
Restore changes clobbered by Sean's check in.
Jason Merrill [Thu, 2 Dec 1993 01:01:53 +0000 (01:01 +0000)]
Wed Dec 1 17:00:33 1993 Jason Merrill (jason@deneb.cygnus.com)
* Makefile.in (GZIPPROG): Renamed from GZIP, which gzip uses for
default arguments -- so it tried to compress itself.
Ian Lance Taylor [Thu, 2 Dec 1993 00:25:48 +0000 (00:25 +0000)]
* ldgram.y (OPTION_Oval): New token.
(command_line_option): Accept and ignore it.
* ldlex.l (<COMMAND>): Handle -On where n is a number.
Jason Merrill [Wed, 1 Dec 1993 23:20:23 +0000 (23:20 +0000)]
Fix gnatsishness
Ken Raeburn [Wed, 1 Dec 1993 23:00:57 +0000 (23:00 +0000)]
changes so far
Ken Raeburn [Wed, 1 Dec 1993 22:53:14 +0000 (22:53 +0000)]
include fopen-bin.h
Ken Raeburn [Wed, 1 Dec 1993 22:37:57 +0000 (22:37 +0000)]
various
Ken Raeburn [Wed, 1 Dec 1993 22:27:03 +0000 (22:27 +0000)]
handle sparccoff_vec
Ken Raeburn [Wed, 1 Dec 1993 22:26:33 +0000 (22:26 +0000)]
declare sparccoff_vec
Ken Raeburn [Wed, 1 Dec 1993 22:26:06 +0000 (22:26 +0000)]
handle sparc*-*-coff*
Ken Raeburn [Wed, 1 Dec 1993 22:14:05 +0000 (22:14 +0000)]
* configure.in: Group targets by CPU. Merge some m68k target entries with
different CPU specs that use the same ld_target values.
* configure.in: Add sparc*-*-coff.
* config/coff-sparc.mt, emulparams/coff_sparc.sh: New files.
* Makefile.in (ALL_EMULATIONS): Add em_coff_sparc.o.
(em_coff_sparc.c): Add dependencies and build rules.
Ken Raeburn [Wed, 1 Dec 1993 22:12:20 +0000 (22:12 +0000)]
New file for bare sparc-coff support.
Ian Lance Taylor [Wed, 1 Dec 1993 20:06:43 +0000 (20:06 +0000)]
Various entries. Added entries for NetWare changes made by Sean a
couple of weeks ago.
Ian Lance Taylor [Wed, 1 Dec 1993 20:01:08 +0000 (20:01 +0000)]
Added copyright notice and comments.
Ian Lance Taylor [Wed, 1 Dec 1993 19:51:19 +0000 (19:51 +0000)]
* hosts/alphaosf.h (uint64_typeLOW, uint64_typeHIGH): Cast results
to unsigned long.
Ian Lance Taylor [Wed, 1 Dec 1993 19:47:15 +0000 (19:47 +0000)]
* config.bfd: Don't set target64 here, as the setting is ignored.
* configure.in (ecoffalpha_little_vec): Set target64.
Ian Lance Taylor [Wed, 1 Dec 1993 19:41:16 +0000 (19:41 +0000)]
* bfd-in.h (uint64_typeLOW, uint64_typeHIGH): Fully parenthesize
for clarity.
(fprintf_vma, sprintf_vma): Use %lx, not %x.
* bfd-in2.h: Rebuilt.
Ian Lance Taylor [Wed, 1 Dec 1993 19:26:45 +0000 (19:26 +0000)]
* config/tc-mips.c (macro): From wilson@cygnus.com: for M_L_DAB,
set coproc before doing goto ld.
Jeff Law [Wed, 1 Dec 1993 18:43:53 +0000 (18:43 +0000)]
* config/tc-hppa.c (hppa_elf_mark_end_of_function): New function.
(pa_process_exit, pa_procend): Call it for ELF objects.
Ian Lance Taylor [Wed, 1 Dec 1993 17:22:03 +0000 (17:22 +0000)]
* ldgram.y (OPTION_call_shared, OPTION_non_shared): New tokens.
(command_line_option): Accept and ignore them (for now).
* ldlex.l (<COMMAND>): Handle -non_shared and -call_shared.
Ian Lance Taylor [Wed, 1 Dec 1993 17:13:12 +0000 (17:13 +0000)]
* config/tc-mips.c (macro): Subtract 8 from offset in non PIC l.d
case. See comment.
Ian Lance Taylor [Tue, 30 Nov 1993 22:42:47 +0000 (22:42 +0000)]
Add copyright notices and comments and a ChangeLog entry for Sean's
work.
Ian Lance Taylor [Tue, 30 Nov 1993 21:58:09 +0000 (21:58 +0000)]
Irix 4 core support entries.
Ian Lance Taylor [Tue, 30 Nov 1993 21:56:40 +0000 (21:56 +0000)]
* irix-core.c: New file for Irix 4 and Irix 5 core support.
Functions taken out of coff-mips.c. Handle vmap type VMAPFILE.
* coff-mips.c: Irix 4 core file support moved to irix-core.c.
* targets.c: If IRIX_CORE defined, include irix_core_vec in
target_vector.
* config/irix4.mh (HDEFINES): Add -DIRIX_CORE.
(HDEPFILES): Define to be irix-core.o.
* config/irix5.mh (HDEFINES): Define to be -DIRIX_CORE.
(HDEPFILES): Define to be irix-core.o.
* Makefile.in (OPTIONAL_BACKENDS): Added irix-core.o. Removed
sco-core.o, which no longer exists.
(CFILES): Added all *-core.c files.
Rebuilt dependencies.
David D. Zuhn [Tue, 30 Nov 1993 21:46:34 +0000 (21:46 +0000)]
handle space quoting issues
Ian Lance Taylor [Tue, 30 Nov 1993 21:45:15 +0000 (21:45 +0000)]
New file for Irix 4 and Irix 5 core file support. Split out of
coff-mips.c.
Jeff Law [Tue, 30 Nov 1993 21:44:41 +0000 (21:44 +0000)]
* gas/hppa/more.parse/parse.exp: Test for error on for subspace
directive is an XFAIL for SOM assmeblers.
* gas/hppa/reloc/reloc.exp: Remove XFAIL for relocation on
cross-subspace call test.
Jeff Law [Tue, 30 Nov 1993 21:43:15 +0000 (21:43 +0000)]
* write.c (TC_FORCE_RELOCATION): Provide a default definition.
(fixup_segment): Allow the target machine to specify that a
relocation must be generated for a particular fixup. Remove
#ifndef TC_HPPA hack.
* config/tc-hppa.h (TC_FORCE_RELOCATION): Define.
* config/tc-hppa.c (md_apply_fix_1): Never change fx_addsy to
be NULL. Only fixup_segment is supposed to do that.
(hppa_force_relocation): New function.
Ian Lance Taylor [Tue, 30 Nov 1993 20:26:35 +0000 (20:26 +0000)]
* Makefile.in (check): Do not use subdir_do, so that
TARGET_FLAGS_TO_PASS is used correctly.
Ian Lance Taylor [Tue, 30 Nov 1993 16:25:18 +0000 (16:25 +0000)]
* Makefile.in (stabs.o): Added dependencies.
Ian Lance Taylor [Tue, 30 Nov 1993 16:23:33 +0000 (16:23 +0000)]
* config/obj-ecoff.c (ecoff_frob_file): Don't call bfd_set_symtab.
Stu Grossman [Tue, 30 Nov 1993 00:14:37 +0000 (00:14 +0000)]
* i386-nlmstub.c: Undo I/O redirection changes by Tom Lord.
These definitely won't work under Netware.
Kung Hsu [Mon, 29 Nov 1993 23:40:31 +0000 (23:40 +0000)]
Modified Files:
ChangeLog stabsread.c
* stabsread.c(read_struct_field): Fix the check when getting to
member functions. (fix pr4000).
Ian Lance Taylor [Mon, 29 Nov 1993 21:52:21 +0000 (21:52 +0000)]
gcc -Wall -O lint:
* mips-tdep.c (heuristic_proc_desc): Initialize reg30 to avoid
warning. Unnest comment.
(init_extra_frame_info): Remove unused variable mask.
(MASK): Fully parenthesize.
(mips_push_dummy_frame): Remove unused variable val.
(mips_skip_prologue): Remove unused variables f and b.
Peter Schauer [Mon, 29 Nov 1993 20:24:49 +0000 (20:24 +0000)]
* mipsread.c (parse_symbol, parse_partial_symbols): Do not create
(partial) symbols for opaque struct definitions.
Stu Grossman [Mon, 29 Nov 1993 19:40:08 +0000 (19:40 +0000)]
* i386ly-tdep.c (i386lynx_saved_pc_after_call): Change call_inst
to unsigned char to avoid domain warning for some values.
Roland Pesch [Mon, 29 Nov 1993 05:58:11 +0000 (05:58 +0000)]
Formatting improvements from 93q4 release.
Roland Pesch [Mon, 29 Nov 1993 02:45:53 +0000 (02:45 +0000)]
Fix punctuation after corrected xref.
Roland Pesch [Mon, 29 Nov 1993 02:43:47 +0000 (02:43 +0000)]
* gdb.texinfo (New Features): mention threads.
(Summary, C): fix xrefs in newly contributed text.
(Threads): index entries, clarifications, example
(passim): minor typos fixed, phrasing improvements
* remote.texi (Bootstrapping): rephrase text on ^C and add index
entries; (Server): explain use of gdbserver w/real-time systems,
add example of conflicting TCP port; (MIPS Remote) break up
running text into table, highlighting commands, and add example.
Jeff Law [Sun, 28 Nov 1993 21:17:36 +0000 (21:17 +0000)]
* gas/hppa/more.parse/appbug.s: New test.
* gas/hppa/more.parse/parse.exp: Run it.
Jeff Law [Sun, 28 Nov 1993 21:16:24 +0000 (21:16 +0000)]
* app.c (do_scrub_next_char): Output a TAB before any
.app* directive.
Jeff Law [Sun, 28 Nov 1993 20:15:21 +0000 (20:15 +0000)]
* config/tc-hppa.c (fix_new_hppa): Make sure a sub_symbol
exists before trying to peek at its name.
(pa_space): Do not call pa_align_subseg. See hppa/unsorted/align3.s
for testcase.
(pa_align_subseg): Delete unused/unwanted function.
Jeff Law [Sun, 28 Nov 1993 20:14:41 +0000 (20:14 +0000)]
* gas/hppa/unsorted/align3.s: New test.
* gas/hppa/unsorted/unsorted.exp: Run it.
Jeff Law [Sun, 28 Nov 1993 19:57:00 +0000 (19:57 +0000)]
Fix typo in last change.
Jeff Law [Sun, 28 Nov 1993 06:54:22 +0000 (06:54 +0000)]
* config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define.
Jeff Law [Sun, 28 Nov 1993 06:54:04 +0000 (06:54 +0000)]
* read.c (read_a_source_file): Fix test for when to stick a colon
on the end of a label. Make code conditional on either MRI or
LABELS_WITHOUT_COLONS.
* app.c (do_scrub_next_char): If a line begins with whitespace, leave
the single whitespace character alone. Eat all others.
* config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define.
Jeff Law [Sun, 28 Nov 1993 06:52:42 +0000 (06:52 +0000)]
* gas/all/p2425.s: Insert a tab before assembler directives so
that the directives are not interpreted as labels.
* gas/hppa/basic/weird.s: Sync with GDB version.
* gas/hppa/more.parse/labelbug.s: New test.
* gas/hppa/more.parse/parse.exp: Run it.
Jeff Law [Sun, 28 Nov 1993 06:52:28 +0000 (06:52 +0000)]
* gas/hppa/more.parse/labelbug.s: New test.
* gas/hppa/more.parse/parse.exp: Run it.
Roland Pesch [Wed, 24 Nov 1993 22:23:23 +0000 (22:23 +0000)]
comment fix.
Roland Pesch [Wed, 24 Nov 1993 22:18:27 +0000 (22:18 +0000)]
* refcard.tex: avoid bad linebreaks even when REFEDITS=psrc.sed
(these probably crept w/minor changes in spacing when A4 stuff
updated recently); update copyright date consistently
* cygref.tex: bring up to date with refcard.tex
Jeff Law [Wed, 24 Nov 1993 20:45:32 +0000 (20:45 +0000)]
* gas/hppa/reloc/fixupbug.s: New test.
* gas/hppa/reloc/reloc.exp: Run it.
Bill Cox [Wed, 24 Nov 1993 19:28:23 +0000 (19:28 +0000)]
* .Sanitize: Remove references to chillrt and test-chill
subdirectories. They were moved to gcc/ch/runtime and
gcc/ch/testsuite respectively.
Jason Merrill [Wed, 24 Nov 1993 18:38:12 +0000 (18:38 +0000)]
Add gnats.tar.gz rule
Jeff Law [Wed, 24 Nov 1993 09:26:23 +0000 (09:26 +0000)]
* gas/hppa/reloc/exitbug.s: New test.
* gas/hppa/reloc/reloc.exp: Run it.
Jeff Law [Wed, 24 Nov 1993 09:24:39 +0000 (09:24 +0000)]
* config/tc-hppa.c (pa_procend): Do not call process_exit.
(exit_processing_complete): Delete unwanted variable and all
references.
Ian Lance Taylor [Wed, 24 Nov 1993 07:42:03 +0000 (07:42 +0000)]
* ecoff.c (ecoff_setup_ext): Renamed from ecoff_build_ext.
Changed to not actually build the external symbol information, as
that is now done by the ECOFF back end.
(ecoff_build_debug): Changed accordingly.
* ecoff.h (obj_ecoff_set_ext): Declare. obj-format.c function
called by ecoff_setup_ext.
* config/obj-ecoff.c (ecoff_frob_file): If debug_info count is 0,
set corresponding pointer to NULL. Don't set raw_size and
raw_syments.
(obj_ecoff_set_sym_index): Removed.
(obj_ecoff_set_ext): New function.
* config/obj-ecoff.h (obj_set_sym_index): Don't define.
(obj_ecoff_set_sym_index): Don't declare.
* config/obj-elf.c (obj_ecoff_set_ext, elf_get_extr,
elf_set_index): New functions used for ECOFF_DEBUGGING.
(elf_frob_file): Reworked ECOFF debug generation to use
new functions in bfd/ecofflink.c.
Ian Lance Taylor [Wed, 24 Nov 1993 07:31:02 +0000 (07:31 +0000)]
* elfcode.h (map_program_segments): Restore check of file_size !=
mem_size, but only if SHT_PROGBITS.
Ian Lance Taylor [Wed, 24 Nov 1993 07:21:28 +0000 (07:21 +0000)]
* ecofflink.c: New file to hold ECOFF debug information linking
routines.
* ecoff.c (ecoff_clear_output_flags, ecoff_rel, ecoff_dump_seclet,
ecoff_add_string, ecoff_get_debug): Removed. Functionality now in
ecofflink.c.
(ecoff_get_extr, ecoff_set_index): New functions.
(ecoff_slurp_symbolic_info): Don't save raw_size.
(ecoff_bfd_seclet_link): Rewrote to use ecofflink.c functions.
(ecoff_compute_section_file_positions): Don't set EXEC_P just
because there is a start address.
(ecoff_write_object_contents): Handle external symbols here. Use
ecofflink.c functions to write out debugging information.
* elf32-mips.c (mips_elf_read_ecoff_info, mips_elf_get_extr,
mips_elf_set_index): New functions.
(mips_elf_seclet_link): Discard empty sections, the .options
section and .gptab sections. Handle linking .mdebug section.
* libecoff.h (ecoff_data_type): Removed raw_size and ifdbase.
* libelf.h (elf_symbol_type): Added mips_extr to tc_data union.
* bfd-in.h: Added prototypes for routines in ecofflink.c (some are
called by gas, so they are public).
* bfd-in2.h: Rebuilt.
* Makefile.in (BFD_LIBS): Added ecofflink.o.
(CFILES): Added ecofflink.c.
(ecofflink.o): New target. Rebuilt dependencies.
Ian Lance Taylor [Wed, 24 Nov 1993 07:18:44 +0000 (07:18 +0000)]
New file to hold ECOFF linking routines used by both ECOFF and MIPS ELF.
Jeffrey Osier [Tue, 23 Nov 1993 22:39:01 +0000 (22:39 +0000)]
* binutils.texi: fix bug in nlmconv doc
Steve Chamberlain [Tue, 23 Nov 1993 08:06:20 +0000 (08:06 +0000)]
Split ChangeLog into two.
Steve Chamberlain [Tue, 23 Nov 1993 07:49:49 +0000 (07:49 +0000)]
* remote-e7000.c (e7000_wait): Cope with H8/300 register dump.
* config/h8300/h8300hms.mt: Add remote-e7000.
Jeff Law [Tue, 23 Nov 1993 06:27:45 +0000 (06:27 +0000)]
* som.c (hppa_object_p): Also recognize SHARED_MAGIC_CNX as
a valid magic number if it's been defined.
Peter Schauer [Mon, 22 Nov 1993 21:26:36 +0000 (21:26 +0000)]
* gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
* gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
.stabs directives in comments.
Ian Lance Taylor [Mon, 22 Nov 1993 19:22:23 +0000 (19:22 +0000)]
* ecoff.c (ecoff_mkobject): Don't create .scommon section; linker
no longer requires it.
(ecoff_bfd_seclet_link, ecoff_sizeof_headers,
ecoff_write_object_contents): Don't treat .scommon section
specially