aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-06-06 * ecoff.c (ecoff_bfd_copy_private_bfd_data): Don't try to copyIan Lance Taylor2-1/+8
data to a non-ECOFF file.
1994-06-06 * libbfd-in.h: Add warning that libbfd.h is a generated file.Ian Lance Taylor1-0/+5
* libbfd.h: Rebuilt.
1994-06-05 Changes to support ELF strip and objcopy on dynamically linkedIan Lance Taylor4-349/+313
files. * elfcode.h (elf_fake_sections): Add prototype. (bfd_section_from_shdr): Make a BFD section from an SHT_HASH section, and from an SHT_DYNSYM section, and from the dynamic string table section. (elf_object_p): Set D_PAGED if there is a program header. (elf_make_sections): Remove. (fix_up_strtabs): Remove. (elf_fake_sections): Rewrite. Now sets sh_entsize. (assign_section_numbers): Rewrite. Now sets sh_link and sh_info for all sections. (elf_compute_section_file_positions): Don't call obsolete functions elf_make_sections or fix_up_strtabs. (swap_out_syms): Set sh_addralign to FILE_ALIGN rather than 4. (NAME(bfd_elf,write_object_contents)): Permit writing DYNAMIC objects. (elf_section_from_bfd_section): Treat SHT_DYNSYM like other normal sections. If an SHT_REL or SHT_RELA section is allocated or uses an unusual symbol table, permit a BFD section to map to it. Permit most SHT_STRTAB sections to have a BFD section mapped to them. (elf_bfd_final_link): Don't set sh_link, sh_info or sh_entsize fields of dynamic sections here; do it in assign_section_numbers. * elf32-target.h, elf64-target.h: Add D_PAGED to permitted object flags.
1994-06-05 * elf.c (_bfd_elf_make_section_from_shdr): Only set SEC_DATA ifIan Lance Taylor1-0/+7
SEC_LOAD is set, rather than checking SEC_ALLOC.
1994-06-05 * libbfd-in.h (bfd_realloc): Change last arg to "size_t size".Ian Lance Taylor1-2/+13
(Move libbfd.h change over to source file).
1994-06-05Remove a couple of myteriously duplicated entries.Ian Lance Taylor1-14/+0
1994-06-05keep configure.batKen Raeburn1-0/+1
1994-06-05keep files for pushw testKen Raeburn1-0/+2
1994-06-05 Fix value_print, which used to be ostensibly langauge-indepentdent,Per Bothner10-1/+216
but would print pointers and arrays in C syntax. Instead, call a language-specific function. See ChangeLog for details.
1994-06-05 * configure.in: Use mh-ncrsvr43. Patch fromPer Bothner2-0/+6
Tom McConnell <tmcconne@sedona.intel.com>.
1994-06-05* mh-ncrsvr43: New file from Tom McConnell <tmcconne@sedona.intel.com>.Per Bothner2-0/+13
1994-06-04 * read.c (emit_expr): Use memset to zero out memory, rather thanIan Lance Taylor2-1/+8
going through md_number_to_chars. This permits handling symbolic arguments when the size is larger than sizeof (valueT), if TC_CONS_FIX_NEW is prepared to handle the case (as it is on MIPS).
1994-06-04 Various changes to gdb.t31.Per Bothner1-0/+14
1994-06-04 * config.guess (i386-unknown-bsdi): New system to guess.Per Bothner2-4/+23
* config.guess (i386-unknown-bsdi): No longer need to check #if defined(__bsdi__) && defined(__i386__).
1994-06-03 binutils.texi: (objdump) fix formatting in options summaryJeffrey Osier1-2/+3
1994-06-03note renamingKen Raeburn1-1/+1
1994-06-03actually do c++filt.1 -> cxxfilt.man renaming on trunk...Ken Raeburn1-8/+8
1994-06-03 * as.c (show_usage), config/tc-alpha.c (md_show_usage),David MacKenzie3-4/+7
config/tc-mips.c (md_show_usage): Fix up messages.
1994-06-03improve usage messageDavid MacKenzie1-2/+3
1994-06-03 * as.h: Replace flagseen with separate variables.David MacKenzie14-95/+186
* as.c (parse_args): Set them. Don't accept -1 option, or -v explicitly (it's a synonym for --version). * as.c, input-scrub.c, messages.c, read.c, symbols.c, write.c, config/obj-aout.c, config/obj-aout.h, config/obj-bout.c, config/obj-bout.h, config/obj-coff.c, config/obj-coff.h, config/obj-vms.c, config/tc-hppa.c, config/tc-i386.c, config/tc-i960.c, config/tc-m68k.c, config/tc-mips.c, config/tc-vax.c: Use the new flag variables instead of flagseen. * config/tc-vax.c [OBJ_VMS]: Recognize -+, -1, -v, and document in usage.
1994-06-03don't sanitize out v9 stuff any moreKen Raeburn1-29/+0
1994-06-03 * som.c (som_write_object_contents): Don't compute the file header'sJeff Law1-0/+4
checksum here. (som_write_headers): Instead do it here.
1994-06-03 * as.c (show_usage): Remove target specific messages;David MacKenzie16-1613/+1622
instead, call md_show_usage. (parse_args): Use getopt_long_only. Take pointers to argc and argv. (main): Pass parse_args pointers. * as.h: Remove 3 variables that are redundant with flagseen. * as.c, messages.c: Change their users to use flagseen. Define getopt stuff. * tc.h: Update md_parse_option decl. Add md_show_usage decl. * config/tc-*.c: Add md_shortopts, md_longopts, md_longopts_size, md_show_usage. Change calling convention for md_parse_option. Remove md_parse_long_option. * config/tc-ns32k.c: Rename `struct option' to `struct ns32k_option'. * config/tc-i386.h: Don't define md_parse_option.
1994-06-03 * main.c: Move entire file except for #ifndef MAIN_OVERRIDE codeJim Kingdon5-15/+2566
to new file top.c. Make things extern instead of static and similar rearrangements to deal with this. * top.h: New file. * utils.c: Move fputs_unfiltered to main.c. Remove FPUTS_UNFILTERED_OVERRIDE ifndef. * Makefile.in: Change so that gdb uses main.c, utils.c, and top.c, and libgdb uses utils.c and top.c.
1994-06-03 * libbfd.h (bfd_realloc): Change last arg to "size_t size".Jeff Law2-2/+20
1994-06-03 * objdump.c (display_target_list): Remove unused local ok.Ian Lance Taylor2-137/+62
1994-06-03 * hppa-tdep.c (skip_trampoline_code): Fix typo.Jeff Law2-1/+5
1994-06-03 * ch-valprint.c (chill_val_print_array_elements): New function.Per Bothner2-2/+100
A Chill version of val_print_array_elements, it prints the array index labels, in additions ot the array element values. (chill_val_print): Use the new function.
1994-06-03Rebuilt dependencies.Ian Lance Taylor1-1/+1
1994-06-02Use SunOS shared libraries on a Sun 3.Ian Lance Taylor2-1/+3
1994-06-02Correct handling of .sa file.Ian Lance Taylor1-2/+5
1994-06-02Get the address of Sun3 dynamic relocs right.Ian Lance Taylor1-3/+5
1994-06-02note new i386 testKen Raeburn1-0/+4
1994-06-02new test for "pushw"Ken Raeburn3-0/+16
1994-06-02whitespaceKen Raeburn1-2/+2
1994-06-02oops, left out var declKen Raeburn1-0/+1
1994-06-02 * configure: Set program_transform_nameoption correctly.Ian Lance Taylor2-1/+5
1994-06-02 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.Per Bothner2-3/+5
1994-06-02 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.Per Bothner1-0/+21
1994-06-02Add casts to pacify SunOS linker.Ian Lance Taylor1-7/+7
1994-06-02 * hosts/sun3.h: Include <stdlib.h>. Don't declare free, exit orIan Lance Taylor2-8/+4
getenv.
1994-06-02 Add linker support for SunOS shared libraries.Ian Lance Taylor4-109/+2103
* sunos.c: Include bfdlink.h. Add many new functions and definitions for SunOS shared library support. * bfd-in.h (bfd_sunos_record_link_assignment): Declare. (bfd_sunos_size_dynamic_sections): Declare. * bfd-in2.h: Rebuilt. * aoutx.h (struct aout_link_hash_entry): Move to libaout.h. (struct aout_link_hash_table): Likewise. (aout_link_hash_lookup, aout_link_hash_traverse): Likewise. (aout_hash_table): Likewise. (NAME(aout,link_hash_newfunc)): Rename from aout_link_hash_newfunc and make externally visible. (NAME(aout,link_hash_table_init)): New function. (NAME(aout,link_hash_table_create)): Call NAME(aout,link_hash_table_init), not _bfd_link_hash_table_init. (aout_link_add_symbols): Don't fail if no symbols. If it exists, call add_dynamic_symbols backend entry point for dynamic objects. Use add_one_symbol backend entry point if it exists. (NAME(aout,final_link)): Call finish_dynamic_link backend entry point, if it exists. (aout_link_input_bfd): For a dynamic object, call link_dynamic_object backend entry point, if it exists. (aout_link_write_other_symbol): Call write_dynamic_symbol backend entry point, if it exists. (aout_link_input_section): Don't read the relocs if they have already been read. (aout_link_input_section_std): When doing a final link, for a reloc against an external symbol, call check_dynamic_reloc backend entry point, if it exists. (aout_link_input_section_ext): Likewise. * libaout.h: Protect against multiple inclusion. Include bfdlink.h. (struct aout_link_hash_entry): Move in from aoutx.h. (struct aout_link_hash_table): Likewise. (aout_link_hash_lookup, aout_link_hash_traverse): Likewise. (aout_hash_table): Likewise. (struct aout_backend_data): Add fields add_dynamic_symbols, add_one_symbol, link_dynamic_object, write_dynamic_symbol, check_dynamic_reloc, and finish_dynamic_link. (struct aout_section_data_struct): Define new structure. (aout_section_data): Define new accessor macro. (NAME(aout,link_hash_newfunc)): Declare. (NAME(aout,link_hash_table_init)): Declare. * aoutf1.h (sunos4_aout_backend): Initialize new aout_backend_data fields. * aout-target.h (MY(backend_data)): Likewise. * i386aout.c (MY(backend_data)): Likewise. * i386mach3.c (MY(backend_data)): Likewise. * mipsbsd.c (MY(backend_data)): Likewise. * sparclynx.c (sparclynx_aout_backend): Likewise.
1994-06-02 Add support for SunOS shared libraries.Ian Lance Taylor5-1/+637
* aout.sc: Don't define __DYNAMIC here. Add new sections used by shared library support code. * emultempl/sunos.em: New file. * emulparams/sun4.sh (TEMPLATE_NAME): Define as sunos. * Makefile.in (esun4.c): Depend upon sunos.em, not generic.em.
1994-06-02 * ldlang.c: Minor formatting cleanups.Ian Lance Taylor1-20/+18
(lang_for_each_input_file): New function. * ldlang.h (lang_for_each_input_file): Declare.
1994-06-02 * ldfile.h (search_dirs_type): Move from ldfile.c, and add cmdlineIan Lance Taylor5-27/+41
field. (search_head): Declare. (ldfile_add_library_path): Add new cmdline argument in prototype. * ldfile.c (search_head): Make non-static. (search_dirs_type): Move to ldfile.h. (ldfile_add_library_path): Accept cmdline argument, and save it. * lexsup.c (parse_args): Pass true for new cmdline argument of ldfile_add_library_path. (set_default_dirlist): Likewise. * ldmain.c (check_for_scripts_dir): Pass false for new cmdline argument of ldfile_add_library_path. * ldgram.y (ifile_p1): Likewise.
1994-06-02 * as.c (show_usage): New function.David MacKenzie2-65/+304
(parse_args): Code moved from main. Recognize --help and --version. * config/tc-ns32k.h: Define TC_NS32K. * doc/as.texinfo: Document all of the target-independent command line options.
1994-06-02* Makefile.in (distclean): Remove site config files and gas.sum.Ken Raeburn2-0/+4
1994-06-02updated with new targets for 94q2 and hppa infoKaren Christiansen2-11/+32
1994-06-02 * configure.in: Add nlm subdir to configdirs for alpha-*-netwareStu Grossman8-54/+197
target. * defs.h (enum language): Add language_asm. * findvar.c (read_register_bytes read_register_gen write_register_bytes read_register read_register_pid write_register write_register_pid supply_register): Move multi- thread handling down into these routines. Create XXX_pid routines that allow register references to specify the pid. * findvar.c infcmd.c (read_pc read_pc_pid write_pc write_pc_pid read_sp write_sp read_fp write_fp): Move these routines from infcmd to findvar to centralize the whole mess. * i386-nlmstub.c: Portability fixes. * infptrace.c (child_resume): Conditionalize to allow other natives to override it. Remove PIDGET gubbish, it's no longer necessary. * infrun.c (wait_for_inferior): Put registers_changed() before target_wait() to speed up remote debugging. * Replace code that reads registers from other threads with much nicer looking new function calls (see changes to findvar.c). * Don't skip prologues if debugging assembly source. * lynx-nat.c (child_resume): Lynx now needs it's own version of child_resume to handle multi-thread debugging properly. * remote.c: Add O response to get console output from target. * (readchar): Add timeout parameter. Handle SERIAL_EOF and SERIAL_ERROR here to simplify callers. * Change static var timeout to remote_timeout. * (fromhex): Remove unnecessary return -1 at end of routine. * (remote_wait): Turn this into a big switch statement. Add support for O response. * (putpkt): Remove unnecessary handling of SERIAL_EOF/ERROR. * (getpkt): Split getpkt into two parts. read_frame deals with all formatting issues, run-length encoding, and framing. getpkt now handles error recovery, and frame detection. * ser-tcp.c (tcp_readchar): Handle EINTR from read(). * ser-unix.c (hardwire_raw): Set CLOCAL so that we ignore modem control. (hardwire_readchar): Handle EINTR from read(). * symfile.c (deduce_language_from_filename): Add support for .s files. * config/nm-lynx.h: Define CHILD_WAIT so that lynx-nat.c can override infptrace's child_wait. * config/rs6000/rs6000lynx.mh: Use xm-rs6000ly.h & nm-rs6000ly.h instead of XXXlynx.h. * config/rs6000/rs6000lynx.mt: Use tm-rs6000ly.h instead of tm-rs6000lynx.h. * nlm/gdbserve.c: Portability fixes.
1994-06-02Various changes..Ken Raeburn1-2/+47