aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-07-22 * scripttempl/elf.sc: Use PROVIDE to define etext, edata, and end.Ian Lance Taylor4-166/+252
Add a new script operator, PROVIDE, to define a symbol only if it is needed. * ldgram.y (PROVIDE): New token. (assignment): Accept PROVIDE. * ldlex.l (PROVIDE): New token. * ldexp.h (node_type): Add etree_provide to node_class enum. (exp_provide): Declare. * ldexp.c (exp_fold_tree): Handle etree_provide. (exp_provide): New function. (exp_print_tree): Handle etree_provide. * ld.texinfo: Document PROVIDE.
1994-07-22 * aoutx.h (aout_link_check_ar_symbols): When changing a symbol toIan Lance Taylor5-100/+55
common, set the alignment. (aout_link_add_symbols): Restrict the alignment of a common symbol to the alignment power given by the architecture. * elf.c (_bfd_elf_link_hash_newfunc): Don't initialize align. Do initialize copy_offset. * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Use copy_offset field rather than align field. Get alignment using bfd_log2 rather than switch. * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise. * elf32-i386.c (elf_i386_finish_dynamic_symbol): Use copy_offset, not align. * elf32-sparc.c (elf32_sparc_finish_dynamic_symbol): Likewise.
1994-07-22 * ldlang.c (lang_common): Pass desired alignment toIan Lance Taylor2-33/+13
lang_one_common as power of two. (lang_one_common): Get common symbol alignment from linker hash table entry. Treat desired alignment as a power of two.
1994-07-22 * bfdlink.h (struct bfd_link_hash_entry): Change u.c.size into aIan Lance Taylor1-0/+13
bitfield. Add field u.c.alignment_power.
1994-07-22 * ldlang.c (wild_section): Attach all section with the given name,Ian Lance Taylor2-52/+152
not just the first one. If there is no name, attach all sections even if the SEC_IS_COMMON flag is set.
1994-07-22 * aoutx.h (NAME(aout,some_aout_object_p)): Just checkIan Lance Taylor2-3/+12
STAT_FOR_EXEC, don't check MACH. * m88kmach3.c (MACH): Don't define. * config/i386-mach3.mt (TDEFINES): Define STAT_FOR_EXEC. * config/m88k-mach3.mt (TDEFINES): Likewise. * config/mips-mach3.mt (TDEFINES): Likewise.
1994-07-22 * i386mach3.c: Reverted to version from before Jul 5 1994 changes.Stan Shebs1-0/+4
Un-break gas/binutils/ld for FSF.
1994-07-21 * config.sub: Refer to NeXT's operating system as nextstep.Per Bothner2-5/+7
1994-07-21 * config.sub (case $basic_machine): Re-order the cases, to matchPer Bothner2-318/+362
the order in the FSF version (which is mostly alphabethical). Merge in some additions and changes from the FSF.
1994-07-21 * reloc.c (struct reloc_howto_struct): Remove special_function1.Ian Lance Taylor2-19/+80
It's the wrong way to do things. (HOWTO): Change accordingly. (HOWTO2): Remove. (_bfd_final_link_relocate): Remove references to special_function1. * bfd-in2.h: Rebuilt. * aoutx.h (aout_link_input_section_std): Remove references to special_function1. (aout_link_reloc_link_order): Likewise.
1994-07-21 * config/mh-alphaosf, config/mh-apollo68v, config/mh-delta88:Ian Lance Taylor1-0/+5
Remove; obsolete.
1994-07-20 * ld.h (args_type): Add field rpath.Ian Lance Taylor2-4/+57
* lexsup.c (S_ISDIR): Define if not already defined. (parse_args): Add support for -rpath. If -R is used to name a directory, treat it as -rpath for Solaris compatibility. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Pass command_line.rpath to bfd_elf32_size_dynamic_sections. * ldmain.c (main): Initialize command_line.rpath to NULL. * ld.texinfo: Document -rpath option.
1994-07-20 * elfcode.h (NAME(bfd_elf,size_dynamic_sections)): Add rpathIan Lance Taylor2-4/+21
argument. If it is not NULL, use it to set DT_RPATH. * bfd-in.h (bfd_elf32_size_dynamic_sections): Update prototype. (bfd_elf64_size_dynamic_sections): Likewise. * bfd-in2.h: Rebuilt.
1994-07-20Use gdb_run_cmdJ.T. Conklin1-18/+5
1994-07-20Changed pattern in gdb_run_cmd to match up to the first newline only.J.T. Conklin1-1/+4
The old pattern used ".*$", which could, and did, swallow up output that we were attempting to match elsewhere.
1994-07-20New implementation of gdb_run_cmd which fixes some subtle bugs.J.T. Conklin1-7/+14
1994-07-20fix from dj delorie for disassembler config in djgppKen Raeburn1-0/+12
1994-07-20Temporarily back out last changeJ.T. Conklin1-3/+6
1994-07-19* lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.J.T. Conklin1-6/+3
1994-07-19* gdb.base/funcargs.exp: Use gdb_run_cmd to start program.J.T. Conklin1-56/+28
1994-07-19* lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.J.T. Conklin1-2/+5
* gdb.base/funcargs.exp: Use gdb_run_cmd to start program.
1994-07-19 * config/mt-mips-ecoff: Add -Tidp.ld option.Bill Cox1-1/+1
1994-07-19added emacs19 whereever emacs was mentionedKaren Christiansen1-7/+7
1994-07-19* lib/gdb.exp (gdb_run_cmd): New function, used to start programJ.T. Conklin1-1/+13
running.
1994-07-19* gdb.base/bitfields.exp: Use gdb_run_cmd to start program.J.T. Conklin1-24/+12
1994-07-19* lib/gdb.exp (gdb_run_cmd): New function, used to start programJ.T. Conklin1-2/+6
running. * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
1994-07-19Mostly converted to use gdb_test proc.J.T. Conklin1-271/+100
1994-07-19This config file didn't belong hereJ.T. Conklin1-3/+0
1994-07-19 * main.c: Include <ctype.h>.Stan Shebs2-0/+11
1994-07-19* gdb.base/bitfields.exp: Simplify by using delete_breakpoints andJ.T. Conklin3-208/+124
gdb_test. * lib/gdb.exp (gdb_test): if match times out, don't call fail if message is "".
1994-07-18Modified Files:Kung Hsu2-0/+7
remote-mips.c ChangeLog * remote-mips.c (mips_readchar): Fix a bug in checking <IDT> prompt.
1994-07-18* gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,J.T. Conklin3-12/+289
return,signals,twice}.exp: Handle non-existant binaries consistantly.
1994-07-18(is there an echo in here?)Stan Shebs1-0/+4
* solib.c (look_for_base): Don't deref exec_bfd if NULL.
1994-07-18* gdb.base/corefile.exp: Execute coremaker to generate core dump.J.T. Conklin2-0/+150
* gdb.base/Makefile.in: Don't try to generate a core dump, we might testing a cross development system.
1994-07-17(This is the change that should have gone in the main tree ...)Fred Fish2-2/+2
* Makefile.in (VERSION): Bump to 4.12.4.
1994-07-17 * Makefile.in (VERSION): Bump to 4.12.85.Fred Fish2-6/+30
1994-07-17 * gdb.texinfo: Add some more credits.Stan Shebs2-15/+36
* gdbint.texinfo: Capitalize GDB consistently, describe some macros and remove some.
1994-07-17 * config/m88k/delta88.mh (MUNCH_DEFINE): Remove.Stan Shebs3-8/+11
* config/m88k/delta88.mt, config/m88k/delta88v4.mh: Format consistently.
1994-07-17 Harris CX/UX support, from Bob Rusk (rrusk@mail.csd.harris.com).Stan Shebs10-15/+701
* configure.in (m88*-harris-cxux*): New configuration. * cxux-nat.c, config/m88k/cxux.mh, config/m88k/cxux.mt, config/m88k/xm-cxux.h, config/m88k/tm-cxux.h, config/m88k/nm-cxux.h: New files. * config/m88k/tm-m88k.h: Add comment about Harris OS. (TARGET_WRITE_PC): Pass pid through to register writers. * configure.in (m68*): Put vendor-only-specified host configs after vendor-and-os-specified configs. (m68*-atari-sysv4*, m68*-cbm-sysv4*): Replace with m68*-*-sysv4.
1994-07-17 * elfread.c (elf_symtab_read): Handle error return fromPeter Schauer2-5/+18
bfd_get_dynamic_symtab_upper_bound gracefully.
1994-07-17 * objdump.c (slurp_dynamic_symtab): Try to get the dynamic symbolsIan Lance Taylor1-0/+6
even if the bfd is not marked DYNAMIC. ELF executables are not marked DYNAMIC, but do have dynamic symbols.
1994-07-17 * libelf.h (ELF_LINK_HASH_DEFINED_WEAK): Define.Ian Lance Taylor3-2/+25
* elfcode.h (elf_link_add_object_symbols): If symbol is defined as weak, set ELF_LINK_HASH_DEFINED_WEAK. (elf_link_output_extsym): If symbol is defined as weak, mark it STB_WEAK.
1994-07-17 * libelf.h (struct bfd_elf_section_data): Add relocs field.Ian Lance Taylor3-220/+141
(shdr_name): Remove; unused. * elfcode.h (elf_slurp_reloc_table): Rewrote to handle both REL and RELA relocs. Free up the unswapped relocs. Permit the relocs to be cached in the section_data. Correct the reloc address. (elf_slurp_reloca_table): Remove. (elf_canonicalize_reloc): Rewrote. (elf_link_input_bfd): Permit the relocs to be cached in the section data.
1994-07-17 * inferior.h (ARCH_NUM_REGS): New macro, actual number ofStan Shebs2-4/+22
registers in use by the inferior. * coredep.c (fetch_core_registers, register_addr): Use it. * findvar.c (registers_changed, registers_fetched, read_register_bytes): Ditto. * infcmd.c (do_registers_info, registers_info): Ditto. * infptrace.c (fetch_inferior_registers, store_inferior_registers): Ditto. * stack.c (frame_info): Ditto. * coredep.c (CORE_REGISTER_ADDR): New macro. (fetch_core_registers): Use it.
1994-07-16 * breakpoint.c (ignore, condition): Add usage notes to help strings.Stan Shebs2-13/+35
* symfile.c (add-symbol-file): Add usage note to help string. (add_shared_symbol_files_command): New command. gcc -Wall lint. * inferior.h (read_pc_pid): Declare. * breakpoint.c (watchpoint_check): Cache breakpoint in local variable b, remove unused variable other_type_used. * main.c (inferior.h, call-cmds.h): Include. (gdb_init): Declare. * remote.c (remote_wait): Return 0 by default.
1994-07-16 * config.bfd (m88*-harris-cxux*): Recognize.Stan Shebs2-0/+8
* hosts/harris.h (POSIX_UTIME, HAVE_PROCFS): Define.
1994-07-16 * configure.host (m68*-atari-sysv4*): New host.Stan Shebs3-4/+12
(m68*-cbm-sysv4*): Use m68kv4 instead of amix. * hosts/amix.h: Remove. * hosts/m68kv4.h: New file, was amix.h.
1994-07-16 * configure.in (m88*-harris-cxux7*): Recognize.Stan Shebs3-5/+27
* sysdep-cxux7.h: New file.
1994-07-16 * mh-cxux: New file, from Bob Rusk (rrusk@mail.csd.harris.com).Stan Shebs2-2/+20
1994-07-16 * config.guess: Recognize m68k-atari-sysv4 and m88k-harris-csux7.Stan Shebs1-1/+2
* config.sub: Recognize cxux7. * configure.in: Use mh-cxux for m88k-harris-cxux*.