aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-02-05 * reloc.c (bfd_perform_relocation): Work around one gross hackIan Lance Taylor1-0/+47
with another: actually look at the target name to avoid the broken COFF check. (bfd_reloc_code_real_type): Add BFD_RELOC_PPC_B26, BFD_RELOC_PPC_BA26 and BFD_RELOC_PPC_TOC16. * bfd-in2.h: Rebuilt.
1994-02-05 * coffcode.h (combined_entry_type): Changed fix_tag and fix_endIan Lance Taylor1-2/+10
fields to bitfields. Added fields fix_value and fix_scnlen. (sec_to_styp_flags): If STYP_DEBUG is defined, use it rather than STYP_INFO for the type of a section named .debug. (coff_add_missing_symbols): Don't define if RS6000COFF_C. (coff_write_object_contents): If RS6000COFF_C, don't call coff_add_missing_symbols. (coff_slurp_symbol_table): If RS6000COFF_C, then if the last aux entry has type STY_LD change the x_scnlen into a pointer to a symbol and set fix_scnlen. Also, for a C_BSTAT symbol, change the value into a pointer to a symbol and set fix_value. * libcoff.h: Rebuilt. * coffgen.c (coff_mangle_symbols): Reindent. If fix_value is set, get the symbol offset. Likewise for fix_scnlen. (string_size): Change type to bfd_size_type. (debug_string_size, debug_string_section): New static variables. (coff_fix_symbol_name): If bfd_coff_symname_in_debug returns true, write the symbol name into the .debug section; assume that the section has already been created with the right size. (coff_write_symbols): Initialize debug_string_size to 0. If bfd_coff_symname_in_debug returns true, don't put symbol name in usual string table. After writing out all symbols, if debug_string_size is not 0, check that it matches the size of the .debug section. (coff_get_normalized_symtab): Clear new fix_value and fix_scnlen fields. If the string offset is 0, always use an empty string as the name. (coff_make_empty_symbol): Zero out the symbol structure.
1994-02-05 * ppc-opc.c (powerpc_operands): New operand type MBE to handle aIan Lance Taylor2-30/+218
single number giving a bitmask for the MB and ME fields of an M form instruction. Change NB to accept 32, and turn it into 0; also turn 0 into 32 when disassembling. Seperated SH from NB. (insert_mbe, extract_mbe): New functions. (insert_nb, extract_nb): New functions. (SC_MASK): Mask out SA and LK bits. (powerpc_opcodes): Change "cal" to use RT, D, RA rather than RT, RA, SI. Change "liu" and "cau" to use UI rather than SI. Mark "bctr" and "bctrl" as accepted by POWER. Change "rlwimi", "rlimi", "rlwimi.", "rlimi.", "rlwinm", "rlinm", "rlwinm.", "rlinm.", "rlmi", "rlmi.", "rlwnm", "rlnm", "rlwnm.", "rlnm." to use MBE rather than MB. Add "mfmq" and "mtmq" POWER instructions. (powerpc_macros): Define table of macro definitions. (powerpc_num_macros): Define.
1994-02-05 * ppc-dis.c (print_insn_powerpc): Don't skip optional operandsIan Lance Taylor1-0/+234
if PPC_OPERAND_NEXT is set.
1994-02-05 * ppc.h (PPC_OPERAND_NEXT): Define.Ian Lance Taylor2-1/+42
(PPC_OPERAND_NEGATIVE): Change value to make room for above. (struct powerpc_macro): Define. (powerpc_macros, powerpc_num_macros): Declare.
1994-02-05 Eliminate arg from bfd_xmalloc_by_size_t macro, allowingDavid MacKenzie4-7/+5
undoing of obstack parts of last change.
1994-02-05 * libbfd.c (bfd_zmalloc): Call bfd_xmalloc instead of malloc.David MacKenzie8-64/+37
(bfd_xmalloc, bfd_xmalloc_by_size_t): Functions deleted. * libbfd-in.h: Define them as macros calling xmalloc and declare xmalloc. * libbfd.h: Rebuilt. * ecofflink.c hash.c ieee.c opncls.c (obstack_chunk_alloc): Define to be xmalloc, not bfd_xmalloc_by_size_t.
1994-02-05 * ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): FunctionsDavid MacKenzie4-18/+54
deleted; will use libiberty versions instead. * ldctor.c ldfile.c ldlang.c ldmain.c ldmisc.c ldmisc.h lexsup.c mri.c Makefile.in: Change callers. * ldmisc.c (vfinfo): Remove cleanup code. * ldmain.c (remove_output): Put it here (new function). (preserve_output): New function. (main): Register remove_output and preserve_output with atexit. * ldmain.c ldgram.y: Call xexit instead of exit. * ldmisc.h: Declare xexit.
1994-02-05REGISTER_TYPE is obsolete.Steve Chamberlain1-1/+0
1994-02-05(hms_fetch_register): Take out REGISTER_TYPE.Steve Chamberlain2-3/+8
1994-02-05Fix REGISTER_TYPE and order of register names.Steve Chamberlain1-5/+11
1994-02-05Fix REGISTER_TYPE.Steve Chamberlain1-5/+6
1994-02-05Get REGISTER_TYPE right.Steve Chamberlain2-9/+14
1994-02-05Fri Feb 4 15:53:18 1994 Steve Chamberlain (sac@cygnus.com)Steve Chamberlain5-129/+503
* h8500-tdep.c (saved_pc_after_call): The size of the pc is memory model dependent. (segmented_command, unsegmented_command, _initialize_h8500_tdep): New commands to change memory model. * remote-7000.c (initialize_remote_e7000): Change name of snoop command. * remote-hms.c (hms_load): Remove breakpoints when loaded. (hms_wait): Use new status structure (hms_open): Push the target here. (hms_before_main_loop): Not here. (supply_val, hms_fetch_register, hms_store_register): Cope with H8/500 names too. * sh-tdep.c (show_regs, initialize_sh_tdep): New command to print all registers in a compact way.
1994-02-04 * Makefile.in: Lots of new H8/500 memory models.Steve Chamberlain2-0/+17
1994-02-04New memory model.Steve Chamberlain1-0/+4
1994-02-04More sicko segmentation support.Steve Chamberlain4-0/+20
1994-02-04Support for various sicko segmented memory models.Steve Chamberlain4-0/+240
1994-02-04* lib/gas-defs.exp (regexp_diff): New procedure, vaguely based onKen Raeburn2-0/+18
"simple_diff" from linker test suite. * gas/sun4/addend.exp: Use it. * gas/sun4/addend.d: New file.
1994-02-04 * objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so weDavid MacKenzie2-1/+6
can do arithmetic on it.
1994-02-04 * gdb.t24/demangle.exp: Remove a bunch more tests which differJim Kingdon1-0/+8
only in the names (I probably got most of them). I was even generous with some which differed in underscores in names, and probably missed a few, and I *still* was able to remove almost a third of the file with almost no impact on testsuite coverage.
1994-02-04 * config/rs6000/tm-rs6000.h: Declare rs6000_struct_return_addressJim Kingdon2-38/+53
as CORE_ADDR to match definition in rs6000-tdep.c.
1994-02-04 * gdb.texinfo (Continuing and Stepping): When talking about "step"Jim Kingdon2-1/+15
versus functions without line numbers, also mention stepping into them as well as "step" when you are in them. Tell the user how to deal with the situation. Add comment about "debugging information".
1994-02-04 * dwarfread.c (process_dies): Skip nested TAG_compile_unit DIEs.Peter Schauer2-2/+17
* dwarfread.c (add_partial_symbol): Do not enter opaque aggregate definitions into the psymtab.
1994-02-04 * ecofflink.c (bfd_ecoff_debug_externals): If a small undefinedIan Lance Taylor2-1/+13
symbol has a value in the ECOFF symbol but not in the BFD symbol, keep the value in the ECOFF symbol. This helps gas.
1994-02-04 * ecoff.c (ecoff_symbol_new_hook): Clear ecoff_extern_size, notIan Lance Taylor2-14/+29
ecoff_undefined. (ecoff_frob_symbol): Don't check ecoff_undefined. (ecoff_build_symbols): Get size of an undefined symbol from sym->ecoff_extern_size, not S_GET_VALUE (sym).
1994-02-04Revert last change.Ian Lance Taylor2-14/+0
1994-02-04 * config/tc-mips.c (md_apply_fix): If this is an undefined symbol,Ian Lance Taylor2-0/+14
subtract the value from fx_addnumber to since bfd_perform_relocation is going to add it in.
1994-02-04 * gdb.t00/default.exp: Match udi_attach error message as well asJim Kingdon1-0/+10
the one from child_attach. * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
1994-02-04* remote-udi.c (udi_attach): If no arguments, print error.Jim Kingdon2-0/+10
1994-02-04 * Makefile.in (VERSION): Bump to 4.12.1Fred Fish3-8/+34
* NEWS, README: Update to match 4.12 release.
1994-02-03 * linker.c (_bfd_generic_link_output_symbols,Ian Lance Taylor2-7/+19
_bfd_generic_link_write_global_symbol): Don't require that all references to a common symbol be themselves common symbols.
1994-02-03 * objdump.c (dump_section_stabs, read_section_stabs,David MacKenzie2-61/+96
print_section_stabs): Functions broken out of dump_stabs_1. Free the stabs and strings when done with them.
1994-02-03 * aoutx.h (aout_reloc_index_to_section): Handle N_UNDF.Ian Lance Taylor2-0/+5
1994-02-03 * command.c (empty_sfunc): New function.Jim Kingdon1-3/+13
(add_set_cmd): Use it instead of not_just_help_class_command. (not_just_help_class_command): Change calling convention back to what it was before yesterday's change.
1994-02-03 * stabsread.c (read_sun_builtin_type): Skip the semicolon at the endJim Kingdon2-0/+13
of the type if present.
1994-02-03 * Move test with enums and partial symbols back toJim Kingdon3-26/+21
gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}. Reverts the change of 26 May 93. Per today's change to stabs.texinfo, the behavior that weird.exp was expecting was unreasonable; what is important is that the compiler+gdb get things right, which happens with a recent gcc. Also fix the test to deal with native compilers which put out the stab gdb can't deal with.
1994-02-03 * stabs.texinfo (Enumerations): Document restriction on whereJim Kingdon2-0/+17
enumeration types can appear and still win with GDB.
1994-02-03 More changes to print ambiguous matches and use theDavid MacKenzie3-6/+15
abstracting macros.
1994-02-03Formatting adjustments, for better smallbook formattingRoland Pesch1-10/+12
and to agree better w/FSF (RMS) indentation conventions.
1994-02-03Describe -retain-symbols-file.Roland Pesch1-0/+20
1994-02-03* bfd-in2.h: Rebuilt.Jim Kingdon1-0/+1
1994-02-03 * valarith.c (value_binop): Figure out type ourself based onJim Kingdon1-4/+3
sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST. The point is that we don't depend on CC_HAS_LONG_LONG anymore.
1994-02-03 * language.h, c-lang.c, ch-lang.c, m2-lang.c, language.c: RemoveJim Kingdon2-8/+2
longest_int and longest_unsigned_int.
1994-02-03* bfd-in2.h: Rebuilt.Jim Kingdon1-10/+10
1994-02-03 * libbfd.c, bfd-in.h, hosts/alphaosf.h, hosts/sparc-ll.h, aoutf1.h,Jim Kingdon4-7/+12
sparclynx.c, Makefile.in: Change HOST_64_BIT to BFD_HOST_64_BIT.
1994-02-03 * printcmd.c (decode_format): Don't blithely set the size forJim Kingdon8-60/+148
an address to 'w'. Make it 'g' or 'h', depending on TARGET_PTR_BIT. * defs.h: Just typedef CORE_ADDR to bfd_vma. Include bfd.h. If BFD64, make a LONGEST a BFD_HOST_64_BIT. * defs.h (longest_to_int): Don't depend on CC_HAS_LONG_LONG; instead always just check against INT_MIN and INT_MAX (this also fixes things if sizeof (long) > sizeof (int), e.g. Alpha). * config/pa/tm-hppa.h, config/i386/sun386.h, config/rs6000/tm-rs6000.h: Don't define LONGEST or BUILTIN_TYPE_LONGEST. * gdbtypes.h: Remove BUILTIN_TYPE_LONGEST and BUILTIN_TYPE_UNSIGNED_LONGEST. * language.h, c-lang.c, ch-lang.c, m2-lang.c: Remove longest_int and longest_unsigned_int. * value.h (struct value): Just align to LONGEST, rather than worrying about CC_HAS_LONG_LONG. * valarith.c (value_binop, _initialize_valarith): Figure out type ourself based on sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST. The point is that we don't depend on CC_HAS_LONG_LONG anymore. * valprint.c (val_print_type_code_int): Just call extract_unsigned_integer directly, rather than going through unpack_long. * printcmd.c (decode_format): Remove code which would sometimes change 'g' size to 'w' for integers. print_scalar_formatted handles printing huge integers well enough, thank you.
1994-02-03misc updates:Roland Pesch1-46/+94
(1) show `-y SYMBOL' with space (2) weaken multi-target stuff, to avoid false expectations now that linker now often config'd with only one target (3) describe -relax support on i960 (4) correct description of hyphen chars in symbols (5) describe CONSTRUCTORS linker script cmd
1994-02-03 * nlmconv.c (main): Use bfd_get_flavour instead of struct member.David MacKenzie4-5/+12
* ar.c (print_contents, extract_file), size.c (print_berkeley_format): Use bfd_get_filename and bfd_my_archive instead of dereferencing the structs directly.
1994-02-03 * ar.c: Use bfd_fatal and bfd_nonfatal instead of bfd_perror and exit.David MacKenzie2-654/+667
Indent. Remove DEFUNs.