Nick Clifton [Fri, 1 Dec 2000 20:06:36 +0000 (20:06 +0000)]
Add initialiser for membership field
Fernando Nasser [Fri, 1 Dec 2000 20:05:48 +0000 (20:05 +0000)]
2000-12-01 Fernando Nasser <fnasser@redhat.com>
* p-exp.y: Define strncasecmp as strnicmp for MSVC.
(yylex): Use strncasecmp, not strnicmp.
Nick Clifton [Fri, 1 Dec 2000 20:05:32 +0000 (20:05 +0000)]
Improve MIPS32 support
Nick Clifton [Fri, 1 Dec 2000 19:11:20 +0000 (19:11 +0000)]
Fix testcase and test results
Nick Clifton [Fri, 1 Dec 2000 19:06:15 +0000 (19:06 +0000)]
When calculating offsets, don't accept as constant the difference between the
addresses of symbols in two different sections.
Nick Clifton [Fri, 1 Dec 2000 18:57:08 +0000 (18:57 +0000)]
Expect mips16 nops to be used for padding when mips16 code generation is
enabled.
Nick Clifton [Fri, 1 Dec 2000 18:37:16 +0000 (18:37 +0000)]
Update RTEMS targets
Nick Clifton [Fri, 1 Dec 2000 18:28:58 +0000 (18:28 +0000)]
Update RTEMS targets
Nick Clifton [Fri, 1 Dec 2000 18:19:20 +0000 (18:19 +0000)]
Update RTEMS targets
Nick Clifton [Fri, 1 Dec 2000 18:15:22 +0000 (18:15 +0000)]
Really delete elf64-ia64.c this time.
Fernando Nasser [Fri, 1 Dec 2000 18:01:38 +0000 (18:01 +0000)]
2000-12-01 Fernando Nasser <fnasser@redhat.com>
* cli/cli-decode.c: New file. Handle lists of commands, their decoding
and documentation.
(add_cmd, deprecate_cmd, add_abbrev_cmd, add_alias_cmd, add_prefix_cmd,
add_abbrev_prefix_cmd, not_just_help_class_command, empty_sfunc,
add_set_cmd, add_set_enum_cmd, add_set_auto_boolean_cmd,
add_show_from_set, delete_cmd, apropos_cmd, help_cmd, help_list,
help_all, print_doc_line, help_cmd_list, find_cmd, lookup_cmd_1,
undef_cmd_error, lookup_cmd, deprecated_cmd_warning,
lookup_cmd_composition, complete_on_cmdlist, complete_on_enum):
Moved here from command.c.
(add_info, add_info_alias, add_com, add_com_alias): Moved here from
top.c.
* cli/cli-decode.h: Definitions/declarations for the above.
* cli/cli-cmds.c: New file. GDB CLI commands.
(error_no_arg, info_command, show_command, help_command, show_version,
quit_command, pwd_command, cd_command, echo_command, shell_escape,
make_command, show_user, set_debug, show_debug, init_cmd_lists):
Moved here from top.c.
(apropos_command): Moved here from command.c.
(complete_command, source_command): Moved here (part) from top.c.
(is_complete_command): New function. Checks if a command is the
"complete" command.
(init_cli_cmds): New function. Add commands to the CLI (from code
previously in top.c.
* cli/cli-cmds.h: Definitions/declarations for the above.
* cli/cli-script.c: New file. GDB CLI command scripting.
(build_command_line, get_command_line, print_command_lines,
print_command_line, execute_user_command, execute_control_command,
while_command, if_command, arg_cleanup, setup_user_args, locate_arg,
insert_args, realloc_body_list, read_next_line,
recurse_read_control_structure, read_command_lines, free_command_lines,
do_free_command_lines_cleanup, make_cleanup_free_command_lines,
validate_comname, user_defined_command, define_command,
document_command, source_cleanup_lines, do_fclose_cleanup,
show_user_1): Moved here from top.c.
(script_from_file): New function. Implements execution of a script
contained in a file (part of code for the source_command() that used
to exist in top.c).
* cli/cli-script.h: Definitions/declarations for the above.
* cli/cli-setshow.c: New file. Handle set and show GDB CLI commands.
(parse_auto_binary_operation, parse_binary_operation,
do_setshow_command, cmd_show_list): Moved here from command.c.
* cli/cli-setshow.h: Definitions/declarations for the above.
* top.c: Remove all CLI code, except the command loop.
(gdb_init): Call init_cli_cmds().
* command.c: Remove obsolete file.
* command.h: Mark as DEPRECATED.
* gdbcmd.h: Ditto.
* call-cmds.h: Ditto.
* Makefile.in (SFILES): Remove command.c.
(COMMON_OBS): Remove command.o.
(command.o): Remove obsolete target.
(cli_decode_h, cli_cmds_h, cli_script_h, cli_setshow_h): New macros.
Refer to CLI header files.
(cli-decode.o, cli-cmds.o, cli-setshow.o, cli-script.o): New targets.
(SUBDIR_CLI_OBS, SUBDIR_CLI_SRCS, SUBDIR_CLI_DEPS, SUBDIR_CLI_INITS,
SUBDIR_CLI_LDFLAGS, SUBDIR_CLI_CFLAGS, SUBDIR_CLI_ALL, SUBDIR_CLI_CLEAN,
SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): New macros for new cli
subdirectory.
* configure.in (enable_gdbcli): New option. Include the CLI in the
executable (cannot be disabled yet).
(CONFIG_OBS, CONFIG_DEPS, CONFIG_SRCS, CONFIG_INITS, ENABLE_CFLAGS,
CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Add
the corresponding SUBDIR_CLI_* macros if CLI requested.
* configure: Regenerate.
Phil Blundell [Fri, 1 Dec 2000 17:11:57 +0000 (17:11 +0000)]
2000-11-30 Philip Blundell <pb@futuretv.com>
* config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists,
even in non BFD_ASSEMBLER case.
Pierre Muller [Fri, 1 Dec 2000 10:40:10 +0000 (10:40 +0000)]
2000-10-27 Pierre Muller <muller@ics.u-strasbg.fr>
* p-exp.y (yylex): avoid problem with symbol name
starting as a operator name.
Diego Novillo [Fri, 1 Dec 2000 03:08:32 +0000 (03:08 +0000)]
2000-11-30 Diego Novillo <dnovillo@redhat.com>
* tc-i386.c (md_assemble): Swap i.disp_relocs when using intel
syntax.
2000-11-30 Diego Novillo <dnovillo@redhat.com>
* intel.s, intel.d: New test for @GOT references.
Fernando Nasser [Fri, 1 Dec 2000 00:43:47 +0000 (00:43 +0000)]
2000-11-30 Fernando Nasser <fnasser@redhat.com>
* linespec.h: New file. Declarations for linespec.c.
* linespec.c, alpha-tdep.c, breakpoint.c, parse.c, source.c,
symtab.c, tracepoint.c: Include the above.
* completer.c: New file. Line completion stuff for GDB.
(get_gdb_completer_word_break_characters,
get_gdb_completer_quote_characters): New functions. Accessors for
useful completer internal data.
(filename_completer, line_completion_function, skip_quoted): Moved
here from top.c.
* completer.h: New file. Declarations for the above.
* linespec.c (decode_line_1): Use
get_gdb_completer_word_break_characters and
get_gdb_completer_quote_characters.
* top.c: Include completer.h.
(filename_completer, line_completion_function, skip_quoted):
Moved to completer.c.
* corefile.c, exec.c, source.c, symfile.c, linespec.c: Include
completer.h.
* Makefile.in (SFILES): Add completer.c.
(COMMON_OBS): Add completer.o.
(completer.o): New target.
(linespec.o, alpha-tdep.o, breakpoint.o, parse.o, source.o,
symtab.o, tracepoint.o): Add linespec.h to dependencies list.
(corefile.o, exec.o, source.o, symfile.o, linespec.o): Add completer.h
to dependencies list.
Nick Clifton [Thu, 30 Nov 2000 19:30:33 +0000 (19:30 +0000)]
Add support for x86_64-*-linux-gnu* target
Nick Clifton [Thu, 30 Nov 2000 19:16:54 +0000 (19:16 +0000)]
Add support for x86_64-*-linux-gnu* target
Nick Clifton [Thu, 30 Nov 2000 19:05:18 +0000 (19:05 +0000)]
Add x86-64 support files.
DJ Delorie [Thu, 30 Nov 2000 15:35:54 +0000 (15:35 +0000)]
* readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
Hans-Peter Nilsson [Thu, 30 Nov 2000 15:08:44 +0000 (15:08 +0000)]
* emulparams/crislinux.sh (ENTRY): Change back to _start.
(TEXT_START_SYMBOLS): Remove conditional setting of __start.
* scripttempl/crisaout.sc: Change all RELOCATING not related to
merging non-a.out sections into CONSTRUCTING.
Kazu Hirata [Thu, 30 Nov 2000 08:04:42 +0000 (08:04 +0000)]
2000-11-30 Kazu Hirata <kazu@hxi.com>
* xcofflink.c: Fix formatting.
Andrew Cagney [Thu, 30 Nov 2000 03:30:52 +0000 (03:30 +0000)]
Regenerate gdbarch.c.
Nick Clifton [Thu, 30 Nov 2000 01:55:12 +0000 (01:55 +0000)]
Add support for ARM's v5TE architecture and Intel's XScale extenstions
Nick Clifton [Thu, 30 Nov 2000 01:54:16 +0000 (01:54 +0000)]
Add GNU Free Documentation License
Nick Clifton [Wed, 29 Nov 2000 21:45:14 +0000 (21:45 +0000)]
Turn Gnu Free Documentation License intoa comment
Richard Henderson [Wed, 29 Nov 2000 21:42:41 +0000 (21:42 +0000)]
* dwarf2dbg.c: Rewrite from scratch. Queue all debugging output
until dwarf2_finish; use relaxation to get cross-fragment offsets;
thread multiple subsegments properly; handle multiple code
sections properly; emit proper compilation unit info for assembler
generated debugging.
* as.h (enum _relax_state): Add rs_dwarf2dbg.
* dwarf2dbg.h (struct dwarf2_line_info): Remove filename.
(dwarf2dbg_estimate_size_before_relax): Declare.
(dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare.
* write.c: Include dwarf2dbg.h.
(cvt_frag_to_fill): Handle rs_dwarf2dbg.
(relax_segment): Likewise.
DJ Delorie [Wed, 29 Nov 2000 20:14:48 +0000 (20:14 +0000)]
* libiberty.h: Move #includes to top. Prototype xmalloc_failed.
DJ Delorie [Wed, 29 Nov 2000 20:07:08 +0000 (20:07 +0000)]
* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
(AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
* configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
argument form of AC_DEFINE in dummy definitions block. Use
AC_DEFINE_NOAUTOHEADER for real definitions of things defined
in dummy block. Preload cache variables instead of bypassing
tests, where possible.
* acconfig.h: Removed.
* xmalloc.c (xmalloc_failed): New function, does error
reporting on failed allocation.
(xmalloc, xcalloc, xrealloc): Use it.
DJ Delorie [Wed, 29 Nov 2000 19:19:10 +0000 (19:19 +0000)]
* hashtab.c (higher_prime_number): Use a table, rather than a
seive, to find the next prime.
DJ Delorie [Wed, 29 Nov 2000 19:17:37 +0000 (19:17 +0000)]
* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
(AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
* configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
argument form of AC_DEFINE in dummy definitions block. Use
AC_DEFINE_NOAUTOHEADER for real definitions of things defined
in dummy block. Preload cache variables instead of bypassing
tests, where possible.
* acconfig.h: Removed.
* xmalloc.c (xmalloc_failed): New function, does error
reporting on failed allocation.
(xmalloc, xcalloc, xrealloc): Use it.
Andrew Cagney [Wed, 29 Nov 2000 14:41:34 +0000 (14:41 +0000)]
Fix -Wuninitialized warnings.
Kazu Hirata [Wed, 29 Nov 2000 04:56:32 +0000 (04:56 +0000)]
2000-11-28 Kazu Hirata <kazu@hxi.com>
* elf32-mips.c: Fix formatting.
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:53:51 +0000 (23:53 +0000)]
(parse_reg): Parse names case-insensitively.
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:48:44 +0000 (23:48 +0000)]
(sh_elf_cons): Cast *input_line_pointer to unsigned char when
indexing is_end_of_line[].
(md_assemble): Initialize size to 0.
(md_section_align): Mark parameter seg as unused.
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:42:53 +0000 (23:42 +0000)]
* sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned.
(print_insn_ppi): Make nib1, nib2, nib3 unsigned.
Initialize variable dc to NULL.
(print_insn_shx): Remove unused label d_reg_n.
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:39:19 +0000 (23:39 +0000)]
* gas/sh/err.exp: New, framework for error-testing.
* gas/sh/err-1.s: New test.
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:33:45 +0000 (23:33 +0000)]
* config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
jump>: Use as_bad_where instead of as_bad. Tweak error message
accordingly. Stabilize frag by updating fix part and resetting
variant part.
<undefined symbol, unconditional jump>: Ditto.
Hans-Peter Nilsson [Tue, 28 Nov 2000 23:10:05 +0000 (23:10 +0000)]
Change sourceware.cygnus.com to sources.redhat.com.
Fix typo for "amongst".
Hans-Peter Nilsson [Tue, 28 Nov 2000 22:57:04 +0000 (22:57 +0000)]
* MAINTAINERS: Add Jörn Rennecke and self as SH maintainers.
Fernando Nasser [Tue, 28 Nov 2000 22:53:38 +0000 (22:53 +0000)]
2000-11-22 Michael Chastain <chastain@redhat.com>
* mips_pro.exp: Accept either "middle -> top -> main" or
"middle -> main" in the backtrace, because gcc can optimize
tail calls to jumps. Remove setup_xfail for the hppa case.
Add a comment with the original warning messages from PR 3016,
which was filed in 1993, to preserve them for posterity.
Kazu Hirata [Tue, 28 Nov 2000 21:42:16 +0000 (21:42 +0000)]
2000-11-28 Kazu Hirata <kazu@hxi.com>
* aoutx.h: Fix formatting.
* bfd-in.h: Likewise.
* bfd-in2.h: Likewise.
* cache.c: Likewise.
* cisco-core.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* coffswap.h: Likewise.
* corefile.c: Likewise.
Kazu Hirata [Tue, 28 Nov 2000 21:29:02 +0000 (21:29 +0000)]
2000-11-27 Kazu Hirata <kazu@hxi.com>
* config/obj-aout.h: Fix formatting.
* config/obj-bout.h: Likewise.
* config/obj-coff.c: Likewise.
* config/obj-coff.h: Likewise.
* config/obj-elf.h: Likewise.
* config/obj-som.h: Likewise.
* config/obj-vms.c: Likewise.
* config/obj-vms.h: Likewise.
* config/tc-h8300.h: Likewise.
* config/tc-ns32k.h: Likewise.
* config/tc-sparc.h: Likewise.
* config/tc-tic54x.h: Likewise.
* config/tc-z8k.h: Likewise.
Mark Salter [Tue, 28 Nov 2000 21:00:57 +0000 (21:00 +0000)]
*** empty log message ***
Mark Salter [Tue, 28 Nov 2000 21:00:23 +0000 (21:00 +0000)]
Add Mark Salter to Write After Approval list.
Nick Clifton [Tue, 28 Nov 2000 20:40:35 +0000 (20:40 +0000)]
Move GNU Free Documentation License from the output into a comment
Hans-Peter Nilsson [Tue, 28 Nov 2000 20:13:07 +0000 (20:13 +0000)]
* Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
targets. Remove i860 from valid a.out targets.
* Makefile.in: Regenerate.
Hans-Peter Nilsson [Tue, 28 Nov 2000 20:08:14 +0000 (20:08 +0000)]
* binutils-all/readelf.s: Adjust to readelf.c formatting changes.
Christopher Faylor [Tue, 28 Nov 2000 17:27:38 +0000 (17:27 +0000)]
* win32-nat.c (dll_code_sections_add): strdup -> xstrdup.
Hans-Peter Nilsson [Tue, 28 Nov 2000 15:39:15 +0000 (15:39 +0000)]
* config/tc-cris.c: Include dwarf2dbg.h.
(md_pseudo_table): Add .file and .loc.
(md_assemble): Call dwarf2_emit_insn if generating ELF.
(s_cris_file, s_cris_loc): New.
* config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
* Makefile.am: Regenerate dependencies.
* Makefile.in: Regenerate.
Alan Modra [Tue, 28 Nov 2000 13:33:22 +0000 (13:33 +0000)]
Correct {STANDARD,MRI}_MUL_PRECEDENCE value.
David O'Brien [Tue, 28 Nov 2000 10:43:11 +0000 (10:43 +0000)]
2000-11-28 David O'Brien <obrien@dragon.nuxi.com>
* emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
does not use them.
Approved by: Richard Henderson <rth@twiddle.net>
Message-ID: <
20001127014059.A16638@twiddle.net>
Kazu Hirata [Tue, 28 Nov 2000 01:33:15 +0000 (01:33 +0000)]
2000-11-27 Kazu Hirata <kazu@hxi.com>
* coff64-rs6000.c: Fix formatting.
* coffgen.c: Likewise.
* cofflink.c: Likewise.
Kazu Hirata [Tue, 28 Nov 2000 01:27:10 +0000 (01:27 +0000)]
2000-11-27 Kazu Hirata <kazu@hxi.com>
* aout-adobe.c: Fix formatting.
Hans-Peter Nilsson [Mon, 27 Nov 2000 21:52:56 +0000 (21:52 +0000)]
* common.h (e_machine numbers): Clarify comments to describe how
EM_* constants are assigned. Move EM_PJ from official section to
ad-hoc section.
(EM_CRIS): Correct comment to match official description.
(EM_MMIX): Ditto.
DJ Delorie [Mon, 27 Nov 2000 21:10:31 +0000 (21:10 +0000)]
oops, forgot a semicolon
DJ Delorie [Mon, 27 Nov 2000 21:07:47 +0000 (21:07 +0000)]
* readelf.c (usage): Add -wf (--debug-dump=frames) option.
(parse_args): Support -wf option.
(process_section_headers): Ditto.
(debug_displays): Ditto.
(display_debug_frames): New, dump *_frame sections.
(frame_need_space): Support for above.
(frame_display_row): Ditto.
* binutils.texi: Document it.
Stephane Carrez [Mon, 27 Nov 2000 19:53:35 +0000 (19:53 +0000)]
Fix delete_hw_event_data() to free the scheduled events
Stephane Carrez [Mon, 27 Nov 2000 19:49:46 +0000 (19:49 +0000)]
Remove space == 0 restriction in the simulator (dv-core)
Phil Blundell [Mon, 27 Nov 2000 12:45:17 +0000 (12:45 +0000)]
2000-11-27 Philip Blundell <pb@futuretv.com>
* libcoff-in.h (coff_tdata): Add `strings_written' flag.
(obj_coff_strings_written): New accessor macro for above.
* libcoff.h: Regenerate.
* cofflink.c (_bfd_coff_final_link): Say that we wrote the
strings.
* coffcode.h (coff_write_object_contents): No need to write out
the string table if it's already been done.
Phil Blundell [Mon, 27 Nov 2000 11:08:15 +0000 (11:08 +0000)]
2000-11-22 Philip Blundell <pb@futuretv.com>
* cofflink.c (_bfd_coff_generic_relocate_section): Don't object to
weak undefined symbols.
Andrew Cagney [Mon, 27 Nov 2000 02:18:44 +0000 (02:18 +0000)]
* remote.c (remote_write_bytes): Add default case to switch
initializing ``todo''. Ditto for ``nr_bytes''.
* top.c (catch_errors): Always initialize ``val''.
* solib.c (info_sharedlibrary_command): Handle bfd_get_arch_size
returning an unknown size.
* gdbtypes.c (count_virtual_fns): Always initialize ``vfuncs''.
* breakpoint.c (break_at_finish_at_depth_command_1): Initialise
extra_args to NULL.
(break_at_finish_command_1): Ditto.
Andrew Cagney [Mon, 27 Nov 2000 00:37:19 +0000 (00:37 +0000)]
* TODO: Add GFDL updates to 5.1 release criteria.
Stephane Carrez [Sun, 26 Nov 2000 21:41:31 +0000 (21:41 +0000)]
Preliminary support for 68HC12
Stephane Carrez [Sun, 26 Nov 2000 21:18:15 +0000 (21:18 +0000)]
Fix movw/movb operands for 68HC12
Stephane Carrez [Sun, 26 Nov 2000 20:53:11 +0000 (20:53 +0000)]
Register a delete handler for 68HC11 core device node
Nick Clifton [Sun, 26 Nov 2000 20:04:41 +0000 (20:04 +0000)]
Add support for configuring an xscale atrget
David O'Brien [Sat, 25 Nov 2000 10:58:09 +0000 (10:58 +0000)]
2000-11-25 David O'Brien <obrien@FreeBSD.org>
* ld.1: Remove old date so it does not give the impression the
manpage is way out of date.
Approved by: Nick Clifton <nickc@redhat.com>
<
200011250036.QAA09984@elmo.cygnus.com>
Stephane Carrez [Sat, 25 Nov 2000 09:18:52 +0000 (09:18 +0000)]
Fix for sim/common hw_delete()/hw_tree_delete()
Stephane Carrez [Sat, 25 Nov 2000 09:16:22 +0000 (09:16 +0000)]
Fix memory leak in sim_parse_args
Nick Clifton [Sat, 25 Nov 2000 00:21:40 +0000 (00:21 +0000)]
Add ARM v5t, v5te and XScale support
Nick Clifton [Fri, 24 Nov 2000 21:31:21 +0000 (21:31 +0000)]
Remove redundant init of config.make_executable to true.
Stephane Carrez [Fri, 24 Nov 2000 21:24:04 +0000 (21:24 +0000)]
Support 68HC12 arch in Gdb
Stephane Carrez [Fri, 24 Nov 2000 20:59:42 +0000 (20:59 +0000)]
Use gdbarch_tdep for 68hc11 specific data (stack_correction global)
Stephane Carrez [Fri, 24 Nov 2000 20:53:35 +0000 (20:53 +0000)]
Fix device memory allocation in 68hc11 simulator
Andrew Cagney [Fri, 24 Nov 2000 11:02:59 +0000 (11:02 +0000)]
Add --enable-gdb-build-warnings=... to configure{,.in}.
Fernando Nasser [Fri, 24 Nov 2000 00:34:43 +0000 (00:34 +0000)]
Fix entry typo and missing information.
Alexandre Oliva [Thu, 23 Nov 2000 07:49:23 +0000 (07:49 +0000)]
* ltcf-gcj.sh: Added file, required by 2000-11-18 merge.
Kazu Hirata [Thu, 23 Nov 2000 07:33:24 +0000 (07:33 +0000)]
2000-11-23 Kazu Hirata <kazu@hxi.com>
* aix386-core.c: Fix formatting.
Alexandre Oliva [Thu, 23 Nov 2000 04:04:00 +0000 (04:04 +0000)]
ChangeLog
Hans-Peter Nilsson [Thu, 23 Nov 2000 00:08:38 +0000 (00:08 +0000)]
* cplus-dem.c (main): Handle gnat_demangling.
Nick Clifton [Wed, 22 Nov 2000 23:49:39 +0000 (23:49 +0000)]
Add new machien types and section flags
Nick Clifton [Wed, 22 Nov 2000 23:19:15 +0000 (23:19 +0000)]
Add new ELF ABI defines
Jim Wilson [Wed, 22 Nov 2000 23:08:47 +0000 (23:08 +0000)]
Eliminate compiler warnings from IA-64 port.
* config/tc-ia64.c (pseudo_func): Add missing initializers.
(struct rsrc): Make line unsigned.
(gr_values): Add missing initializer.
(SLOT_NUM_NOT_SET): Add unsigned cast.
(ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix,
dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf,
dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state,
dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body,
dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln,
dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource,
md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align):
Add ATTRIBUTE_UNUSED to unused parameters.
(convert_expr_to_ab_reg): Add parens.
(convert_expr_to_xy_reg): Add parens. Comment out >= REG_GR test.
(dot_prologue): Initialize grsave when declared.
(md_pseudo_table): Add missing initializers.
(operand_match): Add casts to bfd_vma.
(emit_one_bundle): Delete unused local prev. Make required_template
unsigned.
(specify_resource): Cast i to unsigned.
(note_register_values): Use fprintf_vma.
(print_dependency): Likewise.
Jim Wilson [Wed, 22 Nov 2000 21:25:36 +0000 (21:25 +0000)]
Eliminate compiler warnings from IA-64 port.
* coff-ia64.c (howto_table): Use EMPTY_HOWTO.
(in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters.
* cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise.
(ins_imms_scaled): Initialize sign_bit at function entry.
(elf64_ia64_operands): Add missing initializers.
* elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup,
elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections,
elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name,
elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff,
elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused
parameters.
(elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents,
and free_extsyms at function entry.
(elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result.
(elfNN_ia64_create_dynamic_sections): Delete unused local h.
(get_got): Delete unused local srel.
(elfNN_ia64_check_relocs): Initialize dynrel_type when declared.
(elfNN_ia64_relocate_section): Delete unused local dynindx.
Chris Demetriou [Wed, 22 Nov 2000 18:01:56 +0000 (18:01 +0000)]
* mips-opc.c: Fix file header comment.
Jim Wilson [Wed, 22 Nov 2000 02:10:34 +0000 (02:10 +0000)]
Fix linux kernel unwind section alignment failure.
* config/tc-ia64.c (generate_unwind_image): Call record_alignment
for unwind info section.
(dot_endp): Likewise for unwind section.
Jim Wilson [Wed, 22 Nov 2000 01:12:05 +0000 (01:12 +0000)]
Fix assembler error on linux kernel mm/memory.c file.
* config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to
fix_new_exp.
Kazu Hirata [Wed, 22 Nov 2000 01:08:53 +0000 (01:08 +0000)]
2000-11-21 Kazu Hirata <kazu@hxi.com>
* coff-a29k.c: Fix formatting.
* coff-h8500.c: Likewise.
* coff-i960.c: Likewise.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
* coff-stgo32.c: Likewise.
* coff-tic54x.c: Likewise.
* coff-w65.c: Likewise.
* cpu-h8500.c: Likewise.
* cpu-hppa.c: Likewise.
* cpu-ns32k.c: Likewise.
Kazu Hirata [Wed, 22 Nov 2000 00:56:55 +0000 (00:56 +0000)]
2000-11-21 Kazu Hirata <kazu@hxi.com>
* ecoff.c: Fix formatting.
* ecofflink.c: Likewise.
Jakub Jelinek [Tue, 21 Nov 2000 21:37:44 +0000 (21:37 +0000)]
* config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
Nick Clifton [Tue, 21 Nov 2000 19:47:10 +0000 (19:47 +0000)]
Fix compile time warning, and remove possibility of infinite loop.
Jakub Jelinek [Tue, 21 Nov 2000 12:40:14 +0000 (12:40 +0000)]
* config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
(output_insn): Call dwarf2_emit_insn.
Hans-Peter Nilsson [Tue, 21 Nov 2000 10:54:08 +0000 (10:54 +0000)]
* cplus-dem.c (cplus_demangle): Fix formatting.
(grow_vect): Ditto.
(ada_demangle): Ditto.
(internal_cplus_demangle): Ditto.
(mop_up): Ditto.
* cplus-dem.c (main): Handle java_demangling.
* cplus-dem.c (grow_vect): Prototype.
(ada_demangle): Cast the arg of ctype macros to unsigned char.
Peter Schauer [Tue, 21 Nov 2000 10:26:07 +0000 (10:26 +0000)]
* target.h (TARGET_SIGNAL_REALTIME_64): Added for IRIX 6.
* target.c (target_signal_from_host, do_target_signal_to_host):
Handle TARGET_SIGNAL_REALTIME_64.
Kevin Buettner [Tue, 21 Nov 2000 09:23:32 +0000 (09:23 +0000)]
* solib.c (solib_open): Handle the case where
solib_absolute_prefix is NULL.
Kazu Hirata [Tue, 21 Nov 2000 02:24:32 +0000 (02:24 +0000)]
2000-11-20 Kazu Hirata <kazu@hxi.com>
* bfd-in.h: Fix formatting.
* bfd-in2.h: Likewise.
* bfd.c: Likewise.
* bout.c: Likewise.
Michael Snyder [Tue, 21 Nov 2000 01:09:54 +0000 (01:09 +0000)]
2000-11-20 Michael Snyder <msnyder@cleaver.cygnus.com>
* solist.h: Declare new function solib_open.
* solib.c (solib_open): New function. Abstracts some of the
code from solib_map_sections, for finding the binary solib file.
(solib_map_sections): Call solib_open.
* solib-svr4.c (enable_break): Call solib_open.
J.T. Conklin [Tue, 21 Nov 2000 00:25:58 +0000 (00:25 +0000)]
* gdbserver/low-nbsd.c (fetch_inferior_registers,
store_inferior_registers): Support older NetBSD/powerpc systems
from before fp reg support was added. Adapt to register number
changes caused when powerpc target was multi-arched.
H.J. Lu [Mon, 20 Nov 2000 23:47:41 +0000 (23:47 +0000)]
2000-11-20 H.J. Lu <hjl@gnu.org>
* readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
ELFOSABI_AIX.
H.J. Lu [Mon, 20 Nov 2000 23:46:36 +0000 (23:46 +0000)]
2000-11-20 H.J. Lu <hjl@gnu.org>
* ia64-tdep.c (gdbarch_tdep): Change reference from
ELFOSABI_MONTEREY to ELFOSABI_AIX.