aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1993-11-19 * config/obj-coffbfd.c: Use PARAMS rather than EXFUN.Ian Lance Taylor2-25/+30
(yank_symbols): Don't call S_SET_EXTERNAL if the storage class is already set. Fixes .def var; .val external_var; .scl 3; .endef. (adjust_stab_section): Make static. Declare return type. Remove unused variables. * config/tc-i386.h: Declare tc_coff_fix2rtype and tc_coff_sizemachdep.
1993-11-19 * symtab.c (decode_line_1): Add comment about use ofJim Kingdon2-0/+13
return_to_top_level directly instead of error. Add comment saying that the '' should not be needed--that the completer should be fixed.
1993-11-19 binutils.texi: minor fix for nlmconv chapterJeffrey Osier1-2/+12
1993-11-19 * TODO: New file, describing tests we could write.Jim Kingdon1-1/+1
* gdb.t09/corefile.exp: Move description of tests to write to TODO.
1993-11-19 * TODO: New file, describing tests we could write.Jim Kingdon1-0/+5
* gdb.t06/corefile.exp: Move description of tests to write to TODO.
1993-11-19sparc-coff related changesKen Raeburn1-0/+38
1993-11-19 * coff-a29k.c (a29k_reloc): For R_IREL, don't left shiftIan Lance Taylor2-4/+9
signed_value before sign extending it. Don't subtract out reloc_entry->address. This makes it compatible with what gas is generating. Fixes PR 3790.
1993-11-19 * elfcode.h (elf_fake_sections): Accept .sbss as the name for aIan Lance Taylor1-0/+12
SHT_NOBITS sections. (map_program_segments): Don't leave the loop after the first SHT_NOBITS section. (assign_file_positions_except_relocs): Only force sh_offset and sh_addr to match modulo maxpagesize for a section which is not SHT_NOBITS. Changed the method used to force page alignment after a SHT_NOBITS section to only do it for the last such consecutive section, and to really force page alignment.
1993-11-19 * configure.in (mips*-sgi-irix5*): New target. Use mipsb-elf32.Ian Lance Taylor2-0/+35
* emulparams/elf32mipsb.sh (DATA_ADDR): Define. (OTHER_READONLY_SECTIONS): Define for .reginfo. (EXECUTABLE_SYMBOLS): Define for _DYNAMIC_LINK. * scripttempl/elf.sc: Use EXECUTABLE_SYMBOLS when not relocating. Move OTHER_READONLY_SECTIONS after all the other readonly sections. Don't use DATA_ADDR twice.
1993-11-19 * ldmain.c (enter_file_symbols): Removed duplicate tests of p. IfIan Lance Taylor1-44/+98
p is in a common section, make sure the BFD has a section of that name.
1993-11-19* coffcode.h (coff_slurp_symbol_table): Print more verbose messageKen Raeburn1-0/+3
in the case of an unknown (or unhandled) storage class.
1993-11-19Modified Files:Kung Hsu2-7/+32
ChangeLog symtab.c * symtab.c(decode_line_1): fix the inconsistency of setting breakpoint with '' or without them. The '' is needed when you want name completion.
1993-11-19New file, for known lacks in testsuiteJim Kingdon1-0/+0
1993-11-19recent coff/lynx changesKen Raeburn1-0/+19
1993-11-19(coff_bfd_reloc_type_lookup): Don't define if already defined.Ken Raeburn1-42/+52
(coff_slurp_line_table): Reformatted.
1993-11-19sparc.h (RELSZ): Use correct value.Ken Raeburn1-0/+4
1993-11-18Get ECOFF gas to work again after this morning's checkins.Ian Lance Taylor1-1/+1
1993-11-18Various entries.Ian Lance Taylor1-0/+129
1993-11-18 * config/tc-mips.c: Check ECOFF_DEBUGGING rather thanIan Lance Taylor1-635/+1462
OBJ_ECOFF in many cases. (mips_any_noreorder): New variable. (mips_cprestore_offset): Initialize to -1. (mips_frame_reg): New variable. (RELAX_ENCODE, RELAX_OLD, RELAX_NEW, RELAX_RELOC1, RELAX_RELOC2, RELAX_RELOC3, RELAX_WARN): New macros. (md_pseudo_table): Handle "gpword" and "cpadd". (md_begin): Initialize ok to false. If OBJ_ELF, set alignment of text, data and bss sections to 4. Set alignment of .reginfo section to 2. If ECOFF_DEBUGGING, create .mdebug section. (ALIGN_ERR, ALIGN_ERR2): Removed unused and useless alignment check. (append_insn, macro_build, macro_build_lui): Take place argument. Changed all callers. (append_insn): If appending a nop, don't emit one. (macro_build): Changed assertion for 'i', 'j', 'o' case. (gp_reference): Removed. (load_address): New function. (macro): If mips_noreorder is used, set mips_any_noreorder. Extensive changes to handle GP and PIC symbols differently. Build both possible code choices using a variant frag, and make a final decision at the end of assembly when all information is known. Added PIC support for all symbol references. (mips_ip): Don't permit anything but a number after $ for a coprocessor register. Don't use .lit4 or .lit8 sections when generating PIC code. If OBJ_ELF, set alignment of .lit4 or .lit8 section to 4. (md_apply_fix): Accept and ignore GOT16 and GPREL32 relocs. (s_change_sec): Set alignment of ELF .rodata or .sdata section to 4. (s_mipsset): If .set noreorder, set mips_any_noreorder. (s_cpload): Ignore .cpload if not generating PIC code. Warn if .cpload is not in noreorder section. (s_cprestore): Ignore .cprestore if not generating PIC code. (s_gpword, s_cpadd): New functions. (tc_get_register): Added frame argument; if true, set mips_frame_reg to return value. Changed all callers. (md_estimate_size_before_relax): Don't error out, but instead determine how much a frag should grow. (tc_gen_reloc): Return multiple relocs if appropriate, as determined by md_estimate_size_before_relax. (md_convert_frag): New function. (mips_elf_final_processing): Set ELF header flags based on mips_any_noreorder and mips_pic. * config/tc-mips.h (RELOC_EXPANSION_POSSIBLE): Define. (MAX_RELOC_EXPANSION): Define to be 3. (md_relax_frag): Define to be 0. (md_convert_frag): Don't define. (tc_get_register): Changed declaration.
1993-11-18Modified Files:Kung Hsu2-0/+11
ChangeLog valops.c * valops.c(search_struct_method): to use unified search so type conversion operator works in calling method. (this file should be checked in with last commit, I missed it).
1993-11-18Various entries.Ian Lance Taylor1-0/+53
1993-11-18 * elfcode.h (bfd_section_from_shdr): Don't dump core if targetIan Lance Taylor1-58/+98
section has no ELF section data. (elf_make_sections): Set addralign of reloc section to 4. (elf_fake_sections): Likewise. (map_program_segments): Don't consider section 0. (assign_file_positions_except_relocs): Don't consider section 0. In the main loop, skip the symtab and strtab sections, since their positions are set elsewhere. (swap_out_syms): Set addralign of symtab section to 4. Set addralign of strtab sections to 1. (assign_file_positions_for_relocs): Don't consider section 0. (write_object_contents): Don't write out section 0. (sym_is_global): Take abfd argument. Call elf_backend_sym_is_global if it is not NULL. (elf_map_symbols): Pass abfd to sym_is_global. (write_object_contents): Call elf_backend_final_write_processing if it is defined.
1993-11-18 * libelf.h (struct elf_backend_data): Added fieldsIan Lance Taylor3-36/+62
elf_backend_sym_is_global and elf_backend_final_write_processing. * elf32-target.h (elf32_bed): Added corresponding initializers. * elf64-target.h (elf64_bed): Likewise.
1993-11-18Fix for PR 3978:Fred Fish1-0/+7
* valprint.c (val_print_string): When looking for a null terminator compare current bufsize to fetchlimit to determine when to stop, instead of computing buffer+fetchlimit which may overflow for very large limits (like "unlimited").
1993-11-18Modified Files:Kung Hsu1-0/+6
ChangeLog eval.c valarith.c * eval.c(evaluate_subexp): to use unified search so type conversion operator works in calling method. * valarith.c(value_x_binop, value_x_unop): same as above.
1993-11-18 * libecoff.h: Include coff/ecoff.h.Ian Lance Taylor2-183/+258
(struct ecoff_backend_data): Move external debugging information fields into a single field pointing to an ecoff_debug_swap structure. (ecoff_data_type): Move debugging information fields into a single field pointing to an ecoff_debug_info structure. * coff-alpha.c, coff-mips.c, ecoff.c: Corresponding changes.
1993-11-17 * mipsread.c: Change use of ECOFF information to correspond toIan Lance Taylor1-0/+6
changes in bfd/libecoff.h. (mipscoff_symfile_offsets): Made static.
1993-11-17 * configure.in (mips-*-irix5*): New target. Use elf and mips-big.Ian Lance Taylor1-1/+1
1993-11-17 * Makefile.in (REAL_SOURCES): Added ecoff.c.Ian Lance Taylor1-2/+11
(REAL_HEADERS): Added ecoff.h. (OBJS): Added ecoff.o. (ecoff.o): New target.
1993-11-17Wed Nov 17 13:56:10 1993 Stan Shebs (shebs@rtl.cygnus.com)Stan Shebs1-0/+7
* i386lynx.c (swap_std_reloc_in, swap_ext_reloc_in): Ignore garbage bits appearing in the upper end of symbolnums. * config/sparc-lynx.mt (TDEFINES): Add -DFPRINTF_ALREADY_DECLARED.
1993-11-17New files for ECOFF debugging split out of config/obj-ecoff.c.Ian Lance Taylor2-1/+4940
1993-11-17 * write.c (is_dnrange): Do not define if md_relax_frag is defined.Ian Lance Taylor1-34/+38
(relax_segment): If md_relax_frag is defined, use it to handle a frag of type rs_machine_dependent rather than looking through md_relax_table. * write.c (relax_and_size_seg): Don't set SEC_HAS_CONTENTS for a bss section. Set SEC_RELOC if there are any relocations, even for a zero size section. * write.c (write_relocs): In RELOC_EXPANSION_POSSIBLE case, based data offset on reloc[0]->address rather than reloc[j]->address, so that multiple relocs can affect different memory locations. * write.c (chain_frchains_together, relax_and_size_seg, adjust_reloc_syms, write_relocs): Make third argument PTR, not char *, to match definition of bfd_map_over_sections.
1993-11-17 * read.c (read_a_source_file): If we find a bad pseudo-op,Ian Lance Taylor1-16/+14
do a continue to go on to the next line rather than a break. Removed duplicate bad pseudo-op code which was never executed. * read.c (s_lcomm): Do not require a comma after the name. * read.c (s_lcomm): Set bss flag for .sbss section if used.
1993-11-17 * nlmconv.1: new man pageJeffrey Osier3-39/+128
* objcopy.1: fixed format errors
1993-11-17 * mips.h: (M_J_A): Added.Ian Lance Taylor1-0/+10
(M_LA): Removed.
1993-11-17Use sun4sol2 for a target of sparc-netware.Sean Eric Fagan1-0/+5
1993-11-17 * mips.h (struct ecoff_debug_info): Define.Ian Lance Taylor2-3/+164
1993-11-17Need to declare nlm32_sparc_vec; oopsie.Sean Eric Fagan1-4/+9
1993-11-17New files and changed files for NetWare/SPARC.Sean Eric Fagan3-0/+198
1993-11-17Don't want the new files to disappear unexpectedly!Sean Eric Fagan1-0/+2
1993-11-17Two more files in BFD updated for NetWARE/SPARC.Sean Eric Fagan1-3/+3
1993-11-17NetWare/SPARC changes; required changes to the interface as well asSean Eric Fagan1-4/+16
adding files.
1993-11-17Modified Files:Kung Hsu3-21/+68
ChangeLog eval.c valops.c * valops.c (typecmp): improve prototype matching when calling a method. Make 'p (*(ostream *) &cout) << "lll" ' to work. * eval.c(evalute_subexp): fix operator search problem when call like p x.'operator+'(i).
1993-11-17Please CVS, let me kill this file!Stu Grossman1-282/+0
1993-11-17Please CVS, let me kill these files...Stu Grossman1-277/+0
1993-11-17 * Makefile.in: Use CFLAGS as well as LDFLAGS when linking.Ian Lance Taylor2-25/+38
1993-11-17fix typoDavid MacKenzie2-1/+10
1993-11-17 * i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c: Remove. MoveStu Grossman9-96/+101
common code into lynx-nat.c. * lynx-nat.c: New module. Contains portable code for Lynx native stuff (mostly ptrace related). * config/i386/i386lynx.mh (NATDEPFILES): i386ly-nat.o -> lynx-nat.o * config/m68k/m68klynx.mh (NATDEPFILES): i386ly-nat.o -> lynx-nat.o * config/nm-lynx.h, config/tm-lynx.h: New files to contain non-architecture specific native and target defs. * config/i386/nm-i386lynx.h, config/i386/tm-i386lynx.h, config/m68k/nm-m68klynx.h, config/m68k/tm-m68klynx.h: Move all (arch) portable stuff into ../{tm nm}-lynx.h.
1993-11-17 * i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c: Remove. MoveStu Grossman1-0/+310
common code into lynx-nat.c. * lynx-nat.c: New module. Contains portable code for Lynx native stuff (mostly ptrace related). * config/i386/i386lynx.mh (NATDEPFILES): i386ly-nat.o -> lynx-nat.o * config/m68k/m68klynx.mh (NATDEPFILES): i386ly-nat.o -> lynx-nat.o * config/nm-lynx.h, config/tm-lynx.h: New files to contain non-architecture specific native and target defs. * config/i386/nm-i386lynx.h, config/i386/tm-i386lynx.h, config/m68k/nm-m68klynx.h, config/m68k/tm-m68klynx.h: Move all (arch) portable stuff into ../{tm nm}-lynx.h.
1993-11-17* mh-a68bsd: Define CC to gcc.Jim Kingdon1-1/+10