aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-06-16 * aoutx.h (NAME(aout,some_aout_object_p)): Accept BMAGIC objectsIan Lance Taylor1-1/+2
and treat them as OMAGIC.
1994-06-16 * aout64.h (BMAGIC): Define.Ian Lance Taylor1-0/+1
1994-06-16 * ldexp.c (exp_print_tree): Don't crash if etree_rel section hasIan Lance Taylor1-0/+4
no owner--it might be bfd_abs_section. From Eric Youngdale <ericy@cais.cais.com>.
1994-06-16 * scripttempl/aout.sc: Let sections align to their naturalIan Lance Taylor1-0/+5
boundaries.
1994-06-16* as.c (parse_args): Cast xmalloc return value.Ken Raeburn1-0/+2
1994-06-16v9, vms changes and some stuff i checked in recently but didn't logKen Raeburn1-0/+34
1994-06-16Wed Jun 15 17:36:07 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs5-83/+293
* mpw-make.in (.c.o, .gc.o): Prefix segment names with gdb_. (top.c.o, annotate.c.o): Add build rules. * macgdb.r (SysTypes.r): Include. ('vers'): New resource, version info. (mFile, mEdit, mDebug): Enable all menu items. (mDebug): Add key equivalents for continue, step, next. (wConsole): Add zoom and close boxes to window. * mac-xdep.c (new_console_window): New function, code taken from mac_init. (mac_command_loop): Use GetCaretTime for wait interval, call do_idle on null events. (do_idle): New function. (zoom_window): Implement zooming. (v_scroll_proc): New function, handles vertical scrolling. (activate_window): Do activation of console window. (do_menu_command): Implement items of file, edit, and debug menus. (do_keyboard_command): Fix command extraction. (adjust_console_sizes, adjust_console_text): New functions. (hacked_fprintf, hacked_vfprintf, hacked_fputs, hacked_fputc, hacked_putc): Don't call draw_console. * ser-mac.c (mac_open): Add an error message for invalid ports. (first_mac_write): New global. (mac_write): Use first_mac_write to sleep on first several writes.
1994-06-16 Fri Jun 3 17:25:08 1994 Pat Rankin (rankin@eql.caltech.edu)Ken Raeburn2-2/+26
* config/obj-vms.h (DBG_S_C_COMPLX4, DBG_S_C_COMPLX8): define these new VMS symbol-type macros for `complex float' and `complex double' support. Their values come from the existing DSC$K_DTYPE_FC and DSC$K_DTYPE_DC macros in <descrip.h>. (DBG_S_C_REAL8_G, DBG_S_C_COMPLX8_G): G_float versions of REAL8 and COMPLX8; not used yet, because gcc outputs the same .stabs for `double' regardless of whether `-mg' is used. config/obj-vms.c (VMS_typedef_parse) [case 'r']: add entries for gcc2's predefined types "complex float", "complex double", and "complex long double" (identical to complex double).
1994-06-16For sparc64 target, use sparc cpu files and add sparcv9 to extra_defs. NoKen Raeburn1-3/+2
longer treat sparc64-*-aout* specially.
1994-06-16(config-stamp): If $(defs) contains multiple words, emit a #define line forKen Raeburn1-1/+3
each.
1994-06-16sparc v9 unsanitizationKen Raeburn1-52/+0
1994-06-16 * libelf.h (struct elf_obj_tdata): New field dt_needed_name.Ian Lance Taylor5-1/+23
(elf_dt_needed_name): New accessor macro. * elfcode.h (elf_link_add_object_symbols): If elf_dt_needed_name is set, use that instead of the filename for the DT_NEEDED dynamic entry. * elf.c (bfd_elf_set_dt_needed_name): New function. * bfd-in.h (bfd_elf_set_dt_needed_name): Declare. * bfd-in2.h: Rebuilt.
1994-06-15 * ldemul.h (ldemul_open_dynamic_archive): Declare.Ian Lance Taylor1-0/+19
(ld_emulation_xfer_type): Add new field open_dynamic_archive. * ldemul.c: Include ldexp.h and ldlang.h. (ldemul_open_dynamic_archive): New function. * ldfile.h (ldfile_open_file_search): Declare. * ldfile.c: Include ldemul.h. (try_open_bfd): Rename from cache_bfd_openr. Return boolean argument, not bfd *. Change all callers. (ldfile_open_file_search): Rename from open_a. Return boolean argument, not bfd *. Clean up. Change all callers. (ldfile_open_file): If doing a dynamic link, call ldemul_open_dynamic_archive rather than assuming the extension of a dynamic object is ".so". * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): New function. (ld_${EMULATION_NAME}_emulation): Initialize open_dynamic_archive field. * emultempl/sunos.em (ld_${EMULATION_NAME}_emulation): Likewise.
1994-06-15comment on v9 stuffKen Raeburn1-0/+10
1994-06-15added elf64-sparc.*Ken Raeburn1-34/+43
1994-06-15unsanitizing v9Ken Raeburn1-29/+1
1994-06-15regenerated (unsanitize v9)Ken Raeburn1-2/+2
1994-06-15unsanitize v9Ken Raeburn2-105/+8
1994-06-15unsanitize v9Ken Raeburn2-10/+7
1994-06-15Tweak v9 support to ready it for release.Ken Raeburn1-3/+6
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.