aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-07-01 * Support code for enabling the new style linker for PA ELF.Jeff Law4-57/+35
* elfcode.h (swap_symbol_in, swap_symbol_out): Externalize. (elf_compute_section_file_positions): Pass link_info to the begin_write_processing hook. (bfd_elf_write_object_contents): Pass NULL for new link_info argument to final_write_processing hook. (elf_link_output_sym): Accept new "input_section" argument for the symbols's input section. All callers changed. Call the link_output_symbol_hook if it's defined. (elf_bfd_final_link): Call the final_write_processing hook if it's defined. * libelf.h (elf_backend_link_output_symbol_hook): Declare. (elf_backend_begin_write_processing): Add new "info" argument. (elf_backend_final_write_processing): Likewise. * elf32-target.h (elf_backend_link_output_symbol_hook): Provide a default definition. (elf32_bed): Add elf_backend_link_output_symbol_hook. * elf64-target.h: Likewise. * Major rework of the PA ELF code. Uses the new style BFD linker, major cleanups. * hppa_stubs.h: Rewrite from scratch. Much smaller and simpler. * elf32-hppa.h: Delete all symbol extension related code. (hppa_look_for_stubs_in_section): Delete decl. (elf32_hppa_size_stubs, elf32_hppa_build_stubs): New decls. * elf32-hppa.c: Symbol extension stuff moved form elf32-hppa.h into elf32-hppa.c. Do not include aout64.h. (typdef hppa_stub_type): Delete. (elf32_hppa_stub_name_list_struct): Delete. (elf32_hppa_stub_description_struct): Delete. (arg_reloc_type): Use simpler enumerations. All references changed. (arg_location, arg_reloc_relocation): Likewise. (elf32_hppa_symextn_map_struct): Delete. (get_symbol_value): Delete. (elf32_hppa_get_sym_extn): Delete. (find_stubs, new_stubs, type_of_mismatch): Delete. (find_stub_by_name, add_stub_by_name): Delete. (hppa_elf_stub_finish, hppa_elf_stub_reloc): Delete. (hppa_elf_arg_reloc_needed): Renamed. Simplify. (hppa_elf_build_linker_stub, hppa_elf_create_stub_sec): Delete. (hppa_elf_long_branch_needed_p): Delete. (hppa_look_for_stubs_in_section): Delete. (hppa_elf_get_section_contents): Delete. (elf32_hppa_backend_symbol_processing): Delete. (elf32_hppa_backend_section_processing): Delete. (elf32_hppa_backend_section_from_shdr): Delete. (elf32_hppa_backend_fake_sections): Delete. (elf32_hppa_backend_section_from_bfd_section): Delete. (NEW_INSTRUCTION): Delete. (CURRENT_STUB_OFFSET): Delete. (elf32_hppa_relocate_section): New function. (elf32_hppa_bfd_final_link_relocate): New function. (elf32_hppa_size_symext): New function. (elf32_hppa_link_output_symbol_hook): New function. (elf32_hppa_read_symext_info): New function. (elf32_hppa_add_symbol_hook): New function. (elf32_hppa_name_of_stub): New function. (elf32_hppa_size_of_stub): New function. (elf32_hppa_build_one_sub): New function. (elf32_hppa_build_stubs): New function. (elf32_hppa_size_stubs): New function. (linker, stub and argument hash tables): Add appropriate structures, definitions and functions to implement all three hash tables. (hppa_elf_relocate_insn): Don't need argument location information in this function. (add_entry_to_symext_chain): Accept a symbol's argument location information rather than the symbol itself. All callers changed. (hppa_elf_gen_reloc_type): Simplify. (hppa_elf_set_section_contents): Stub section is no longer special. (hppa_elf_reloc): Greatly simplify. (elf32_hppa_begin_write_processing): Accept link_info argument. Handle being called from the BFD backend linker. (elf32_hppa_final_write_processing): Likewise. (elf_hppa_tc_make_sections): No longer call stub_finish.
1994-07-01 * mpw-config.in (MacSerial.h): Duplicate from standard Serial.h.Stan Shebs3-1/+13
* ser-mac.c (MacSerial.h): Include instead of Serial.h.
1994-07-01 * mpw-README: Update the GDB information.Stan Shebs1-0/+4
1994-07-01Add CXXSteve Chamberlain1-1/+3
1994-06-30Elim dup of file namesStan Shebs2-5/+9
1994-06-30* config/default.exp: Look for "as.new" in "$base_dir/..", where it gotKen Raeburn1-2/+0
compiled, not in "$base_dir". * config/unknown.exp: Deleted.
1994-06-30 * rltty.c (control_meta_key_on): Don't compile if __GO32__ isSteve Chamberlain1-0/+10
defined. (rltty_set_default_bindings): Likewise. * display.c (insert_some_chars, delete_chars): row_start should be a short. * parens.c (rl_insert_close): No FD_SET if using __GO32__. * readline.c (rl_gather_tyi): Strip off spurious high bits.
1994-06-30 * infrun.c (wait_for_inferior): Print "Program exited normally"Jim Kingdon2-7/+6
regardless of batch_mode. * defs.h, top.c (batch_mode): Removed.
1994-06-30Some updates for const-ness added to BFD structures.Ken Raeburn1-0/+6
1994-06-30 * config/tc-mips.c (macro): For M_LI_SS, decide how to handle itIan Lance Taylor1-0/+9
based on contents of imm_expr and offset_expr, rather than mips_pic. For M_LI_DD, decide how to handle it based on segment name of offset_expr, rather than mips_pic. (mips_ip): If g_switch_value < 4, use immediate values for 'l'. If g_switch_value < 8, use .rdata rather than .lit for 'L'.
1994-06-30Fix a boobooStan Shebs1-1/+1
1994-06-30 * Makefile.in (dcache_h): Remove redundant definition.Stan Shebs6-23/+27
(init.c): Add a comment. (top.c): Remove explicit compile action. * breakpoint.c (mention): Share code indicating location of break/watchpoints, don't print address if addressprint is off. * breakpoint.c, c-typeprint.c, c-valprint.c, energize.c, symtab.h (demangle): Remove redundant declarations. * eval.c: Remove redundant function declarations. * objfiles.h: Cosmetic and grammatical improvements. * TODO: Various updates.
1994-06-30 * remote-mips.c: Replace all \r chars with \015.Stan Shebs2-5/+26
(mips_receive_header): Display control characters readably. (mips_xfer_memory): Add a simple progress display.
1994-06-30 * mpw-make.in: Use {s} instead of {srcdir} everywhere.Stan Shebs2-74/+75
(bindir, libdir): Remove extra colon. (source.c): Compile with C instead of gC. (c-exp.tab.c, ch-exp.tab.c, m2-exp.tab.c): Add {o}. (install-only): Don't install MacGDB. * source.c (openp) [MPW]: Add a debugging display. (open_source_file) [MPW]: Use MPW basename finders. [MPW_C]: Briefer versions of help for line and list commands.
1994-06-30 * mpw-make.in (as.c): Compile with C not gC.Stan Shebs2-4/+13
(config-stamp): Touch correctly. (install-only): New target. (install): Depend on all and install-only.
1994-06-30 * as.c (show_usage): Break long string into shorter ones.Stan Shebs2-4/+17
(parse_args): Add -v, prints version id and continues. * config/tc-mips.c (md_show_usage): Break long string.
1994-06-30 * ecoffswap.h (ecoff_swap_pdr_in, ecoff_swap_pdr_in) [MPW_C]:Stan Shebs1-0/+5
Alternate versions without ECOFF_64 that chokes MPW C.
1994-06-30 * mpw-build.in: (install-only): New target.Stan Shebs1-1/+5
1994-06-30Fix typoStan Shebs1-1/+1
1994-06-29 * config/solaris2.mh (NATIVE_LIB_DIRS): Define as /usr/ccs/lib.Jean Marie Diaz2-0/+3
1994-06-29 * lexsup.c (parse_args): Accept -Bstatic and -Bdynamic. Do notJean Marie Diaz1-0/+6
accept plain -B. * ld.texinfo: -Bstatic is not ignored.
1994-06-29 * remote-e7000.c (e7000_open): Don't try a tcp open if we'reSteve Chamberlain3-11/+45
using go32. * remote-hms.c (flush): New function. (expect): Get edge case right. (hms_read_inferior_memory): Be more tolerant of line noise.
1994-06-29 * configure.in: Use i386m3.mh and i386m3.mt as names of host andJean Marie Diaz2-2/+7
target files, not non-existent mach3.mh and mach3.mt.
1994-06-29* config.guess: Recognize Mach.Jean Marie Diaz1-0/+4
1994-06-29 * gdb.c++/misc.cc: Instantiate classes to inhibit the compilerPeter Schauer1-0/+8
from optimizing them away. * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect patterns to include default constructors and assignment operators, to match gcc versions beyond 2.5.8.
1994-06-29 * dbxread.c (dbx_symfile_read): Unconditionally add dynamicPeter Schauer1-0/+8
symbols for all symbol files. Makes skipping over the trampoline code work when stepping from a function in a shared library into a function in a different shared library. (read_dbx_dynamic_symtab): Relocate mst_solib_trampoline address.
1994-06-28 * dbxread.c, partial-stab.h (near N_SO): SO stabs with blankStu Grossman4-149/+186
names mean end of .o file. * infrun.c (wait_for_inferior): Clean up multi-thread logic near top of routine. Handle new thread notification cleanly. * lynx-nat.c (child_wait): General cleanups, handle new LynxOS thread notification scheme. * (child_resume): General cleanups, handle resumption of all threads properly.
1994-06-28 * h8300-dis.c, mips-dis.c: Don't use true and false.Stan Shebs2-6/+24
1994-06-28 * mpw-config.in (emulname): Set based on target.Stan Shebs3-1/+26
(ldemul-list.h): Construct. * mpw-make.in (install-only): New target. (install): Depend on install-only.
1994-06-28 * mpw-xconfig.in: Remove ldemul-list.h construction, now inStan Shebs2-12/+7
generic config.
1994-06-28 * ldlex.l: Recognize \r the same as \n.Stan Shebs1-0/+19
1994-06-28 * mpw-config.in: New file, MPW configure fragment for binutils.Stan Shebs3-1/+16
* mpw-make.in (install-only): New target. (install): Also depend on install-only.
1994-06-28Remove more GM-specific stuffStan Shebs3-23/+4
1994-06-28Remove more GM-specific stuff.Stan Shebs2-21/+4
1994-06-28 * configure.in (i386-go32): When it's a host setSteve Chamberlain1-13/+18
host_makefile_frag. * gasp.c (get_any_string): Fix handling of % when in PharLap mode.
1994-06-28Don't keep the "is" cases, only the "was" cases.Steve Chamberlain32-7584/+0
1994-06-28Reflect new rules.Steve Chamberlain7-49/+65
1994-06-28 * section.c (bfd_get_section_contents): Put in parens to getSteve Chamberlain1-0/+17
precedence right.
1994-06-28Specify the file type.Steve Chamberlain1-1/+1
1994-06-28ser-go32.c: Rewrite so it runs under windows.Steve Chamberlain2-44/+113
1994-06-27 * configure: Check ${exec_prefixoption}, not ${exec_prefix}, toJean Marie Diaz1-0/+12
see whether --exec-prefix was used.
1994-06-27Use e7000-pc stuff.Steve Chamberlain2-2/+2
1994-06-27 * ser-e7kpc.c: New file to support the E7000 with the PC ISASteve Chamberlain3-2/+425
bus interface. * serial.c (serial_open): Notice device "pc". * remote-e7000.c: Fix copyright date. (expect): Compare \n and \r the same. (e7000_open): Allow pc as a serial port * sh/sh.mt: Add ser-e7kpc. * h8300/h8300hms.mt: Add ser-e7kpc. * main.c (proc_wait): Don't wait if using go32.
1994-06-27 * somread.c: Simplify by using stabsect_build_psymtabs.Jeff Law4-136/+26
* dbxread.c (stabsect_build_psymtabs): New argument "text_name" corresponding to the name of the text section. All references changed. (somstab_build_psymtabs): Delete function, no longer needed.
1994-06-27 * somread.c: Renamed from paread.c. Changed function names andJeff Law9-574/+590
comments to reflect that this file deals with SOM (an object file format), rather than the PA (a cpu). (Makefile.in): Chaned appropriately. (config/pa/hppabsd.mh, config/pa/hppahpux.mh): Likewise. * dbxread.c (somstab_build_psymtabs): Renamed from pastab_build_psymtabs.
1994-06-27 * libelf.h (relocate_section): New argument "output_names" addedJeff Law1-1/+1
to prototype. * elfcode.h (elf_link_input_bfd): New argument "output_names" added to prototype of relocate_section. Pass the output symbol names to relocate_section. * elf32-i386.c (elf_i386_relocate_section): Use "output_names" to determine the name of a local symbol. * elf32-mips.c (mips_elf_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
1994-06-26 * mpw-config.in: Parse target and use to generate forward includesStan Shebs4-22/+89
to tc-, obj-, and atof- files, use te-generic.h for emulation. * mpw-make.in (VERSION): Define. (as.c): Compile with GCC. (TARG_OBJECTS, CLIBS): Define. (as.new): Use LDFLAGS, TARG_OBJECTS, CLIBS and EXTRALIBS in link command. (config.h, config-stamp): Build. config/ho-mpw.h (HOST_SPECIAL_INIT): Define.
1994-06-26Remove GM-specific hackery, no longer needed.Stan Shebs3-46/+2
1994-06-26 * as.c (main) [HOST_SPECIAL_INIT]: New hook, for host-specificStan Shebs1-0/+5
initialization.
1994-06-26 * mpw-config.in: Use sed instead of StreamEdit, add definitionsStan Shebs3-9/+27
for mips target. * mpw-make.in: Remove mips targets definitions, add rule to compile with GCC, remove ecoff.c.o and ecofflink.c.o from list of required object files.