aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-06-15Comment fix.Ian Lance Taylor1-1/+1
1994-06-15 * lexsup.c (parse_args): Accept -static as a synonym forIan Lance Taylor2-0/+2
-non_shared.
1994-06-15 * ldmain.c (get_emulation): Ignore -m486 for Linux compatibility.Ian Lance Taylor3-0/+10
* lexsup.c (parse_args): Ignore -qmagic for Linux compatibility.
1994-06-15 Let the user change the dynamic linker used by ELF code.Ian Lance Taylor4-2/+33
* ld.h (args_type): Add new field interpreter. * lexsup.c (parse_args): Add dynamic-linker to longopts, and handle it. * ldmain.c (main): Initialize command_line.interpreter to NULL. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Get the ELF backend to return the .interp section. If command_line.interpreter is not NULL, set the contents of .interp to it. * ld.texinfo: Mention -dynamic-linker.
1994-06-15 * config/sun4sol2.mt (eelf32_sparc.c): Depend upon elf32.em, notIan Lance Taylor1-1/+1
generic.em.
1994-06-15 * elfcode.h (NAME(bfd_elf,size_dynamic_sections)): Add sinterpptrIan Lance Taylor4-16/+28
argument, and set it to the .interp section. * bfd-in.h (bfd_elf32_size_dynamic_sections): Update prototype. (bfd_elf64_size_dynamic_sections): Likewise. * bfd-in2.h: Rebuilt.
1994-06-15 * coff-sparc.c (SWAP_OUT_RELOC_EXTRA): Define to clear the r_spareIan Lance Taylor2-4/+20
field of the reloc rather than letting it be garbage.
1994-06-15 * config/obj-coff.c (coff_frob_symbol): Use C_STAT for the .textIan Lance Taylor1-0/+3
section symbol, not C_LABEL.
1994-06-15Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs7-179/+15
* config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout: Remove all CC, etc definitions. * config/mt-hpux: New file. * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove: (CFLAGS, LDFLAGS): Define. * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
1994-06-15Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-0/+20
* Makefile.in (site.exp): Don't insert host_os, etc. (just-check): Just use RUNTEST with RUNTESTFLAGS only. (distclean): Check existence of subdir. * gdb.base/configure.in (hppa*-*-hpux*): Recognize. * gdb.base/Makefile.in: General cleanup and simplification. Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions to build executables. Use default rule to build .o files. (EXPECT, RUNTEST, CC): Fix relative pathname. (site.exp): Don't insert host_os, etc. * gdb.base/signals.c (main): Don't call signal unless SIGALRM and/or SIGUSR1 defined. * gdb.base/watchpoint.c: Don't include stdio.h a second time. * gdb.c++/Makefile.in: General cleanup and simplification. Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions (CFLAGS): Remove. (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
1994-06-15 * lexsup.c (parse_args): Sort out the option macros and change theIan Lance Taylor2-22/+26
definitions to make it easier to add a new option.
1994-06-15 * archive.c (bfd_slurp_armap): Recognize __.SYMDEF/ as well asIan Lance Taylor2-8/+11
__.SYMDEF; the former was used in old Linux archives. From jrs@world.std.com (Rick Sladkey).
1994-06-15 * i386linux.c (i386linux_write_object_contents): Define; likeIan Lance Taylor2-0/+25
MY(write_object_contents) in aout-target.h, but set MACHTYPE to M_386. From jrs@world.std.com (Rick Sladkey). (MY_write_object_contents): Define.
1994-06-15 * config/tc-mips.c (mips_ip): Permit a modifier in 'o' case.Ian Lance Taylor1-2/+3
1994-06-15 * config/tc-mips.c (mips_ip): Permit non constant expressions inIan Lance Taylor2-3/+8
'u' case: lets lui %hi(foo) work correctly.
1994-06-15 * scripttempl/aout.sc: Define __etext and __edata to go along withIan Lance Taylor2-0/+5
_etext and _edata.
1994-06-15 * nm.c (long_options): Add --no-demangle to turn off --demangle,Ian Lance Taylor3-2/+15
and --no-cplus for Linux compatibility. (usage): Mention --no-demangle. * binutils.texi: Document --no-demangle.
1994-06-15 * ldver.c (help): Mention -traditional-format.Ian Lance Taylor1-1/+2
1994-06-15 * aoutx.h (translate_from_native_sym_flags): Treat N_SETV symbolsIan Lance Taylor2-0/+14
as N_DATA symbols. (aout_link_add_symbols): Likewise.
1994-06-15Comment change.Ian Lance Taylor1-2/+2
1994-06-15Init current_directory.Thomas Lord2-0/+9
1994-06-15 * ld.h (ld_config_type): Add new field traditional_format.Ian Lance Taylor6-4/+43
* lexsup.c (parse_args): Add traditional_format to longopts, and handle it. * ldmain.c (main): Initialize config.traditional_format to false. * ldlang.c (ldlang_open_output): Set BFD_TRADITIONAL_FORMAT in BFD flags of output_bfd according to config.traditional_format. * ld.texinfo: Document -traditional-format.
1994-06-15 * aoutx.h: Rewrite symbol duplicate elimination to use BFD hashIan Lance Taylor2-372/+212
tables. (struct stringtab_entry, struct stringtab_data): Remove. (HASHMAXLEN, HASH_CHAR, hash, compare, log2, emit_strtab): Remove. (struct strtab_hash_entry, struct strtab_hash): Define. (strtab_hash_newfunc, strtab_hash_lookup): Define. (stringtab_free, emit_stringtab): Define. (stringtab_init, add_to_stringtab): Rewrite. (NAME(aout,write_syms)): Use new stringtab code. (struct aout_final_link_info, NAME(aout,final_link)): Likewise. (aout_link_write_symbols, aout_link_write_other_symbol): Likewise.
1994-06-15 * bfd-in.h (BFD_TRADITIONAL_FORMAT): Define new BFD flag toIan Lance Taylor2-0/+28
request BFD to write object in the traditional format, whatever that means for the particular backend. * bfd-in2.h: Rebuilt.
1994-06-15 * ldctor.c (ldctor_add_entry): Add entries to a set in the orderIan Lance Taylor1-0/+5
they are encountered.
1994-06-15Correct copyright date and add usual blank lines in header.Ian Lance Taylor1-1/+5
1994-06-15New features. Less bugs.Thomas Lord2-265/+862
1994-06-14 * result.ch, result.exp, Makefile.in: New test case.Per Bothner8-1/+215
* pr-4975.ch, pr-4975-grt.ch, pr-4975.exp, Makefile.in: Ditto.
1994-06-14Modified Files:Kung Hsu2-48/+42
breakpoint.c ChangeLog * breakpoint.c: annotate changes lost at merge, put back in.
1994-06-14Tue Jun 14 18:05:09 1994 Eric Youngdale (ericy@cais.cais.com)Ian Lance Taylor2-3/+7
* emulparams/i386linux.sh (TEXT_START_ADDR): Define as 0x1000. (NONPAGED_TEXT_START_ADDR): Define as 0x20.
1994-06-14 * libaout.h (struct aoutdata): Add q_magic_format to subformatIan Lance Taylor5-37/+207
enum. * aout-target.h (MY_bfd_copy_private_bfd_data): Define as function if not already defined. Copy subformat information. (MY_text_includes_header): Define as 0 if not already defined. (MY(backend_data)): Use MY_text_includes_header rather than 0. (MY_final_link_callback): Rename from final_link_callback, and define only if MY_final_link_callback is not already defined. (MY_bfd_final_link): Rename use of final_link_callback to MY_final_link_callback. * aoutx.h (NAME(aout,some_aout_object_p)): Handle QMAGIC like ZMAGIC, but set the subformat to q_magic_format. Abort if the magic number if not recognized. (adjust_z_magic): Use QMAGIC if q_magic_format. * i386linux.c (MY_text_includes_header): Define as 1. (i386linux_bfd_final_link): New static function. (MY_bfd_final_link): Define as i386linux_bfd_final_link. * aoutx.h (translate_to_native_sym_flags): Check both section and output_section against sections of abfd.
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.