aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-09-29Fri Sep 29 02:10:05 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-53/+105
* Makefile.in (remote-rdp.o): Doesn't need remote-rdp.h * callback.c (os_printf_filtered): fix protos. * defs.h (puts_filtered, puts_unfiltered [v|f|]printf_[un]filtered): Make format arg const. * remote-rdp.c (rdp_init): Attept to sync at different baudrates. * utils.c (puts_filtered, puts_unfiltered [v|f|]printf_[un]filtered): Define prototypes with const in the right place.
1995-09-29 * mpw-configure: Fix sed command file name.Stan Shebs1-0/+4
1995-09-29Comings and goings of Mac-specific files.Stan Shebs1-1/+2
1995-09-29 * mpw-config.in: Calculate underscore and put into makefileStan Shebs4-554/+123
fragment, generate config.h. * mpw-make.sed: New file, sed commands to edit Unix makefile into MPW syntax. * mpw-make.in: Remove. * mac-binutils.r: New file, Mac resources.
1995-09-29Comings and goings of Mac-specific files.Stan Shebs2-2/+2
1995-09-29Changes to Mac-specific files.Stan Shebs1-1/+2
1995-09-29 * mpw-config.in: Translate "powerpc" into "ppc", remove gen ofStan Shebs5-193/+175
VERSION, move gen of "conf" here from makefile. * mpw-make.sed: New file, sed commands to translate Unix makefile into MPW syntax. * mpw-make.in: Remove. * mac-as.r: New file, Mac resource file. * as.h (inline): Don't decide about defining if __MWERKS__, remove redundant conditional and definition. * stabs.c (s_stab_generic): Fix syntax for OBJ_PROCESS_STAB.
1995-09-29Description of PowerMac changes.Stan Shebs1-0/+18
1995-09-29 * config.bfd: Add powerpc-*-macos*, powerpc-*-mpw*.Stan Shebs5-665/+91
* configure, configure.in: Add pmac_xcoff_vec case. * Makefile.in (BFD32_BACKENDS): Add coff-pmac.o. * coff-pmac.c: New file, PowerMac XCOFF support. * coffcode.h (coff_set_arch_mach_hook): Add PowerMac case. * targets.c (pmac_xcoff_vec): Declare. * mpw-config.in: Various changes to be compatible with the autoconf-based configury. * mpw-make.sed: New file, sed commands to translate Unix makefile into MPW syntax. * mpw-make.in: Remove. * hosts/mpw.h: Remove. * bfd-in.h, bfd-in2.h: If MPW, include the file that defines true and false as enums, then define TRUE_FALSE_ALREADY_DEFINED.
1995-09-29 * defs.h (enum language): Add language_scm.Per Bothner6-3/+534
* expression.h (enum exp_code): Added OP_EXPRSTRING. * scm-lang.c: Preliminary support for Guile /SCM dialect of Scheme. * expprint.c (print_subexp): Add OP_EXPRSTRING support. * parse.c (length_of_subexp, prefixify_subexp): Likewise. * valops.c (find_function_in_inferior): New function. (value_allocate_space_in_inferior): New function. (allocate_space_in_inferior): Redefine using previous function. * Makefile.in (SFILES): Add scm-lang.c. (COMMON_OBS): Add scm-lang.o
1995-09-29use bisonSteve Chamberlain1-0/+2
use ar rv.
1995-09-29 * configure.in (host i[345]86-*-win32): Reduce theSteve Chamberlain2-1/+6
noconfigdirs again.
1995-09-29Thu Sep 28 14:32:11 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain18-181/+1886
* callback.[ch]: New files. * remote-rdp.c: Support for the ARM RDP monitor. * Makefile: Update. * arm-tdep.c (arm_othernames): New. (_initialize_arm_tdep): install 'othernames' command. (arm_nullified_insn, shifted_reg_val, arm_get_next_pc): New. * configure.in: Check for termios.h, termio.h and sgtty.h. (i[345]86-*-win32*): New host. * configure: Regenerated. * inflow.c: Clean up inclusions. * main.c (main): Check for WINGDB, not WIN32. * printcmd.c (do_examine): Put QUIT test in loop. * remote-hms.c (e7000_load): Delete. (hms_ops): Point to generic_load instead. * remote-hms.c (hms_ops): Point to generic_load. * remote-sim.c (sim_callback_write_stdout): Becomes gdbsim_write_stdout. (gdbsim_load): Call generic_load. * remote-utils.c (gr_load_image): Delete. * ser-unix.c (terminal.h): Include instead of havig own #if tree. (hardwire_flush_input): Reset input buffer too. * source.c (openp): If WIN32 then open file in binary mode. * terminal.h: Configure IO mechanism using autoconf defines if available and not overriden. * utils.c (quit, pollquit, notice_quit): WIN32 check becomes WINGDB check. * config/arm/arm.mt (TDEPFILES): Add remote-rdp.o * config/arm/tm-arm.h (TARGET_BYTE_ORDER): becomes TARGET_BYTE_ORDER_SELECTABLE. (ADDR_BITS_REMOVE): New. (ORIGINAL_REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): New. (INST_xx): New (FRAME_FIND_SAVED_REGS): Pass the right argument. (arm_get_next_pc): Declare. * mswin/prebuilt/*/bfdtarget.h (SELECT_ARCHITECTURES): Need leading &.
1995-09-29Thu Sep 28 17:06:23 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+5
* binary.c (binary_get_symtab): Return an empty string on error. * opncls.c (bfd_fdpenr): Change WIN32 restriction to WINGDB.
1995-09-28 * dlltool.c: (gen_exp_file): Always emit a .reloc section if relocatable.Steve Chamberlain1-0/+8
(imp_name_lab): New. (gen_def_file): New. (gen_lib_file): Use imp_name_lab. (main): Initialize imp_name_lab.
1995-09-28Thu Sep 28 15:40:36 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-0/+144
* run.c, run.1: From sh directory.
1995-09-28Thu Sep 28 15:26:59 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain3-284/+0
* run.c: Moved to ../common. * interp.c (trap): Use gdb's callback interface. * Makefile.in: Updated.
1995-09-28 * hp300hpux.c (convert_sym_type): Treat secondary symbols as weakIan Lance Taylor1-0/+5
symbols rather than as indirect symbols. (MY(slurp_symbol_table)): Don't do anything special about secondary symbols.
1995-09-28 * mpw-mh-mpw: Add definitions for various 68K and PowerMacStan Shebs1-4/+109
compilers, add definitions for library and link steps for PowerMacs.
1995-09-28updated changesKim Knuttila1-0/+10
1995-09-28Updated commentsKim Knuttila1-0/+7
1995-09-28 * ld.h (parsing_defsym): Declare.Ian Lance Taylor2-0/+18
* ldlex.h (lex_string): Declare. * ldlex.l (lex_string): Define. * lexsup.c (parsing_defsym): Define. (parse_args): In OPTION_DEFSYM case, set lex_string before calling lex_redirect, and clear it after calling yyparse. Set parsing_defsym around call to yyparse. * ldmain.c (main): Set lex_string before calling lex_redirect, and clear it after calling yyparse. * ldmisc.c (vfinfo): For %S, handle --defsym arguments and built in linker scripts correctly. PR 8092.
1995-09-28 * scripttempl/sparccoff.sc: Add .ctors/.dtors handling like otherIan Lance Taylor1-0/+4
COFF targets, allowing for the leading underscore used on SPARC COFF. PR 8006.
1995-09-28* coffcode.h (coff_new_section_hook): Make sure that the alignmentIan Lance Taylor1-4/+6
of .ctors and .dtors sections is no larger than 2. PR 8086.
1995-09-28 * coffcode.h (coff_new_section_hook): Make sure that the alignmentIan Lance Taylor1-0/+3
of .ctors and .dtors sections is no larger than 2. PR 8006.
1995-09-28(arm-*-coff): Fix configuration.David Edelsohn1-0/+1
1995-09-28mention creating SunOS shared librariesIan Lance Taylor1-2/+12
1995-09-28 * ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. AddIan Lance Taylor3-0/+29
appropriate modifications and setup_xfails. * ld-shared/sun4.dat: New file.
1995-09-28 * lexsup.c (parse_args): Handle -assert.Ian Lance Taylor5-178/+74
* emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Define. * emultempl/sunos.em (gld${EMULATION_NAME}_get_script): Use the shared library script when appropriate. * scripttempl/aout.sc: If CREATE_SHLIB is set, start the .text section at SIZEOF_HEADERS.
1995-09-28 * sunos.c (sunos_add_one_symbol): Don't changeIan Lance Taylor2-85/+224
bfd_link_hash_common to bfd_link_hash_new, since it may be on the undef list. (bfd_sunos_record_link_assignment): Don't put __DYNAMIC in the dynamic symbols when creating a shared library. (sunos_scan_ext_relocs): Handle relocs correctly when creating a shared library. (sunos_scan_dynamic_symbol): Don't mark the __DYNAMIC symbol as written even if it is not defined in a regular object. (sunos_write_dynamic_symbol): Use plt_offset for the address of the jump table reloc. Add an assertion. Use RELOC_JMP_SLOT rather than the constant 22. (sunos_check_dynamic_reloc): Handle creating a shared library. (sunos_finish_dynamic_link): Set the first entry in the GOT to zero when creating a shared library. * aoutx.h (NAME(aout,final_link)): If there is a symbol __DYNAMIC, write it out at the start of the symbol table.
1995-09-28 * config/tc-ppc.h (tc_fix_adjustable): Define.Ian Lance Taylor2-0/+15
(ppc_pe_fix_adjustable): Declare. * config/tc-ppc.c (ppc_pe_fix_adjustable): New function.
1995-09-28 * Makefile.in (BFD32_BACKENDS): Add coff-arm.o.Ian Lance Taylor2-0/+5
1995-09-28 * Makefile.in (earmcoff.c): Build.David Edelsohn5-0/+52
* configure.tgt (arm-*-coff): New target * emulparms/armcoff.sh: New file. * scripttempl/armcoff.sc: New file.
1995-09-28 * config/tc-arm.h (TARGET_FORMAT): Define for arm-coff.David Edelsohn1-0/+4
1995-09-28 * config.bfd: Add arm-*-coff.David Edelsohn5-0/+21
* configure.in, configure: Add armcoff_{little,big}_vec. * targets.c (armcoff_{little,big}_vec): Declare. (bfd_target_vector): Add armcoff_{little,big}_vec. * coff-arm.c (armcoff_{little,big}_vec): Always define.
1995-09-27 * symbols.c (S_IS_LOCAL): All symbols in reg_section are local.Ian Lance Taylor2-1/+6
1995-09-27 * config/tc-ppc.h (OBJ_XCOFF): Define if OBJ_COFF and not TE_PE.Ian Lance Taylor4-180/+241
Change OBJ_COFF checks to check OBJ_XCOFF instead. (TARGET_FORMAT): Fully parenthesize. (LEX_QM): Define if TE_PE. * config/tc-ppc.c: Replace OBJ_COFF by OBJ_XCOFF throughout. Remove checks of TE_PE within #ifdef OBJ_XCOFF sections. (init_regtable): Make i unsigned. (ppc_set_current_section): Rename from setCurrentSection. Change all callers. (ppc_arch): Return after as_fatal to avoid gcc warning. (md_assemble): Only declare reloc if OBJ_ELF. Add default to switch on fixups[i].reloc to avoid gcc warning. (IMAGE_SGN_LNK_OTHER): Fix nested comment. (ppc_pe_function): Don't call ppc_canonicalize_symbol_name. (ppc_frob_symbol): Remove TE_PE section checks. (md_estimate_size_before_relax): Return after abort to avoid gcc warning. (md_apply_fix3): Add BFD_RELOC_16_GOT_PCREL to switch. * read.c (LEX_QM): Define as 0 if not defined. (lex_type): Use LEX_QM for '?'.
1995-09-27 * tuples.ch. tuples.exp: Add new test for setting a variant recordPer Bothner3-1/+19
using a tuple, and access the fields.
1995-09-27 * valops.c (search_struct_field): Also allow "else" as a variant name,Per Bothner2-1/+6
1995-09-27check powerpc-*-pe* as well as powerpc-*-winnt*Ian Lance Taylor2-3/+3
1995-09-27 * eval.c (evaluate_struct_tuple): New function. Used to evaluatePer Bothner2-9/+44
structure tuples. Now also handles Chill variant records. (get_label): New function, used by evaluate_struct_tuple. (evaluate_subexp_standard case OP_ARRAY): Use evaluate_struct_tuple. (evaluate_labeled_field_init): Removed. * valops.c (search_struct_field): Generalize to work with Chill variant records.
1995-09-27 * configure.in: No need to check whether ${cpu_type} is powerpc;Ian Lance Taylor3-20/+24
it never will be. * configure: Rebuild.
1995-09-27Details of more fixes to earlier fixesKim Knuttila1-0/+2
1995-09-27 * configure.in: Don't configure ld and gdb for powerpc*-*-winnt*,Ian Lance Taylor2-0/+8
since they are not yet supported.
1995-09-27Removed an extraneous PPC definitionKim Knuttila1-4/+0
1995-09-27Added back some missing code @ diff tc-ppc.cKim Knuttila1-0/+4
1995-09-27Undo md_apply_fix3 changesMichael Meissner2-4/+38
1995-09-27Removed inactive bfd entriesKim Knuttila1-4/+0
1995-09-27Initial asm support for ppc/PEKim Knuttila1-0/+19
1995-09-27Configure support for ppc/PEKim Knuttila2-17/+48