aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-06-14For PR 4865.Ian Lance Taylor4-2/+96
* libecoff.h (struct ecoff_link_hash_entry): Change type of written from boolean to char. Add new field small. * ecoff.c (ecoff_link_hash_newfunc): Initialize written to 0 rather than false. Initialize small to 0. (ecoff_link_add_externals): If ECOFF type is scSUndefined, set small. If small is set, and hash table type is common, force the symbol into a section named SCOMMON and change the ECOFF type from scCommon to scSCommon. (ecoff_link_write_external): Set written to 1 rather than true. * coff-mips.c (mips_relocate_section): Correct JMPADDR reloc overflow check to consider section VMA of input file.
1994-06-14Mon Jun 13 17:28:50 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-7/+8
* config/i386/i386sco.mh, i386sco4.mh (XDEPFILES): Remove i387-tdep.o.
1994-06-13 * scripttempl/alpha.sc: Define _ftext, _etext and _fdata insted ofIan Lance Taylor1-0/+3
_FTEXT, _ETEXT and _FDATA. Dont define _END.
1994-06-13 * ldfile.c (open_a): If this is not an archive, try to open it inIan Lance Taylor2-0/+13
the current directory before searching for it.
1994-06-13 * lexsup.c (parse_args): Treat -i as a synonym for -r.Ian Lance Taylor2-0/+3
1994-06-13 * ldgram.y (exp): Treat BLOCK as a synonym for ALIGN, so thatIan Lance Taylor1-0/+3
BLOCK works in a section address as documented.
1994-06-13 * ldgram.y (YYDEBUG): Don't define.Ian Lance Taylor2-2/+4
1994-06-13Modified Files:Kung Hsu2-2/+6
.Sanitize ChangeLog * .Sanitize: change name from sparclite-*.c to sparcl-*.c.
1994-06-13 * aoutf1.h (aout_32_sunos4_write_object_contents): Handle aIan Lance Taylor4-89/+66
machine type of 68000. * aoutx.h (NAME(aout,machine_type)): Add new argument unknown. Set *unknown to true if machine type is really unknown, as opposed to M_UNKNOWN for the 68000. (NAME(aout,set_arch_mach)): Change NAME(aout,machine_type) call accordingly. * libaout.h (NAME(aout,machine_type)): Add new argument to prototype.
1994-06-13 * config/obj-aout.c (obj_aout_frob_symbol): Warn about an attemptIan Lance Taylor1-0/+5
to put a common symbol in a set.
1994-06-13 * som.c (EXEC_AUX_ID): Define based on availablity of HPUX_AUX_IDJeff Law2-5/+30
or HIUX_AUX_ID. (som_begin_writing): Use EXEC_AUX_ID instead of HPUX_AUX_ID. (som_write_armap): Use CPU_PA_RISC1_0 as the magic number. Note som.c is careful to always define CPU_PA_RISC1_0.
1994-06-12Conditionalize on mips-idt-ecoff.Stan Shebs2-9/+15
1994-06-12Sun Jun 12 16:38:42 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-4/+8
* mpw-make.in (C, CFLAGS): Removed definitions. (ALL_CFLAGS): Define. Set default rule to use {CC} instead of {C}.
1994-06-12Sun Jun 12 16:30:34 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-5/+11
* mpw-mh-mpw (CC): Define ALMOST_STDC. (CFLAGS): Remove ALMOST_STDC, -mc68881. (LDFLAGS): add -w.
1994-06-12Sun Jun 12 16:25:36 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-0/+7
* mpw-configure (config.status): Write only if changed. * mpw-config.in (readline): Configure it (not built, just used for definitions). * mpw-README: Add/update information.
1994-06-12 * config/m68k/dpx2.mh (NATDEPFILES): Remove duplicate inclusionPeter Schauer2-3/+5
of inftarg.o. * config/m68k/tm-dpx2.h (CANNOT_STORE_REGISTER): Define to inhibit writing of floating registers, the dpx2 kernel disallows it.
1994-06-12 * config/m68k/dpx2.mh (NATDEPFILES): Remove duplicate inclusionPeter Schauer3-36/+190
of inftarg.o. * config/m68k/tm-dpx2.h (CANNOT_STORE_REGISTER): Define to inhibit writing of floating registers, the dpx2 kernel disallows it. * irix5-nat.c (LM_ADDR): The loaded address of the shared library is contained in o_praw. * irix5-nat.c (solib_map_sections): Adjust sections by the difference between the loaded address and the prelinked address. * irix5-nat.c (solib_address): Use LM_ADDR for the loaded start address. * mdebugread.c (parse_symbol): Do not relocate stEnd/scText symbols, their value is absolute. * mdebugread.c (parse_partial_symbols): Handle Irix 5.2 shared libraries fh->adr fields of zero. Relocate minimal symbol values upon readin. Relocate non-stabs symbols upon readin. * mdebugread.c (psymtab_to_symtab_1): Use pst->textlow for the start address of the outermost block. * mdebugread.c (parse_lines, parse_procedure): Pass in pst instead of section_offsets and use relocated pst->textlow for line number and procedure address relocations. From gmo@MicroUnity.com (Guillermo A. Loyola): * mdebugread.c (parse_symbol, parse_partial_symbols, cross_ref): Handle SGI Irix5 stIndirect symbol type.
1994-06-12 * symconst.h: Pick up SGI define for stIndirect.Peter Schauer1-0/+7
1994-06-12 * history.c: Swap inclusion of rldefs.h and chardefs.h to avoidPeter Schauer1-0/+5
CTRL macro redefinition.
1994-06-11 Add weak symbols as an extension to a.out.Ian Lance Taylor2-0/+61
* read.c (pseudo_set): Only preserve external bit for OBJ_AOUT and OBJ_BOUT if not BFD_ASSEMBLER. * config/aout_gnu.h (N_WEAKU, N_WEAKA, N_WEAKT, N_WEAKD, N_WEAKB): Define as in ../include/aout/aout64.h. * config/obj-aout.h (OBJ_SYMFIELD_TYPE): If not BFD_ASSEMBLER, define as char. (S_GET_WEAK, S_SET_WEAK): Define if not BFD_ASSEMBLER. * config/obj-aout.c (obj_pseudo_table): Add "weak". (obj_emit_symbols): Adjust type of weak symbols. (obj_aout_weak): New static function.
1994-06-11 Add weak symbols as an extension to a.out.Ian Lance Taylor3-291/+386
* aoutx.h (sym_in_text_section): Don't define. (sym_in_data_section, sym_in_bss_section): Likewise. (sym_is_undefined, sym_is_global_defn): Likewise. (sym_is_debugger_info, sym_is_fortrancommon): Likewise. (sym_is_absolute, sym_is_indirect): Likewise. (translate_from_native_sym_flags): Rewrite for clarity. Rearrange arguments and change caller. Handle weak symbols. (translate_to_native_sym_flags): Likewise. (aout_link_check_ar_symbols): Don't ignore weak symbols. Pull object in from archive if a weak defintion is found for an existing undefined symbol. (aout_link_add_symbols): Put all cases in switch. Set flags of an undefined symbol to 0. Handle weak symbols. (aout_link_write_symbols): Handle weak symbols. (aout_link_write_other_symbol): Likewise. (aout_link_input_section_std): Likewise. (aout_link_input_section_ext): Likewise. * sunos.c (sunos_write_dynamic_symbol): Likewise.
1994-06-11 Add weak symbols as an extension to a.out.Ian Lance Taylor2-28/+79
* aout64.h (N_WEAKU, N_WEAKA, N_WEAKT, N_WEAKD, N_WEAKB): Define. * stab.def: Update symbol value table.
1994-06-11Modified Files:Kung Hsu2-100/+532
breakpoint.c ChangeLog * breakpoint.c: fix a syntax error native cc does not like.
1994-06-11Modified Files:Kung Hsu1-1/+1
sparclite.mt * change sparclite-tdep.o to sparcl-tdep.o.
1994-06-10Modified Files:Kung Hsu2-1/+11
Makefile.in ChangeLog * Makefile.in: change sparclite-tdep.c to sparcl-tdep.c.
1994-06-10Added Files:Kung Hsu4-1194/+1194
sparcl-tdep.c sparcl-stub.c Removed Files: sparclite-tdep.c sparclite-stub.c * change file name because fisrt 8 chars has to be unique.
1994-06-10Modified Files:Kung Hsu1-0/+2
.Sanitize * .Sanitize: add sparclite-stub.c sparclite-tdep.c to keep.
1994-06-10Modified Files:Kung Hsu1-0/+4
ChangeLog * sparclite/Makefile.in: fix INCLUDE_CFLAGS to have {srcdir}/../config.
1994-06-10 * config/obj-elf.c (obj_elf_section): Don't set any flags based onIan Lance Taylor1-0/+3
the type of a special section.
1994-06-10Don't sanitize out SPARC v9 stuff.Ian Lance Taylor3-56/+0
1994-06-10Restore sparc64 targets clobbered in 1994/04/07 checkin.Ian Lance Taylor1-0/+2
1994-06-10 * nm.c: HOST_64_BIT was renamed to BFD_HOST_64_BIT.Ian Lance Taylor2-15/+43
1994-06-10 * emultempl/gld960.em: Pass false for new argument toIan Lance Taylor1-0/+9
ldfile_add_library_path. * emultempl/gld960c.em, emultempl/lnk960.em: Likewise.
1994-06-10 * emultempl/sunos.em: Only look for .so files if doing a dynamicIan Lance Taylor1-1/+2
link.
1994-06-10 * objcopy.c (copy_archive): Make the temporary directory in theIan Lance Taylor2-2/+9
same directory as the output BFD, since we may not have write permission on the current directory. Set the permissions of the new directory to 0700, not 0777.
1994-06-10 * aoutx.h (NAME(aout,canonicalize_reloc)): Handle .bss section.Ian Lance Taylor2-4/+17
(NAME(aout,get_reloc_upper_bound)): Likewise.
1994-06-10 * config/ho-sunos.h: Include <stdlib.h>. Don't declare malloc,Ian Lance Taylor2-6/+6
realloc, free, or atol.
1994-06-10 * coff-i960.c (coff_i960_reloc_type_lookup): Add BFD_RELOC_CTOR.Ian Lance Taylor3-17/+137
* linker.c (_bfd_generic_link_write_global_symbol): Don't assume the section of a common symbol is not NULL.
1994-06-10 * gdb.base/recurse.exp: Misc changes to get tests running againJeff Law1-0/+10
after Kung's changes to the watchpoint code. * gdb.base/watchpoint.exp: Likewise.
1994-06-10 * hppa-tdep.c (target_read_pc, target_write_pc): Accept (andJeff Law2-3/+35
ignore) a PID argument. (hppa_pop_frame): Pass a PID to target_write_pc. * config/pa/tm-hppa.h (TARGET_READ_PC, TARGET_WRITE_PC): Accept and pass through a PID argument. (target_read_pc, target_write_pc): Update prototypes.
1994-06-10 * gas/hppa/reloc/reloc.exp (roundmode test): Tweak expected outputJeff Law1-0/+5
for SOM to match current testcase.
1994-06-10 * pr-5022.ch, pr-5022.exp: New testcase.Per Bothner5-2/+100
* chillvars.exp: Remove spurious newline.
1994-06-10Modified Files:Kung Hsu2-0/+1194
breakpoint.c breakpoint.h ChangeLog Added Files: sparclite-tdep.c sparclite-stub.c * sparclite-tdep.c: new file, contains hardware breakpoint support code. * sparclite-stub.c: new file, stub code that add support hardware breakpoint support. * breakpoint.c: add hardware breakpoint support. * breakpoint.h: add new breakpoint type to support hardware breakpoint.
1994-06-10Modified Files:Kung Hsu2-1/+62
sparclite.mt tm-sparclite.h * config/sparc/sparclite.mt: add sparclite-tdep.o. * config/sparc/tm-sparclite.h: add hardware breakpoints support defiines and code.
1994-06-10Modified Files:Kung Hsu1-3/+5
nm-hppab.h * config/pa/nm-hppab.h: change interface for target dependent code supporting watch point.
1994-06-10Modified Files:Kung Hsu1-3/+5
nm-irix4.h * config/mips/nm-irix4.h: change interface for target dependent code supporting watch point.
1994-06-09Modified Files:Kung Hsu1-0/+8
ChangeLog * remote-os9k.c (rombuf_command): fix a bug accepting rombug output. * stabsread.c (read_struct_fields): os9k nested structure does not have terminating ';', instead it just get to ',' and bit position and length.
1994-06-09 * Makefile.in: Bunch of fixes so it actually works in thisPer Bothner7-55/+63
directory. (E.g. add extra ../ where needed.) Also, add .exe to executables, so we can use suffix rules. * chexp.exp (test_print_reject): Update syntax error message. * chillvars.ch (module PR_5020): Moved from here ... * pr-5022.ch: ... to this new file. * chillvars.exp, pr-5020.exp (binfile): Add .exe extension. * chillvars.exp, pr-5020.exp: Don't check all_flag. * pr-5020.exp: Add more tests; fix "print y pretty" output.
1994-06-09cvs server works fine on the RS/6000 these days. Only turned on for realMark Eichin1-2/+1
rs6000, though, rather than power and lynx.
1994-06-09Modified Files:Kung Hsu2-1/+2
remote-os9k.c stabsread.c * remote-os9k.c (rombuf_command): fix a bug accepting rombug output. * stabsread.c (read_struct_fields): os9k nested structure does not have terminating ';', instead it just get to ',' and bit position and length.