aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-08-18 * elfcode.h (elf_fake_sections): Just check for ".rela" andIan Lance Taylor1-0/+14
".rel", not ".rela." and ".rel."; make this work by checking use_rela_p. * elf32-i386.c (elf_i386_check_relocs): Just check for ".rel", not ".rel." (elf_i386_size_dynamic_sections): Likewise. (elf_i386_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_check_relocs): Just check for ".rela", not ".rela." (elf32_sparc_size_dynamic_sections): Likewise. (elf32_sparc_relocate_section): Likewise.
1994-08-18 Make the ELF linker handle orphaned sections reasonably. Also,Ian Lance Taylor1-0/+19
define __start_SECNAME and __stop_SECNAME around sections whose names can be represented in C, for the benefit of symbol sets in glibc. * ldemul.h (ldemul_place_orphan): Declare. (ld_emulation_xfer_type): Add place_orphan field. * ldemul.c (ldemul_place_orphan): New function. * ldlang.h (wild_doit): Declare. * ldlang.c (wild_doit): Make nonstatic. (lang_place_orphans): Call ldemul_place_orphan. * emultempl/elf32.em: Include <ctype.h> and "ldgram.h". (hold_section, hold_use, hold_text, hold_data, hold_bss): New static variables. (gld${EMULATION_NAME}_place_orphan): New static function. (gld${EMULATION_NAME}_place_section): New static function. (ld_${EMULATION_NAME}_emulation): Initialize place_orphan field.
1994-08-18Support both the generic remote protocol and the one for HP-PRO targets.Rob Savoye2-2/+2
1994-08-18Make a unique remote target "hppro", rather than use generic remote.Rob Savoye1-21/+50
1994-08-18 * Makefile.in (TARGET_FLAGS_TO_PASS): Pass down LD_FOR_TARGET andStu Grossman6-0/+69
NLMCONV_FOR_TARGET. (SUBDIRS): Add nlm target. * configure.in (powerpc-*-netware*): Automatically configure nlm subdir. * nlm/Makefile.in: Add {CC NLMCONV LD}_FOR_TARGET. Remove alpha specific stuff. Make things more configurable. * nlm/configure.in: Add powerpc-*-netware* target. Use gdbserve.mt/cpu.c/cpu.h for target stuff. Get rid of tm/xm/nm.h files. * nlm/gdbserve.c: Move Alpha specific stuff into other files. Remove lots of architecture-specific stuff. * nlm/gdbserve.def: Add new imports. * nlm/ppc.c, nlm/ppc.h: New files that contain PowerPC specific code. * nlm/prelude.c: Don't include libhooks.h, get rid of call to register library. * nlm/prelude.o: What was this doing here? * config/alpha/gdbserve.mt: Defs for alpha nlm stub. * config/powerpc/gdbserve.mt: Defs for PowerPC nlm stub. * config/powerpc/ppc-nw.mt: Defs for PowerPC target for GDB. * config/powerpc/tm-ppc-nw.h: Ditto. * nlmstub.def: New file, contains imports for 386 nlm stub.
1994-08-18 * Makefile.in (TARGET_FLAGS_TO_PASS): Pass down LD_FOR_TARGET andStu Grossman15-298/+1572
NLMCONV_FOR_TARGET. (SUBDIRS): Add nlm target. * configure.in (powerpc-*-netware*): Automatically configure nlm subdir. * nlm/Makefile.in: Add {CC NLMCONV LD}_FOR_TARGET. Remove alpha specific stuff. Make things more configurable. * nlm/configure.in: Add powerpc-*-netware* target. Use gdbserve.mt/cpu.c/cpu.h for target stuff. Get rid of tm/xm/nm.h files. * nlm/gdbserve.c: Move Alpha specific stuff into other files. Remove lots of architecture-specific stuff. * nlm/gdbserve.def: Add new imports. * nlm/ppc.c, nlm/ppc.h: New files that contain PowerPC specific code. * nlm/prelude.c: Don't include libhooks.h, get rid of call to register library. * nlm/prelude.o: What was this doing here?
1994-08-18 * remote-pa.c: New file for HPPA embedded support. Currently it'sRob Savoye1-0/+6
a copy of remote.c. * config/pa/hppabsd.mt,hppahpux.mt,hppaosf.mt: User remote-pa.c.
1994-08-18Use new remote-pa, rather than the generic one.Rob Savoye3-2/+3
1994-08-18New file for remote protocol to embedded HPPA targets.Rob Savoye1-0/+1479
1994-08-17 * linker.c (_bfd_generic_link_add_archive_symbols): InitializeIan Lance Taylor1-1/+4
PASS to the old value + 1.
1994-08-17 * config/m68k/tm-delta68.h (EXTRACT_RETURN_VALUE,Stan Shebs2-2/+32
STORE_RETURN_VALUE): Define to use %a0 for pointers.
1994-08-17Add serial tcp support for HPPA hosts and targets.Rob Savoye2-1/+5
1994-08-17 * coffgen.c (coff_get_normalized_symtab): If a C_FILE symbol hasIan Lance Taylor1-0/+9
no aux entries, use the symbol name as the file name. (coff_find_nearest_line): Look for the right C_FILE symbol, rather than always using the first one. If there is a debugging symbol after a function symbol, skip it. Add the section VMA to the line offset, since it was subtracted out in coff_slurp_line_table. PR 5010.
1994-08-17 * remote-mips.c: Remove unused declaration of mips_load.Jim Kingdon2-3/+4
1994-08-17 * coffread.c: General cleanup, and support for section offsets.Stan Shebs1-1/+18
(time.h, sys/types.h, libbfd.h): Don't include. (cur_src_start_addr, cur_src_end_addr): Rename to current_source_start_addr, current_source_end_addr. (nlist_stream_global): Remove. (nlist_bfd_global): New global variable. (coff_symfile_read): Remove code that gets and uses fileno() directly. (read_coff_symtab, enter_linenos, process_coff_symbol): Add section_offsets parameter, add text/data section offset to appropriate symbols' values. (read_one_sym): Use bfd_read instead of fread. (init_stringtab, init_lineno): Change first parameter to a bfd, use bfd routines instead of raw I/O.
1994-08-17 * symtab.c (decode_line_1): If funfirstline and we get aJim Kingdon1-0/+3
non-LOC_BLOCK symbol (e.g. variable or type), then error().
1994-08-16 * Makefile.in (TARFILES, NONSRC, SFILES_STAND, SFILES_KGDB):Jim Kingdon2-126/+12
Remove; unused. (TAGFILES_NO_SRCDIR): Remove ALLPARAM. (HFILES_NO_SRCDIR): Remove all files in config sub-directory. (TAGS): Also pass result of find on config sub-directory to etags. (ALLPARAM): Remove; now unused.
1994-08-16 * som.c (som_prep_headers): If writing some form of an executable,Jeff Law2-62/+89
allocate and attach an exec header to the BFD private data. (som_begin_writing): Don't fill fields of the exec header based on BFD private data here (like the exec flags). Do not write the exec header here. (som_write_headers): Instead do it here. * som.h (struct somdata): New field "exec_hdr" for the executable file header. (obj_som_exec_hdr): New accessor macro.
1994-08-16 * configure.in: Also configure librx.Per Bothner2-3/+7
1994-08-16 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged withStan Shebs1-0/+5
2417; old bug has been fixed.
1994-08-16Add librx.Per Bothner1-0/+1
1994-08-16 * gas/config/tc-hppa.c (pa_comm): Set sy_frag for the commonJeff Law1-2/+2
symbol to the zero address frag.
1994-08-16 * config/tc-hppa.c (pa_comm): Set sy_resolved for the commonJeff Law2-45/+10
symbol.
1994-08-16 * scripttempl/aout.sc: Add .linux-dynamic after .data.Ian Lance Taylor1-2/+6
1994-08-16 * i386linux.c (linux_link_create_dynamic_sections): Create sectionIan Lance Taylor2-11/+21
named .linux-dynamic, not .dynamic. (linux_add_one_symbol): Use .linux-dynamic, not .dynamic. (bfd_linux_size_dynamic_sections): Likewise. (linux_finish_dynamic_link): Likewise.
1994-08-16 * Treat --dll-verbose as --version, for Linux compatibility. FromIan Lance Taylor1-0/+5
hjl@nynexst.com (H.J. Lu).
1994-08-15 * Makefile.in: Update various rules to reflect that librxPer Bothner2-90/+23
is now needed for libg++.
1994-08-15 * coffgen.c (STRING_SIZE_SIZE): Define.Ian Lance Taylor2-14/+39
(coff_fix_symbol_name): Use STRING_SIZE_SIZE, not 4. (coff_write_symbols, build_string_table): Likewise. (coff_get_normalized_symtab): Likewise.
1994-08-15 * ldexp.h (exp_get_abs_int): Declare.Ian Lance Taylor1-0/+9
1994-08-15 * libcoff-in.h (obj_symbol_slew): Don't define.Ian Lance Taylor1-0/+7
(struct coff_tdata): Remove unused fields index_slew, raw_linenos, and flags. * libcoff.h: Rebuilt. * coffcode.h (coff_mkobject): Don't initialize raw_linenos. (coff_mkobject_hook): Don't initialize flags.
1994-08-15 * aout-target.h (MY_zmagic_contiguous): Define as 0 if not alreadyIan Lance Taylor3-30/+84
defined. (MY(backend_data)): Use MY_zmagic_contiguous, not hardcoded 0. * i386linux.c (MY_zmagic_contiguous): Define.
1994-08-15 * elfcode.h (bfd_section_from_shdr): If a SHT_SYMTAB section in aIan Lance Taylor2-0/+18
shared object has SHF_ALLOC set, create a BFD section for it. (elf_section_from_bfd_section): There may be a BFD section for a SHT_SYMTAB section.
1994-08-15 * coffcode.h (styp_to_sec_flags): Add name argument. If no flagsIan Lance Taylor5-28/+111
are recognized, chose section flags based on the name. (bfd_coff_backend_data): _bfd_styp_to_sec_flags_hook field: Add name argument. (bfd_coff_styp_to_sec_flags_hook): Add name argument. (coff_compute_section_file_positions): Don't adjust the section position by COFF_PAGE_SIZE unless SEC_ALLOC is set. * libcoff.h: Rebuilt. * coffgen.c (make_a_section_from_file): Pass section name to bfd_coff_styp_to_sec_flags_hook. * ecoff.c (_bfd_ecoff_styp_to_sec_flags): Add unused name argument. * libecoff.h (_bfd_ecoff_styp_to_sec_flags): Add name argument to prototype.
1994-08-14 * Makefile.in (VERSION): Bump to 4.13.1Fred Fish4-53/+130
* NEWS, README: Update to match gdb 4.13 release version.
1994-08-13 Harris CX/UX support, from Bob Rusk (rrusk@mail.csd.harris.com).Fred Fish2-5/+30
* cxux-nat.c: Remove dangling #else block. ((m88k_harris_core_register_addr): New function.
1994-08-13 * environ.c (init_environ): If no environment, do nothing.Fred Fish1-0/+4
1994-08-13 * gdb.base/interrupt.exp: When trying to wake up the inferior,Jeff Law1-0/+4
send the newline ourselves instead of assuming gdb_test will do so when passed an empty input string.
1994-08-13 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble theJeff Law2-1/+14
stabs testcode.
1994-08-12 * elfcode.h (section_from_elf_index): Correct check for invalidIan Lance Taylor2-1/+4
section index.
1994-08-12 * remote.c (remote_wait): Return inferior_pid instead of 0 forStu Grossman2-10/+15
`W` message.
1994-08-12 * config.sub: Accept mips64orion and mips64orionel as a CPU name.Ian Lance Taylor1-0/+8
1994-08-12 * config/tc-mips.c (md_begin): Drop "el" from the end ofIan Lance Taylor1-0/+5
TARGET_CPU. Check for mips64orion.
1994-08-12* sparclite/aload.c (sys_error, error): Use vfprintf to variableJ.T. Conklin1-0/+5
argument lists.
1994-08-12 * elfcode.h (elf_link_add_object_symbols): If there is no symbolIan Lance Taylor2-0/+28
table, try using the dynamic symbol table. From Eric Youngdale <ericy@cais.cais.com>.
1994-08-12 * configure.host (sparc-*-solaris2*): Use solaris2, not sysv4.Ian Lance Taylor2-0/+2
The linker depends upon configuring for solaris2. * hosts/solaris2.h: New file; include hosts/sysv4.h. * config/solaris2.mh: New file; copy of config/sysv4.mh.
1994-08-11 Add support for removing named sections to objcopy and strip.Ian Lance Taylor4-3/+47
* objcopy.c (struct section_list): Define. (remove_sections): New static variable. (strip_options, copy_options): Add remove-section. (copy_usage, strip_usage): Mention -R and --remove-section. (setup_section): If section is in remove_sections list, ignore it. (copy_section): Likewise. (strip_main, copy_main): Handle -R. * binutils.texi, objcopy.1, strip.1: Document new options.
1994-08-11(concat, basename, buildargv, freeargv, strerrno, strsigno,David Edelsohn2-24/+14
errno_max, signo_max, strtoerrno, strtosigno): Delete. Include "libiberty.h" instead.
1994-08-11Remove aout-ns32k.h.Ian Lance Taylor1-1/+0
1994-08-11 * i386v-nat.c (i386_insert_nonaligned_watchpoint):Fred Fish2-11/+35
add additional argument specifying raw address to permit proper release of debug registers. (i386_insert_watchpoint, i386_insert_aligned_watchpoint): change all callers.
1994-08-10 * defs.h, top.c: Use `extern' in declarations of GUI hooks, andStu Grossman3-18/+51
define them in top.c. Add comments to the hooks.