aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-06-06 * config.bfd: Recognize powerpc-*-linux* and powerpcle-*-linux*.Ian Lance Taylor2-7/+18
From Kevin Buettner <kev@primenet.com>.
1996-06-05Remove cygnus local comments from install-sh and install.sh.Gordon Irlam1-25/+3
1996-06-05Latest changes from AndrewMichael Meissner6-1/+1708
1996-06-05Wed Jun 5 01:52:57 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion4-44/+87
* configure.in (configdirs): Force 4100 builds to use 4300 GDB target. * configure: Rebuild. * config/mips/vr4300el.mt (SIM_OBS): Include simulator in little-endian builds.
1996-06-05Wed Jun 5 08:28:13 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion2-4/+33
* configure.in: Define @SIMCONF@ depending on mips target. * configure: Rebuild. * Makefile.in (run): Add @SIMCONF@ to control simulator construction. * gencode.c: Change LOADDRMASK to 64bit memory model only. * interp.c: Remove some debugging, provide more detailed error messages, update memory accesses to use LOADDRMASK.
1996-06-05 * config.guess: Merge with FSF:Per Bothner1-0/+16
Mon Jun 3 08:49:14 1996 Karl Heuer <kwzh@gnu.ai.mit.edu> * config.guess (*:Linux:*:*): Add guess for sparc-unknown-linux. Fri May 24 18:34:53 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * config.guess (AViiON:dgux:*:*): Fix typo in recognizing mc88110. Fri Apr 12 20:03:59 1996 Per Bothner <bothner@spiff.gnu.ai.mit.edu> * config.guess: Combine two OSF1 rules. Also recognize field test versions. From mjr@zk3.dec.com. * config.guess (dgux): Use /usr/bin/uname rather than uname, because GNU uname does not support -p. From pmr@pajato.com.
1996-06-05Add install.sh copyright terms from X11R5.Gordon Irlam1-1/+33
1996-06-04 * ldcref.c: New file.Ian Lance Taylor3-0/+25
* ld.h (add_cref, output_cref): Declare. * ldmain.c (main): Initialize notice_all field. If it is set at end of link, call output_cref. (notice): Rename from notice_ysym. Check notice_all. * ldmisc.c (finfo): Make globally visible. * ldmisc.h (finfo): Declare. * lexsup.c (OPTION_CREF): Define. (ld_options): Add "cref". (parse_args): Handle OPTION_CREF. * Makefile.in: Rebuild dependencies. (CFILES): Add ldcref.c. (OFILES): Add ldcref.o. * ld.texinfo, ld.1: Document --cref.
1996-06-04 * linker.c (_bfd_generic_link_add_one_symbol): If notice_all isIan Lance Taylor2-1/+8
set, always call the notice callback. * VERSION: Increment for bfdlink.h change.
1996-06-04 * Makefile.in (install): Don't check to see if tooldir exists.Tom Tromey3-2/+13
Make $(tooldir) and $(tooldir)/bin.
1996-06-04 * Makefile.in (MAKEDIRS): Removed $(tooldir).Tom Tromey1-0/+4
1996-06-04Do not turn on -mregnames by defaultMichael Meissner2-1/+6
1996-06-04Build psim on ppc SVR4, Solaris, and Elf targets.Michael Meissner1-1/+2
1996-06-03Make main an int function, not voidMichael Meissner1-0/+4
1996-06-03 * coff-sh.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Set to 4.Ian Lance Taylor1-0/+4
(sh_relax_delete_bytes): Correct handling of differently sized trailing alignment reloc.
1996-06-03Abort if we find the program has an .interp sectionMichael Meissner2-980/+107
1996-06-03 * bfd-in.h: Use #error if BFD_HOST_64_BIT can not be defined.Ian Lance Taylor1-0/+5
* bfd-in2.h: Rebuild. * configure.in: Warn if there is no known 64 bit type. * configure: Rebuild.
1996-06-03Add time, gettimeofday, and getrusage system call supportMichael Meissner3-42/+243
1996-06-03 * inftarg.c (child_thread_alive): Protect declaration withJeff Law1-0/+3
#ifndef CHILD_THREAD_ALIVE. Fixes net buglet.
1996-06-03 * source.c (find_source_lines): Check the time on the symtab's bfd ifJeff Law1-0/+5
it exists, else check the time on the exec_bfd. Fixes net buglet reported by Michael Snyder @ NeXT.
1996-06-03 * Makefile.in (end.h): Use explicit ./ when running end.Ian Lance Taylor2-3/+15
1996-06-03 * configure.in: Add calls to AC_CONFIG_HEADER, AC_CHECK_HEADERS,Ian Lance Taylor5-44/+1549
AC_CHECK_LIB, and AC_CHECK_FUNCS. Change AC_OUTPUT to set stamp-h. * configure: Rebuild. * config.in: New file, generated by autoheader. * interp.c: Include "config.h". Include <stdlib.h>, <string.h>, and <strings.h> if they exist. Replace #ifdef sun with #ifdef HAVE_ANINT and HAVE_AINT, as appropriate. * Makefile.in (run): Use @LIBS@ rather than -lm. (interp.o): Depend upon config.h. (Makefile): Just rebuild Makefile. (clean): Remove stamp-h. (mostlyclean): Make the same as clean, not as distclean. (config.h, stamp-h): New targets.
1996-06-03 * config/tc-mips.c (mips_ip): Don't call as_warn if we are settingIan Lance Taylor1-0/+6
insn_error. Don't put the string "ERROR" in insn_error. Set insn_error rather than calling as_warn for an unsupported opcode.
1996-06-03 * Makefile.in: Rebuild dependencies.Ian Lance Taylor1-0/+4
(BFD32_BACKENDS): Add ppcboot.o. (BFD32_BACKENDS_CFILES): Add ppcboot.c.
1996-06-03 * elf32-mips.c (mips_elf_size_dynamic_sections): Initialize c.Ian Lance Taylor1-0/+5
From Per Fogelstrom <per.fogelstrom@mailbox200.swipnet.se>.
1996-06-02Add Solaris and Linux emulationsMichael Meissner11-64/+2820
1996-06-02 * config/tc-mips.c (md_parse_option): Check for a 64 bit formatIan Lance Taylor2-1/+20
before permitting -64. * output-file.c (output_file_create): Remove duplicate bfd_perror.
1996-06-02 * elf64-mips.c (bfd_mips_elf64_swap_reginfo_in)Ian Lance Taylor2-0/+50
(bfd_mips_elf64_swap_reginfo_out): Move from here... * elf32-mips.c (bfd_mips_elf64_swap_reginfo_in) (bfd_mips_elf64_swap_reginfo_out): ...to here.
1996-05-31 * config/tc-mips.c (md_begin): If -64, create a .MIPS.optionsIan Lance Taylor2-21/+78
section rather than a .reginfo section. (mips_elf_final_processing): If -64, write out 64 bit RegInfo information.
1996-05-31 * elf64-mips.c: Improve reloc special_functions and handling ofIan Lance Taylor3-112/+421
SHT_MIPS_OPTIONS section. * elf32-mips.c (_bfd_mips_elf_hi16_reloc): Rename from mips_elf_hi16_reloc and make globally visible. (_bfd_mips_elf_lo16_reloc): Rename from mips_elf_lo16_reloc and make globally visible. (_bfd_mips_elf_got16_reloc): Rename from mips_elf_got16_reloc and make globally visible. (_bfd_mips_elf_gprel16_reloc): Rename from mips_elf_gprel16_reloc and make globally visible. (gprel16_with_gp): Check howto->src_mask before using value in insn. (_bfd_mips_elf_gprel32_reloc): Rename from mips_elf_gprel32_reloc and make globally visible. (gprel32_with_gp): Check howto->src_mask before fetching value. (bfd_mips_elf_swap_options_in): New function. (bfd_mips_elf_swap_options_out): New function. (_bfd_mips_elf_set_private_flags): Rename from mips_elf_set_private_flags and make globally visible. (_bfd_mips_elf_copy_private_bfd_data): Rename from mips_elf_copy_private_bfd_data and make globally visible. (_bfd_mips_elf_merge_private_bfd_data): Rename from mips_elf_merge_private_bfd_data and make globally visible. (_bfd_mips_elf_section_from_shdr): Accept .MIPS.options as a name for a SHT_MIPS_OPTIONS section. (mips_elf32_section_from_shdr): Handle SHT_MIPS_OPTIONS section. (_bfd_mips_elf_fake_sections): Consider .MIPS.options to be the name of a SHT_MIPS_OPTIONS section. (_bfd_mips_elf_set_section_contents): New function. (mips_elf32_section_processing): Set the GP value in a SHT_MIPS_OPTIONS section. (_bfd_mips_elf_find_nearest_line): Rename from mips_elf_find_nearest_line and make globally visible. (bfd_elf32_set_section_contents): Define. * elf-bfd.h (_bfd_mips_elf_hi16_reloc): Declare. (_bfd_mips_elf_lo16_reloc): Declare. (_bfd_mips_elf_gprel16_reloc): Declare. (_bfd_mips_elf_got16_reloc): Declare. (_bfd_mips_elf_gprel32_reloc): Declare. (_bfd_mips_elf_set_private_flags): Declare. (_bfd_mips_elf_copy_private_bfd_data): Declare. (_bfd_mips_elf_merge_private_bfd_data): Declare. (_bfd_mips_elf_find_nearest_line): Declare. (_bfd_mips_elf_set_section_contents): Declare.
1996-05-31 * elf32-hppa.c (elf32_hppa_info_to_howto): Rename fromIan Lance Taylor1-0/+15
elf_info_to_howto. (elf_info_to_howto): Define. * elf32-sparc.c (elf32_sparc_info_to_howto): Rename from elf_info_to_howto. (elf_info_to_howto): Define. * elf64-sparc.c (sparc64_elf_info_to_howto): Rename from elf_info_to_howto. (elf_info_to_howto): Define.
1996-05-31 * nm.c (filter_symbols): Check for BSF_WEAK as well asIan Lance Taylor1-0/+11
BSF_GLOBAL. * objcopy.c (filter_symbols): Likewise.
1996-05-31Keep abug.expJeff Law1-0/+1
1996-05-31 * emultempl/pe.em (sort_sections): Don't assume that aIan Lance Taylor1-0/+5
wild_statement has a section name.
1996-05-31 * config/tc-mips.c (load_register): If mips_isa < 3, permit a 32Ian Lance Taylor2-13/+16
bit value with the high bit set.
1996-05-31Make ! a comment only under Solaris; Add .rdata/.rodata pseduo opsMichael Meissner2-3/+7
1996-05-30 * config/tc-mips.c (mips_64): New static variable.Ian Lance Taylor1-8/+30
(mips_target_format): If mips_64, return elf64 targets rather than elf32 ones. (md_longopts): Add "32" and "64". (md_parse_option): Handle -32 and -64. (md_show_usage): Mention -32 and -64. (cons_fix_new_mips): If mips_64, don't convert an 8 byte reloc to a 4 byte one.
1996-05-30 * read.c (s_lcomm): Set section flags for .sbss section.Ian Lance Taylor2-0/+18
1996-05-30 * elf64-mips.c: Extensive additions to provide better support forIan Lance Taylor4-73/+431
writing files and for gas. * elf32-mips.c (_bfd_mips_elf_object_p): New function, broken out of mips_elf_object_p. (mips_elf32_object_p): Rename from mips_elf_object_p; call _bfd_mips_elf_object_p. (_bfd_mips_elf_final_write_processing): Rename from mips_elf_final_write_processing and make globally visible. (_bfd_mips_elf_fake_sections): Rename from mips_elf_fake_sections and make globally visible. (_bfd_mips_elf_section_from_bfd_section): Rename from mips_elf_section_from_bfd_section and make globally visible. (_bfd_mips_elf_section_processing): New function, broken out of mips_elf_section_processing. (mips_elf32_section_processing): Rename from mips_elf_section_processing; call _bfd_mips_elf_section_processing. (_bfd_mips_elf_symbol_processing): Rename from mips_elf_symbol_processing and make globally visible. (_bfd_mips_elf_read_ecoff_info): Rename from mips_elf_read_ecoff_info and make globally visible. (mips_elf32_ecoff_debug_swap): Rename from mips_elf_ecoff_debug_swap. * elf.c (_bfd_elf_symbol_from_bfd_symbol): Use asymbol rather than struct symbol_cache_entry. (_bfd_elf_validate_reloc): New function, moved in from elfcode.h:validate_reloc. * elfcode.h (validate_reloc): Remove; moved into elf.c and renamed to _bfd_elf_validate_reloc. Change all callers. * elf-bfd.h (bfd_section_from_shdr): Declare. (_bfd_elf_symbol_from_bfd_symbol): Declare. (_bfd_elf_validate_reloc): Declare. (_bfd_mips_elf_object_p): Declare. (_bfd_mips_elf_fake_sections): Declare. (_bfd_mips_elf_section_from_bfd_section): Declare. (_bfd_mips_elf_section_processing): Declare. (_bfd_mips_elf_symbol_processing): Declare. (_bfd_mips_elf_read_ecoff_info): Declare. (_bfd_mips_elf_final_write_processing): Declare. * elfxx-target.h (bfd_elfNN_get_reloc_upper_bound): Don't define if already defined.
1996-05-30Make ! a comment characterMichael Meissner2-1/+4
1996-05-30 * gdb.base/callfuncs.exp: Finish last change -- make sure theJeff Law1-0/+5
prototype information ends up in the compiler info file.
1996-05-30 * dsrec.c (make_srec): Fix calculation of address sizeMark Alexander1-0/+5
to allow addresses less than 0x100.
1996-05-30 * elf32-mips.c (mips_elf_object_p): Handle E_MIPS_ARCH_4.Ian Lance Taylor2-0/+13
(mips_elf_final_write_processing): Likewise.
1996-05-30 * mips.h (E_MIPS_ARCH_4): Define.Ian Lance Taylor2-0/+7
1996-05-30Make 4 argument .stabd into .stabn on PowerPC SolarisMichael Meissner1-0/+5
1996-05-30 * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length.Wilfried Moser2-0/+5
1996-05-29 * config/tc-mips.c (macro): When passing X_add_number toIan Lance Taylor2-4/+9
macro_build, cast it to int first.
1996-05-29 * gas/mips/jal-xgot.d: Correct for 64 bit output.Ian Lance Taylor1-0/+8
1996-05-29 64-bit MIPS ELF ABI objdump support:Ian Lance Taylor11-96/+1817
* elf64-mips.c: New file. * Makefile.in: Rebuild dependencies. (BFD64_BACKENDS): Add elf64-mips.o. (BFD64_BACKENDS_CFILES): Add elf64-mips.c. * config.bfd (mips*el-*-elf*) Add bfd_elf64_bigmips_vec and bfd_elf64_littlemips_vec to targ_selvecs. (mips*-*-elf*): Likewise. * confingure.in: Add bfd_elf64_bigmips_vec and bfd_elf64_littlemips_vec to vector switch. * configure: Rebuild. * elf32-mips.c (_bfd_mips_elf_section_from_shdr): New function, broken out of mips_elf_section_from_shdr. (mips_elf32_section_from_shdr): Rename from mips_elf_section_from_shdr. Call new function. (elf_backend_section_from_shdr): Update name of renamed function. * elf-bfd.h (struct elf_size_info): Change second parameter of write_out_phdrs to be const. Likewise for second parameter of swap_symbol_out. (struct bfd_elf_section_data): Add rel_hdr2 field. (bfd_elf32_swap_symbol_in): Change second parameter to be const. (bfd_elf32_swap_symbol_out): Likewise. (bfd_elf32_swap_reloc_in): Likewise. (bfd_elf32_swap_reloc_out): Likewise. (bfd_elf32_swap_reloca_in): Likewise. (bfd_elf32_swap_reloca_out): Likewise. (bfd_elf32_swap_phdr_in): Likewise. (bfd_elf32_swap_phdr_out): Likewise. (bfd_elf32_swap_dyn_in): Likewise. (bfd_elf32_swap_dyn_out): Likewise. (bfd_elf32_slurp_symbol_table): Declare. (bfd_elf32_write_shdrs_and_ehdr): Declare. (bfd_elf32_write_out_phdrs): Declare. (bfd_elf64_swap_symbol_in): Change second parameter to be const. (bfd_elf64_swap_symbol_out): Likewise. (bfd_elf64_swap_reloc_in): Likewise. (bfd_elf64_swap_reloc_out): Likewise. (bfd_elf64_swap_reloca_in): Likewise. (bfd_elf64_swap_reloca_out): Likewise. (bfd_elf64_swap_phdr_in): Likewise. (bfd_elf64_swap_phdr_out): Likewise. (bfd_elf64_swap_dyn_in): Likewise. (bfd_elf64_swap_dyn_out): Likewise. (bfd_elf64_slurp_symbol_table): Declare. (bfd_elf64_write_shdrs_and_ehdr): Declare. (bfd_elf64_write_out_phdrs): Declare. (_bfd_mips_elf_section_from_shdr): Declare. * elf.c (bfd_section_from_shdr): Remove assertion requiring SHT_REL/SHT_RELA to match use_rela_p. If there is already a reloc section for the section, add the new one to rel_hdr2. Increment reloc_count rather than setting it. * elfcode.h (elf_slurp_symbol_table): Define name as macro. Remove static declaration. (elf_write_shdrs_and_ehdr): Define name as macro. (elf_write_out_phdrs): Likewise. (elf_swap_ehdr_in, elf_swap_ehdr_out): Declare. (elf_swap_shdr_in, elf_swap_shdr_out): Declare. (elf_swap_symbol_in): Change second parameter to be const. (elf_swap_symbol_out): Likewise. (elf_swap_ehdr_in, elf_swap_ehdr_out): Likewise. (elf_swap_shdr_in, elf_swap_shdr_out): Likewise. (elf_swap_phdr_in, elf_swap_phdr_out): Likewise. (elf_swap_reloc_in, elf_swap_reloc_out): Likewise. (elf_swap_reloca_in, elf_swap_reloca_out): Likewise. (elf_write_out_phdrs): Rename from write_out_phdrs. Change second parameter to be const. Make non-static. (elf_write_shdrs_and_ehdr): Rename from write_shdrs_and_ehdr. Make non-static. (elf_slurp_symbol_table): Make non-static. (NAME(_bfd_elf,size_info)): Update names of renamed functions. * elfxx-target.h (elf_info_to_howto): Define if not defined. (elf_backend_size_info): Likewise. (elfNN_bed): Use elf_backend_size_info. * targets.c (bfd_elf64_bigmips_vec): Declare. (bfd_elf64_littlemips_vec): Declare. (bfd_target_vector): Add bfd_elf64_bigmips_vec and bfd_elf64_littlemips_vec if BFD64 is defined.
1996-05-29 * scripttempl/elfmips.sc: Quote test -z argument.Ian Lance Taylor2-2/+4