aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-08-08Thu Aug 8 12:27:52 1996 Klaus Kaempf <kkaempf@progis.de>Ian Lance Taylor1-23/+34
* makefile.vms: Add better support for DEC C compilation. Add new macros as in Makefile.in.
1996-08-08Thu Aug 8 12:21:56 1996 Klaus Kaempf <kkaempf@progis.de>Ian Lance Taylor10-182/+70
* evax-alpha.c (evax_alpha_vec): Corrected flags, cleanup. (evax_initialize): Remove evax_reloc_table. (evax_close_and_cleanup): Ditto. (reloc_nil): Ditto. (alpha_howto_table): Remove ALPHA_R_SWREL32 and ALPHA_R_SWREL64 entries. (evax_bfd_reloc_type_lookup): Ditto. * evax-egsd.c (_bfd_evax_slurp_egsd): Add a few casts; set cooked_size == raw_size. * evax-emh.c (_bfd_evax_register_filename): Remove. * evax-etir.c (etir_stc): Allow ETIR_S_C_STC_xx commands. * evax-misc.c (add_new_contents): Malloc section at full size. (_bfd_save_evax_section): Memcpy section contents directly. * evax.h (ALPHA_R_SWREL32, ALPHA_R_SWREL64): Remove. (evax_reloc_table): Remove. * hosts/alphavms.h (O_ACCMODE): Define if needed. * makefile.vms: Add better support for DEC C compilation Add evax.h dependencies * reloc.c (bfd_get_reloc_size): Add case for 16 byte reloc. (BFD_RELOC_SWREL32,BFD_RELOC_SWREL64): Remove. (BFD_RELOC_ALPHA_BASEREG): Remove. * bfd-in2.h, libbfd.h: Rebuild.
1996-08-08Thu Aug 8 12:18:59 1996 Klaus Kaempf <kkaempf@progis.de>Ian Lance Taylor3-8/+13
* make-all.com: Run config-a-gas. * setup.com: Don't copy subdirectory files around.
1996-08-08 * archive.c (bsd_write_armap): Ifdef around calls to getuid andStu Grossman1-0/+6
getgid if _WIN32 is defined. * opncls.c (bfd_fdopenr): Remove unnecessary WINGDB ifdef.
1996-08-08 * aoutx.h bfd-in.h bfd-in2.h opncls.c riscix.c som.c targets.c:Stu Grossman3-3/+12
Change NO_FLAGS to BFD_NO_FLAGS to avoid conflict with an HPUX include file. * libbfd.c: Create dummy getpagesize() macro if HAVE_GETPAGESIZE isn't defined.
1996-08-08 * dbxread.c: Don't include param.h or sys/file.h.Stu Grossman1-0/+6
* (dbx_symfile_read): Determine symfile_relocatable from bfd flags instead of file extension. Also clean up a little bit.
1996-08-08 * dwarf2read.c dwarfread.c exec.c infcmd.c infrun.c main.cStu Grossman12-49/+48
mdebugread.c os9kread.c source.c top.c utils.c: Don't include param.h or sys/file.h (or unistd.h in some cases). * defs.h exec.c inflow.c remote-array.c remote-e7000.c sparcl-tdep.c terminal.h utils.c: Replace all occurances of __WIN32__, WINGDB, WIN32, etc... with _WIN32. * main.c: Remove #ifndef WINGDB around option processing. Fix bug with passing argc==0 and argv==NULL to getopt. * (main) Remove calls to access() before source_command. Let soure_command handle access errors. * maint.c (maintenance_dump_me): #ifdef out for _WIN32. * symtab.c (operator_chars): Make this global for wingdb. * top.c (disconnect): #ifdef out for _WIN32. * (source_command): If got an error and from_tty, then call print error, else just return quietly. * utils.c (fatal_dump_core): Can't kill ourselves under windows. Just exit. * (pollquit notice_quit): #ifdef out stuff that doesn't exist under windows.
1996-08-08If HAVE_TERMOS_STRUCTURE is not defined, make sure HAVE_TCGETATTR is also ↵Michael Meissner1-0/+3
not defined.
1996-08-07 * gdb.base/list.exp (test_forward_search): Fix to handle veryFred Fish2-1/+7
long source line without overflowing expect's input buffer.
1996-08-07 * ld-scripts/phdrs.exp: New test.Ian Lance Taylor4-0/+66
* ld-scripts/phdrs.s, ld-scripts/phdrs.t: New files.
1996-08-07 * symbols.c (resolve_symbol_value): Handle addition or subtractionIan Lance Taylor1-0/+6
by a constant before entering the main switch. Reject attempts to apply an arithmetic function to non-absolute symbols, except for the special case of subtraction of two symbols in the same section.
1996-08-07 * cpu-i386.c (i8086_arch): Architecture info for the i8086.Ian Lance Taylor1-0/+2
1996-08-07 * config/slite-gdb.exp (gdb_start): Use "full_buffer", notTom Tromey4-3/+17
"buffer_full". * config/nind-gdb.exp (gdb_start): Use "full_buffer", not "buffer_full". * config/mips-gdb.exp (gdb_start): Use "full_buffer", not "buffer_full". * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not "buffer_full".
1996-08-07Allow simulator to build on other machines than x86Michael Meissner1-0/+9
1996-08-07Wed Aug 7 14:43:51 1996 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor2-1/+6
* core.c (read_function_mappings): Cast xmalloc return.
1996-08-07Wed Aug 7 14:40:48 1996 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor2-0/+18
* configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk. * acconfig.h (NEED_DECLARATION_STRSTR): New macro. (NEED_DECLARATION_SBRK): New macro. * configure, config.in: Rebuild. * sysdep.h (strstr): Declare if NEED_DECLARATION_STRSTR. * ldmain.c (sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK.
1996-08-07Wed Aug 7 14:27:33 1996 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor2-0/+18
* configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk. * acconfig.h (NEED_DECLARATION_STRSTR): New macro. (NEED_DECLARATION_SBRK): New macro. * configure, config.in: Rebuild. * bucomm.h (strstr): Declare if NEED_DECLARATION_STRSTR. (sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK.
1996-08-07Wed Aug 7 14:19:03 1996 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor6-11/+117
* configure.in: Make GAS_CHECK_DECL_NEEDED include <string.h> or <strings.h> if they exist. Call GAS_CHECK_DECL_NEEDED on strstr and sbrk. * acconfig.h (NEED_DECLARATION_STRSTR): New macro. (NEED_DECLARATION_SBRK): New macro. * configure, conf.in: Rebuild. * as.h: Only include <strings.h> if HAVE_STRINGS_H. (strstr): Declare if NEED_DECLARATION_STRSTR. * as.c: If HAVE_SBRK and NEED_DECLARATION_SBRK, declare sbrk.
1996-08-07Wed Aug 7 14:11:44 1996 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor3-3/+31
* configure.in: Call BFD_NEEDED_DECLARATION on strstr and realloc. * acconfig.h (NEED_DECLARATION_STRSTR): New macro. (NEED_DECLARATION_REALLOC): New macro. * configure, config.in: Rebuild. * sysdep.h (strstr): Declare if NEED_DECLARATION_STRSTR. (realloc): Declare if NEED_DECLARATION_REALLOC.
1996-08-07 * configure.in (configdirs): Add gdb.threads.Fred Fish7-29/+1311
* configure: Regenerated with autoconf. * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New. * gdb.threads/{Makefile.in, configure.in}: Complete rewrites. * gdb.threads/configure: New, generated with autoconf.
1996-08-07 * config/tc-mips.c (md_section_align): Do align if OBJ_ELF, butIan Lance Taylor2-4/+11
not to more than a 16 byte boundary.
1996-08-07 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak forJeff Law2-1/+4
structures > 4 bytes in size. Fixing more structure return problems.
1996-08-07 Based on patches from Eric Valette <valette@crf.canon.fr>:Ian Lance Taylor1-0/+11
* elf32-i386.c (enum reloc_type): Add FIRST_INVALID_RELOC, LAST_INVALID_RELOC, R_386_16, R_386_PC16, R_386_8, R_386_PC8. (elf_howto_table): Add entries for new relocs. (elf_i386_reloc_type_lookup): Handle new relocs. (elf_i386_info_to_howto): Just call abort. (elf_i386_info_to_howto_rel): Check that the reloc type is valid. (elf_i386_relocate_section): Likewise.
1996-08-07 * valops.c (call_function_by_hand): Handle aligning stacks thatJeff Law3-1/+14
grow up correctly. * config/pa/tm-hppa.h (USE_STRUCT_CONVENTION): Define. (STACK_ALIGN): Define. * hppa-tdep.c (hppa_alignof): Don't demand a minumim two byte alignment on structs/unions. Fixing assorted structure passing/return problems reported by the net.
1996-08-07 * i386-dis.c (print_insn_i386): Actually return the correct value.Ian Lance Taylor1-0/+5
(ONE, OP_ONE): #ifdef out; not used.
1996-08-07 * config/tc-i386.c (tc_gen_reloc): Accept all relocs; removeIan Lance Taylor2-35/+38
#ifndef OBJ_ELF lines. From Eric Valette <valette@crf.canon.fr>. (tc_gen_reloc): If out of memory call as_fatal rather than assert. If no howto found, call as_bad_where rather than as_fatal. Change the error message slightly. Set howto to a non-NULL value in order to keep going.
1996-08-06Tue Aug 6 12:58:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-16/+23
* tc-d10v.c: Added code to support 32-bit fixups for stabs.
1996-08-06Tue Aug 6 12:58:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+6
* config/tc-d10v.c: Added code to support 32-bit fixups for stabs.
1996-08-06Tue Aug 6 12:54:56 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+6
* elf32-d10v.c (elf_d10v_howto_table): Added R_D10V_32.
1996-08-06 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.Fred Fish2-0/+11
1996-08-06 * gas/h8300/misch.s: Reenable "eepmov.w" test.Jeff Law1-0/+7
* gas/h8300/miscs.s: Likewise. * gas/h8300/h8300.exp: Check for correct assembly of "eepmov.w" on the H8/300H and H8/S. Don't expect it to fail.
1996-08-06 * config/tc-h8300.c (get_specific): New operand "size" derivedJeff Law1-0/+7
from ".b", ".w" and ".l" extensions. All callers changed. If the base instruction has no operands, then use the size to determine which specific instruction to use. Fixing eepmov instructions.
1996-08-067/30 release from AndrewMichael Meissner9-152/+719
1996-08-06 * gdb.base/signals.exp (test_handle_all_print): Test separately forFred Fish4-8/+273
each signal's status in the output of "handle all print". * lib/gdb.exp (gdb_test): Document that the pattern must NOT include the \r\n sequence that immediately precedes the gdb prompt. * gdb.base/a1-selftest.exp: Save original timeout and restore after test.
1996-08-05 * elf.c (_bfd_elf_make_section_from_shdr): For a loadable section,Ian Lance Taylor2-1/+9
only get the LMA from the phdr if they are in the same part of the file.
1996-08-05 * ldlex.l: Recognize OVERLAY.Ian Lance Taylor2-20/+223
* ldgram.y: Add section_phdr field to %union. (section): Handle phdr_opt result. Add OVERLAY case. (opt_exp_without_type): New nonterminal. (phdr_opt): Return list of phdrs. (overlay_section): New nonterminal. * ldlang.c: Include <ctype.h>. (lang_leave_output_section_statement): Add phdrs parameter. Change all callers. (lang_section_in_phdr): Remove. (overlay_vma, overlay_lmn, overlay_max): New static variables. (struct overlay_list): Define. (overlay_list): New static variable. (lang_enter_overlay, lang_enter_overlay_section): New functions. (lang_leave_overlay_section, lang_leave_overlay): New functions. * ldlang.h (lang_leave_output_section_statement): Update declaration for new parameter. (lang_section_in_phdr): Don't declare. (lang_enter_overlay, lang_enter_overlay_section): Declare. (lang_leave_overlay_section, lang_leave_overlay): Declare. * ld.texinfo (Overlays): New node under SECTIONS, documenting overlays. * ldlex.l: Recognize MAX and MIN. * ldgram.y (MAX, MIN): New terminals. (exp): Recognize MAX and MIN. * ldexp.c (fold_binary): Handle MAX and MIN. * ld.texinfo (Arithmetic Functions): Document MAX and MIN. * ld.texinfo (PHDRS): Use @cindex, not @kindex, for program header index entries. * ldgram.y (SIZEOF, ADDR): Do not specify type.
1996-08-05 * ldcref.c (check_nocrossref): Skip symbols with no outputIan Lance Taylor1-0/+2
sections.
1996-08-05 * config/tc-i960.c (mem_fmt): Call parse_expr before emit.Ian Lance Taylor1-0/+4
PR 10274.
1996-08-05 * elf.c (map_sections_to_segments): Rewrite tests for starting aIan Lance Taylor2-22/+69
new segment to make them more comprehensible. If the relationship between the LMA and the VMA changed, start a new segment. Don't check dynsec when deciding whether to start a new segment for a writeable section; -N will now handle this.
1996-08-05 * ld-scripts/crossref.exp: On a29k targets, use --defsym to defineIan Lance Taylor1-0/+5
V_SPILL and V_FILL.
1996-08-04 * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Define to "int *",Fred Fish1-0/+5
which is the documented type under at least AIX 3 and AIX 4.
1996-08-04 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODEJeff Law1-0/+5
symbol.
1996-08-03 * config/alpha/alpha-osf3.mh (MMALLOC_CFLAGS): Define NO_MMCHECK toFred Fish1-0/+2
not install consistency checks.
1996-08-03 * config/alpha/alpha-osf3.mh (XM_FILE): Change from xm-alpha.h toFred Fish2-1/+6
xm-alphaosf.h.
1996-08-03Fri Aug 2 17:47:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt2-2/+11
* d10v-opc.c (d10v_operands): Added 2 accumulator sub instructions. Changed subi operand type to treat 0 as 16.
1996-08-03Fri Aug 2 17:44:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt3-72/+365
* d10v_sim.h, simops.c: Snapshot
1996-08-03 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.Brendan Kehoe2-1/+5
1996-08-02 * ldgram.y (LOADADDR): New terminal.Ian Lance Taylor7-164/+212
(exp): Handle LOADADDR. * ldlex.l: Recognize LOADADDR. * ldexp.c (exp_print_token): Add LOADADDR. (fold_name): Implement LOADADDR. * ldlang.c (exp_init_os): Treat LOADADDR like ADDR. * ld.texinfo (Arithmetic Functions): Document LOADADDR.
1996-08-02 * config/tc-mips.c (md_section_align): Don't change addr ifIan Lance Taylor2-0/+9
OBJ_ELF. PR 10181.
1996-08-02 * config/tc-hppa.c: Revert yesterday's changes.Jeff Law1-0/+4
Trying another approach to the EH problem.