aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-07-30 * ld.h (args_type): Add cref field.Ian Lance Taylor3-17/+87
* lexsup.c (parse_args): Set command_line.cref. * ldmain.c (main): Check command_line.cref rather than link_info.notice_all. (notice): Likewise.
1996-07-30 * ldcref.c (output_one_cref): Don't crash if a symbol is definedIan Lance Taylor1-0/+327
in a section without an owner.
1996-07-30 * xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): Do the regularIan Lance Taylor2-12/+21
archive search before looking for stripped dynamic objects. PR 10187.
1996-07-30 * rs6000-tdep.c (push_arguments): Remove unused variable "pc".Fred Fish2-5/+17
(branch_dest): Remove unused variable "offset". (pop_dummy_frame): Add prototype and make static. (push_arguments): Guard against using len uninitialized. (push_arguments): Guard against using arg uninitialized. (frame_saved_pc): Remove unused variable "frameless". (free_loadinfo): Ifdef out unused function.
1996-07-30 * xcoffread.c (compare_lte): Change prototype and function toFred Fish2-2/+49
be correct type for passing to qsort. (add_stab_to_list): Ifdef out unused function and prototype. (compare_lte): Add prototype (arrange_linetable): Ditto. (record_include_begin): Ditto. (record_include_end): Ditto. (process_linenos): Ditto. (xcoff_next_symbol_text): Ditto. (scan_xcoff_symtab): Ditto. (xcoff_initial_scan): Ditto.
1996-07-30 * mips-tdep.c (mips_read_processor_type): Add parens aroundFred Fish2-1/+5
bitwise-and operands in comparison; previous expression always evaluated to 0 because of equality comparison of two constants.
1996-07-30 * rs6000-tdep.c (skip_prologue): Add missing parens aroundFred Fish2-2/+6
operands of logical-or so that first operand does not bind to previous logical-and.
1996-07-30 * configure.in: Expand "long long" test to include code that triggersFred Fish3-38/+54
known problem on HPUX with native compiler. (configure): Regenerated.
1996-07-30 * somsolib.c (som_solib_create_inferior_hook): Don'tJeff Law2-6/+9
warn if __d_pid can't be found.
1996-07-29 * fnmatch.h, fnmatch.c: New files.Ian Lance Taylor10-173/+903
* ldlex.l: Remove unused definition of FILENAME. Add definition of WILDCHAR. In SCRIPT mode, accept any sequence of WILDCHAR as a NAME. * ldgram.y (file_NAME_list): Accept '*' and '?' specially. (input_section_spec): Accept '?' specially. (statement): Change exp to mustbe_exp in length and FILL cases. (section): Call ldlex_script before section statements, and call ldlex_popstate after them. * ldlang.c: Include "fnmatch.h". (wildcardp): New static function. (wild_section): Permit the section name to be a wildcard. (wild_file): New static function, broken out of wild. (wild): Call wild_file. Permit the file name to be a wildcard. (open_input_bfds): Don't call lookup_name for a wildcard pattern. * Makefile.in: Rebuild dependencies. (CFILES): Add fnmatch.c. (HFILES): Add fnmatch.h. (OFILES): Add fnmatch.o. * ld.texinfo: Document that file and section names can now be wildcard patterns. * ldlang.c (lang_place_orphans): Correct condition: place a common section if not relocateable or if common definitions are forced.
1996-07-28 * config/mips/tm-mips.h (struct frame_info): Forward decl.Fred Fish6-8/+145
(struct type): Ditto. (struct value): Ditto. * config/mips/tm-mips.h (sigtramp_address): Move extern decl from mips-tdep.c to here. (sigtramp_end): Ditto. (fixup_sigtramp): Ditto. * config/mips/tm-mips.h (init_extra_frame_info): Add prototype. (mips_frame_chain): Ditto. (mips_step_skips_delay): Ditto. (mips_frame_saved_pc): Ditto. (mips_find_saved_regs): Ditto. (mips_frame_num_args): Ditto. (mips_pop_frame): Ditto. (mips_extract_return_value): Ditto. (mips_store_return_value): Ditto. (mips_push_dummy_frame): Ditto. (mips_push_arguments): Ditto. (mips_do_registers_info): Ditto. (ecoff_relocate_efi): Ditto. (ecoff_relocate_efi): Ditto. * irix4-nat.c (fetch_core_registers): Add prototype. * mips-tdep.c (read_next_frame_reg): Add prototype (heuristic_proc_start): Ditto. (heuristic_proc_desc): Ditto. (mips_print_register): Ditto. * config/mips/nm-irix5.h (procfs_set_watchpoint): Add prototype. (procfs_stopped_by_watchpoint): Ditto. * config/mips/nm-irix4.h (procfs_set_watchpoint): Add prototype. (procfs_stopped_by_watchpoint): Ditto. * config/alpha/tm-alpha.h (ecoff_relocate_efi): Add prototype. (struct symbol): Add forward decl for prototype. * breakpoint.c (internal_breakpoint_number): Only needed if GET_LONGJMP_TARGET or SOLIB_ADD is defined. * objfiles.c (ecoff_relocate_efi): Remove prototype.
1996-07-28 * configure.in: Add test for "long long" support.Fred Fish28-141/+476
* configure: Regenerate with autoconf. * acconfig.h: Add CC_HAS_LONG_LONG * config.in: Regenerate with autoheader. * config/mips/tm-mips64.h (FORCE_LONG_LONG): Remove * config/sparc/tm-sp64.h (CC_HAS_LONG_LONG): Remove. * config/mips/tm-vr4300el.h (CC_HAS_LONG_LONG): Remove. * config/mips/tm-vr4300.h (CC_HAS_LONG_LONG): Remove. * config/mips/xm-irix5.h (CC_HAS_LONG_LONG): Remove (PRINTF_HAS_LONG_LONG): Remove. (FORCE_LONG_LONG): Remove. * config/powerpc/xm-aix.h (UINT_MAX): Undef and use gdb's version. * config/convex/xm-convex.h (CC_HAS_LONG_LONG): Remove (PRINTF_HAS_LONG_LONG): Remove. * config/xm-nbsd.h (CC_HAS_LONG_LONG): Remove. (PRINTF_HAS_LONG_LONG): Remove. * config/pa/tm-hppa.h (GET_FIELD): Put parens around subtraction inside shift. Put parens around subtraction in operand of bitwise and. (struct frame_info): Forward declare if __STDC__ defined. (frame_saved_regs): Ditto. (struct value): Ditto. (struct type): Ditto. (struct inferior_status): Ditto. (init_extra_frame_info): Add prototype. (skip_prologue): Ditto. (frameless_function_invocation): Ditto. (frame_chain): Ditto. (frame_chain_valid): Ditto. (saved_pc_after_call): Ditto. (hppa_fix_call_dummy): Ditto. (hppa_push_arguments): Ditto. (pa_do_registers_info): Ditto. (in_solib_call_trampoline): Ditto. (in_solib_return_trampoline): Ditto. (push_dummy_frame): Ditto. * convex-tdep.c (decout): Use print_longest rather than fprintf_filtered. * defs.h: Remove use of FORCE_LONG_LONG and __GNUC__ to set CC_HAS_LONG_LONG. (INT_MIN): Fix so it works correctly when assigned to a long long. * valprint.c (longest_to_int): Rewrite to remove dependence on INT_MIN and INT_MAX. (print_longest): Rewrite the code that falls back to synthesized hex output when LONGEST value is not representable as in a long and printf doesn't support printing long longs. * ch-valprint.c (chill_val_print): Cast 2nd arg of chill_print_type_scalar to LONGEST. chill_print_type_scalar): Make static and add prototype. * hppa-tdep.c (get_field): Ifdef out unused function. (set_field): Ditto. (extract_3): Ditto. (extract_5_store): Ditto. (extract_11): Ditto. (extract_12): Ditto. (deposit_17): Ditto. (extract_14): Convert to static and add prototype. (deposit_14): Ditto. (extract_21): Ditto. (deposit_21): Ditto. (extract_17): Ditto. (extract_5r_store): Ditto. (extract_5R_store): Ditto. (extract_5_load): Ditto. (find_proc_framesize): Ditto. (find_dummy_frame_regs): Ditto. (sign_extend): Ditto. (find_unwind_entry): Add prototype. (find_return_regnum): Ditto. (unwind_command): Ditto. (find_dummy_frame_regs): Add parens around subtraction in operand of bitwise-and. (skip_prologue): Add parens around operands of logical-and inside operand of logical-or. (sign_extend): Add parens around operands of subtraction inside operand of shift. (low_sign_extend): Ditto. * top.c (filename_completer): Convert old style decl of filename_completion_function into prototype. * f-lang.c (patch_common_entries): Ifdef out unused function. * stabsread.c (read_cfront_baseclasses): Remove unused local variable "msg_noterm". (resolve_cfront_continuation): Remove unused local variable "fip". (read_type): Remove unused variable xtypenums. (read_cfront_static_fields): Remove unused variable "i". (read_cfront_static_fields): Remove unused variable "nfields". (read_cfront_member_functions): Add missing comment terminator. (read_cfront_static_fields): Return 1 rather than random value. (read_cfront_baseclasses): Ditto. (read_cfront_baseclasses): Ditto. (read_cfront_baseclasses): Ditto. * somsolib.c (som_solib_create_inferior_hook): Remove unused variable "u". (som_solib_create_inferior_hook): Remove unused variable shadow_contents. (language.h): Add for needed prototypes. (som_solib_sharedlibrary_command): Add prototype. * hpread.c: (hpread_read_array_type): Add prototype. * somread.c (hpread_build_pysmtabs): Add prototype. (hpread_symfile_finish): Ditto. (hpread_symfile_init): Ditto. * hppah-nat.c (fetch_register): Convert old style decl to prototype. (gdbcore.h): Include for needed prototypes. (fetch_register): Remove unused variable "mess". * remote-pa.c (get_offsets): Ifdef out unused function. (remote_start_remote): Remove unused variable "timeout". (boot_board): Add prototype. (reaad_frame): Add prototype. (getpkt): Remove unused variable "bp". (remote_kill): Add prototype. (remote_mourn): Add prototype. (remote_insert_breakpoint): Add prototype. (remote_remove_breakpoint): Add prototype. * valops.c (value_push): Only use if PUSH_ARGUMENTS is not defined. * infcmd.c (do_registers_info): Only need prototype if DO_REGISTERS_INFO is not defined. (breakpoint_auto_delete_contents): Only need if CALL_DUMMY_BREAKPOINT_OFFSET is defined.
1996-07-27 * mpw-config.in: Generate Mac include for elf/dwarf2.h.Stan Shebs1-0/+4
1996-07-27 * xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter.Fred Fish2-11/+17
(END_PSYMTAB): Ditto. (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set.
1996-07-26 * xcofflink.c (xcoff_build_ldsyms): Make exporting an undefinedIan Lance Taylor2-4/+8
symbol a warning rather than an error. PR 10208.
1996-07-26Fri Jul 26 11:45:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt2-4/+13
* d10v-opc.c (d10v_operands): Added UNUM4S; a 4-bit accumulator shift. (d10v_opcodes): Modified accumulator shift instructions to use UNUM4S.
1996-07-26Fri Jul 26 11:47:10 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+4
* d10v.h (OPERAND_SHIFT): New operand flag.
1996-07-26Fri Jul 26 11:43:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-13/+54
* tc-d10v.c: Added lots of error checking. Added hacks to support accumulator shifts.
1996-07-26Fri Jul 26 11:43:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+7
* config/tc-d10v.c: Added lots of error checking. Added hacks to support accumulator shifts.
1996-07-26 * printcmd.c (_initialize_printcmd): InitializeIan Lance Taylor2-0/+7
tm_print_insn_info.flavour. * gdbtk.c (gdb_disassemble): Initialize di.flavour.
1996-07-26 * objdump.c (disassemble_data): Set disasm_info.flavour fromIan Lance Taylor1-0/+5
abfd.
1996-07-26 * alpha-dis.c (print_insn_alpha_osf): Remove.Ian Lance Taylor1-0/+8
(print_insn_alpha_vms): Remove. (print_insn_alpha): Make globally visible. Chose the register names based on info->flavour. * disassemble.c: Always return print_insn_alpha for the alpha.
1996-07-26 * symbols.c (S_SET_EXTERNAL): Let .weak override.Ian Lance Taylor2-7/+8
(S_CLEAR_EXTERNAL): Likewise. (S_SET_WEAK): Remove error; just let .weak override.
1996-07-26 * libiberty.h (PRIVATE_XMALLOC): Enclose xmalloc/xreallocFred Fish1-0/+10
definitions inside #ifndef so that programs that want to can define PRIVATE_XMALLOC and then define xmalloc and xrealloc anyway they want. (basename): Document in source that we can't declare the parameter type because it is declared inconsistently across different systems.
1996-07-26See the huge ChangeLog entry that has the header:Fred Fish17-72/+110
Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com> for details about these changes. I was going to include the complete entry in the checkin message but it was apparently so large it caused cvs to dump core.
1996-07-26See gdb ChangeLog entry with header:Fred Fish74-366/+1460
Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com> for a rather huge set of changes. I was going to put them here, but it made cvs dump core. :-(
1996-07-25 * dsrec.c (load_srec): Protect ANSI style function parms with PARAMS.David Edelsohn1-0/+4
1996-07-25Thu Jul 25 15:24:17 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+4
* d10v-dis.c (dis_long): Handle unknown opcodes.
1996-07-25Thu Jul 25 15:22:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-35/+53
* tc-d10v.c (md_assemble): Now handles multiline instructions.
1996-07-25Thu Jul 25 15:22:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-1/+7
* config/tc-d10v.c (md_assemble): Now handles multiline instructions.
1996-07-25Thu Jul 25 12:08:09 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt3-43/+73
* d10v-opc.c: Changes to support signed and unsigned numbers. All instructions with the same name that have long and short forms now end in ".l" or ".s". Divs added. * d10v-dis.c: Changes to support signed and unsigned numbers.
1996-07-25Thu Jul 25 12:06:22 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt2-6/+19
* d10v.h: Changes for divs, parallel-only instructions, and signed numbers.
1996-07-25Thu Jul 25 12:03:33 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-54/+149
* tc-d10v.c: Fix packaging bug. Added range checking. Added kludge for divs instruction. Fixed minor problem with multiple text sections. * tc-d10v.h (d10v_cleanup): Change prototype.
1996-07-25Thu Jul 25 12:03:33 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+6
* config/tc-d10v.c: Fix packaging bug. Added range checking. Added kludge for divs instruction. Fixed minor problem with multiple text sections. * config/tc-d10v.h (d10v_cleanup): Change prototype.
1996-07-25Add mh-irix6.Mark Alexander1-0/+1
1996-07-24tipoIan Lance Taylor1-1/+1
1996-07-24start-sanitize-d10vMartin Hunt1-1/+1
Wed Jul 24 12:16:38 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * d10velf.sh (SCRIPT_NAME): Change to elf. end-sanitize-d10v
1996-07-24start-sanitize-d10vMartin Hunt1-0/+4
Wed Jul 24 12:16:38 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * emulparams/d10velf.sh (SCRIPT_NAME): Change to elf. end-sanitize-d10v
1996-07-24Allow plain d10v as a targetMichael Meissner1-0/+4
1996-07-24 * elf.c (assign_file_positions_for_segments): Track the virtualIan Lance Taylor2-2/+12
memory position separately from the file position, and use it to compute the alignment adjustment. PR 10039.
1996-07-23start-sanitize-d10vMartin Hunt2-50/+70
Tue Jul 23 11:02:53 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * d10v-dis.c: Change all functions to use info->print_address_func. end-sanitize-d10v
1996-07-23start-sanitize-d10vMartin Hunt1-0/+4
Tue Jul 23 10:36:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * emulparams/d10velf.sh: New file. end-sanitize-d10v
1996-07-23 * dlltool.c (secdata): In non DLLTOOL_PPC case, change alignmentIan Lance Taylor1-0/+5
of .text section to 2.
1996-07-23start-sanitize-d10vMartin Hunt1-0/+8
Tue Jul 23 10:36:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * emulparams/d10velf.sh: New file. end-sanitize-d10v
1996-07-23start-sanitize-d10vMartin Hunt4-0/+45
Tue Jul 23 10:36:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * Makefile.in (ed10velf.c): New target. * configure.tgt (d10v-*-elf*): New target. * emulparams/d10velf.sh: New file. end-sanitize-d10v
1996-07-23start-sanitize-d10vMartin Hunt2-3/+23
Tue Jul 23 10:49:36 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * config/tc-d10v.c (md_apply_fix3): Fix all instruction addresses to be right-shifted by 2. end-sanitize-d10v
1996-07-23start-sanitize-d10vMartin Hunt2-7/+14
Tue Jul 23 10:43:31 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * elf32-d10v.c (elf_d10v_howto_table): Changed all relocs to "long" and fixed mask on R_D10V_10_PCREL_L. end-sanitize-d10v
1996-07-23start-sanitize-d10vMartin Hunt2-1/+7
Tue Jul 23 10:47:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * configure.in (d10v-*-*): Remove ld from $noconfigdirs. end-sanitize-d10v
1996-07-23New simulator changes from AndrewMichael Meissner50-6007/+10369
1996-07-23Fix mistake from Brendan's last checkin.Jim Wilson1-1/+1