aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1993-11-02 * config/obj-som.h (obj_frob_file): Define.Jeff Law2-0/+14
* config/obj-som.c (obj_som_init_stab_section): Set alignment of stab sections. Make space for the special stab entry. (adjust_stab_sections): Adjust the special entry in the stabs section. (som_frob_file): New function. Simply calls adjust_stab_sections for each section.
1993-11-02Fix a couple typos introduced by recent checkinsStan Shebs1-2/+2
1993-11-02 * symtab.c, symtab.h, source.c: Change find_line_pc_range to takeJim Kingdon3-30/+46
a struct symtab_and_line argument, rather than a symtab and a line. Re-write it to be based on the address rather than bogusly adding one to the line number and hoping that has something to do with the end of the line.
1993-11-01 * elfcode.h (elf_slurp_reloca_table, elf_slurp_reloc_table):Ian Lance Taylor1-0/+3
Handle symbol number of zero.
1993-11-01 * elf32-mips.c (mips_elf_hi16_reloc, mips_elf_lo16_reloc):Ian Lance Taylor1-0/+10
Rearrange _gp_disp checks slightly.
1993-11-01 * config/tc-mips.c (PIC_CALL_REG, SP, FP): Define.Ian Lance Taylor1-0/+27
(mips_pic, mips_cprestore_offset): New static variables. (md_pseudo_table): Handle .abicalls, .cpload, and .cprestore. Ignore .bgnb and .endb. (gp_reference): _gp_disp is never addressed off GP. (macro_build): Ignore macros while searching for insn. For cases i, j, and o, accept the reloc type as an argument rather than assuming BFD_RELOC_LO16. Don't try to convert BFD_RELOC_LO16 to BFD_RELOC_MIPS_GPREL. Added new case a. (set_at, load_register, macro): Changed calls to macro_build to pass new argument for i, j and o cases. (macro): Handle M_JAL_1, M_JAL_2 and M_JAL_A. These require special handling when generating SVR4 PIC code. (mips_ip, tc_get_register, s_frame): Use macros FP, SP, GP and AT rather than hard coded constants. (md_apply_fix): Handle BFD_RELOC_MIPS_LITERAL and BFD_RELOC_MIPS_CALL16. (s_option): Set mips_pic based on .option picN. (s_abicalls): New function; set mips_pic to 2. (s_cpload): New function; handle .cpload. (s_cprestore): New function; handle .cprestore. * config/obj-ecoff.c (obj_pseudo_table): Add entries for .bgnb, .endb and .verstamp, setting them to s_ignore.
1993-11-01 * mips.h (M_JAL_1, M_JAL_2, M_JAL_A): Added.Ian Lance Taylor1-1/+13
1993-11-01Change the stream argument to _filtered to GDB_FILE *.Thomas Lord121-1236/+1751
Change all references to stdout/stderr to gdb_stdout/gdb_stderr. Replace all calls to stdio output functions with calls to corresponding _unfiltered functions (`fprintf_unfiltered') Replaced calls to fopen for output to gdb_fopen. Added sufficient goo to utils.c and defs.h to make the above work. The net effect is that stdio output functions are only directly used in utils.c. Elsewhere, the _unfiltered and _filtered functions and GDB_FILE type are used. In the near future, GDB_FILE will stop being equivalant to FILE. The semantics of some commands has changed in a very subtle way: called in the right context, they may cause new occurences of prompt_for_continue() behavior. The testsuite doesn't notice anything like this, though. Please respect this change by not reintroducing stdio output dependencies in the main body of gdb code. All output from commands should go to a GDB_FILE. Target-specific code can still use stdio directly to communicate with targets.
1993-11-01 * reloc.c (enum bfd_reloc_code_real): AddedIan Lance Taylor1-5/+984
BFD_RELOC_MIPS_LITERAL, BFD_RELOC_MIPS_GOT16, BFD_RELOC_MIPS_CALL16, BFD_RELOC_MIPS_GPREL32. * bfd-in2.h: Rebuilt. * coff-mips.c (mips_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS_LITERAL. * elf32-mips.c (mips_reloc_map): Handle new relocs.
1993-11-01* config/m88k/m88k.mh (NATDEPFILES): Remove exec.o.Jim Kingdon2-1/+3
1993-11-01* Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.Jim Kingdon1-0/+11
1993-11-01 * paread.c (pa_symtab_read): Change comments to say ignoringJim Kingdon4-13/+44
labels really should be handled by the assembler/compiler. * Makefile.in: Add -O to CXXFLAGS. * TODO: Expand comments on fast watchpoints.
1993-11-01 * mmalloc.texi: Fix typo ("for for" -> "for").Jim Kingdon1-0/+11
1993-11-01* Makefile.in (CXXFLAGS): Add -O.Jim Kingdon2-3/+18
1993-11-01Remove v9-specific entryJim Kingdon1-5/+0
1993-11-01 * aout-target.h (MY_bfd_debug_info_start, MY_bfd_debug_info_end,Ian Lance Taylor1-0/+21
MY_bfd_debug_info_accumulat [sic]): Remove unused definitions. (MY_bfd_get_relocated_section_contents, MY_bfd_relax_section, MY_bfd_seclet_link): Define. (MY_bfd_reloc_type_lookup): Rename from MY_reloc_howto_type_lookup. (MY_bfd_make_debug_symbol): Rename from MY_make_debug_symbol. (MY(vec)): Use JUMP_TABLE rather than listing functions. * hp300hpux.c (MY_get_symtab, MY_get_symtab_upper_bound, MY_canonicalize_reloc, MY_write_object_contents): Don't define in terms of MY, because that causes a recusive invocation of CAT when expanded within JUMP_TABLE, and ANSI compilers don't expand recursive macros. * mipsbsd.c (MY_bfd_reloc_type_lookup): Rename from MY_reloc_howto_type_lookup, and don't define in terms of MY. (MY_canonicalize_reloc): Don't define in terms of MY. (aout_mips_little_vec, aout_mips_big_vec): Use JUMP_TABLE rather than listing functions.
1993-11-01Keep Lynx fileStan Shebs2-1/+3
1993-11-01Keep Sparc fileStan Shebs1-1/+2
1993-11-01Keep Sparc fileStan Shebs1-0/+1
1993-11-01Keep Lynx filesStan Shebs2-2/+6
1993-11-01* config.bfd: Use m68k-elf for m68*-*-sysv4*.Jim Kingdon2-12/+17
1993-11-01Fix typo in recent hange from using bfd target name to using the flavour.Jeff Law1-1/+1
1993-11-01 * paread.c (pa_symtab_read): Also filter out local symbols startingJeff Law1-0/+5
with "L$".
1993-11-01 * paread.c (pa_symtab_read): Also filter out local symbols startingJeff Law1-1/+2
with "L$".
1993-10-31 * values.c (unpack_long, unpack_double, value_from_double),Jim Kingdon1-1/+1
valarith.c (value_binop), stabsread.c (define_symbol): Use extract_floating and store_floating instead of SWAP_TARGET_AND_HOST.
1993-10-31 * symfile.h (sym_fns), symfile.c (find_sym_fns), xcoffread.c,Jim Kingdon1-1/+1
coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, paread.c: Change from using bfd target name to using the flavour.
1993-10-31Add missing entry for change by IanJim Kingdon1-0/+9
1993-10-31 * remote.texi (VxWorks Remote): Clarify that rebuilding VxWorks kernelJim Kingdon2-14/+17
is a mandatory step. Make the stuff about that more concise.
1993-10-31Keep Lynx filesStan Shebs1-1/+3
1993-10-31Keep Lynx filesStan Shebs3-0/+11
1993-10-31 * targets.c: Move enum target_flavour outside of struct and changeJim Kingdon2-40/+86
the name to enum bfd_flavour. This means bfd clients can use it. * bfd-in.h: Add macro bfd_get_flavour. * bfd-in2.h: Rebuilt.
1993-10-31 * symfile.h (sym_fns), symfile.c (find_sym_fns), xcoffread.c,Jim Kingdon9-45/+27
coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, paread.c: Change from using bfd target name to using the flavour.
1993-10-31 * config/tc-hppa.c (subspace_dictionary_chain): Add new ssd_definedJeff Law2-10/+33
field. Define SUBSPACE_DEFINED accessor macro. (pa_subspace): Allow user to override subspace attributes for built-in subspaces. Set ssd_defined at the end of fcn -- that way the attributes can only be changed once. Pass newly allocated name to is_defined_subspace, not a pointer to the input line. Fix typo in space/subspace rework. (is_defined_subspace): Delete unused 2nd arg. All callers changed. * config/tc-hppa.c (pa_import): If currently in the text segment and a symbol is imported without type information, set BSF_FUNCTION for the symbol.
1993-10-31 * paread.c: Remove comment about how we should use an "ordinary"Jim Kingdon1-2/+1
file format with an hppa suffix. There is nothing ordinary about SOM.
1993-10-31 * objfiles.h, infcmd.c, symfile.c: Add comments about how variousJim Kingdon4-5/+38
objfiles get created and when we should blow them away.
1993-10-31* som.c: Add comment about how abort() on corrupt executable is evil.Jim Kingdon1-0/+8
1993-10-31 * write.c (relax_and_size_seg): Correct test to determineJeff Law2-11/+17
if the section's size was rounded up.
1993-10-31 * config/obj-som.h (obj_set_symbol_type): Define a hook so GASJeff Law3-0/+43
can properly set all the SOM symbol types. * config/tc-hppa.c (pa_symbol_type): New enum to represent the symbol types which can be set from an IMPORT/EXPORT statement. (pa_export_args): Set the pa_symbol_type type based on arguments. If defined, call obj_set_symbol_type to pass this information on to the BFD backend.
1993-10-31 * read.c (get_stab_string_offset): Set SEC_DEBUGGING for anyJeff Law2-2/+9
stab section we make. (s_stab_generic): Likewise.
1993-10-31Allow backends to override the value of the "fake" label.Jeff Law1-0/+19
See ChangeLog for the details.
1993-10-31 * config/tc-i386.h (DOT_LABEL_PREFIX): Delete.Jeff Law1-2/+3
(LOCAL_LABEL, FAKE_LABEL_NAME): Define. * config/tc-m68k.h (DOT_LABEL_PREFIX): Delete. (LOCAL_LABEL, FAKE_LABEL_NAME): Define. * config/te-sco386.h (DOT_LABEL_PREFIX): Delete. (LOCAL_LABEL, FAKE_LABEL_NAME): Define.
1993-10-31 * config/tc-hppa.h (FAKE_LABEL_NAME): Define as L$0\001 so it'sJeff Law1-3/+1
known to be a local label.
1993-10-31 * expr.c (make_expr_symbol): Delete DOT_LABEL_PREFIX codeJeff Law2-54/+103
and instead simply use the string defined by FAKE_LABEL_NAME. (operand): Likewise. * read.c (s_stab_generic): Likewise.
1993-10-31 Rework space/subspace handling in PA code to fully supportJeff Law1-0/+24
SOM spaces/subspaces. * tc-hppa.c (USE_ALIASES): New object-format dependent define to control the use of space/subspace name aliases. (update_subspace): Accept space chain entry for containing space as a new parameter. All callers changed. (pa_get_label): Use current_space rather than pa_segment_to_space. (pa_define_label): Likewise. (pa_undefine_label): Likewise. (md_begin): Change into the (possibly modified) text_section. (pa_parse_space_stmt): Create a new segment/space if create_flag is true, and the space name is not one of the two predefined spaces. (pa_subspace): Use current_space rather than a lookup via pa_segment_to_space. Reset BFD section flags as required by the .subspace directive. Likewise for the section alignment. Pass the current space to update_subspace and create_new_subspace. (pa_spaces_begin): Only use space/subspace aliases if USE_ALIASES is true. When not using aliases, create a BFD section for each subspace encountered. When not using aliases replace the default text, data, and bss segments with new ones. (create_new_subspace): When not using aliases each subspace has a section/segment and subsegments are not needed, so set the subsegment to zero.
1993-10-31 Rework space/subspace handling in PA code to fully supportJeff Law1-48/+169
SOM spaces/subspaces. * config/tc-hppa.c (USE_ALIASES): New object-format dependent define to control the use of space/subspace name aliases. (update_subspace): Accept space chain entry for containing space as a new parameter. All callers changed. (pa_get_label): Use current_space rather than pa_segment_to_space. (pa_define_label): Likewise. (pa_undefine_label): Likewise. (md_begin): Change into the (possibly modified) text_section. (pa_parse_space_stmt): Create a new segment/space if create_flag is true, and the space name is not one of the two predefined spaces. (pa_subspace): Use current_space rather than a lookup via pa_segment_to_space. Reset BFD section flags as required by the .subspace directive. Likewise for the section alignment. Pass the current space to update_subspace and create_new_subspace. (pa_spaces_begin): Only use space/subspace aliases if USE_ALIASES is true. When not using aliases, create a BFD section for each subspace encountered. When not using aliases replace the default text, data, and bss segments with new ones. (create_new_subspace): When not using aliases each subspace has a section/segment and subsegments are not needed, so set the subsegment to zero.
1993-10-31 * gas/hppa/unsorted/unsorted.exp (ss_align): Remove OSF xfail.Jeff Law1-0/+6
* gas/hppa/more.parse/parse.exp: Add new test. * gas/hppa/more.parse/ssbug.s: New test to make sure non-default * sections are handled correctly.
1993-10-31 * gas/hppa/more.parse/parse.exp: Add new test.Jeff Law6-0/+32
* gas/hppa/more.parse/ssbug.s: New test to make sure non-default sections are handled correctly.
1993-10-30 * config/tc-hppa.c (pa_parse_space_stmt): If needed, callJeff Law2-0/+32
obj_set_section_attributes to pass space attributes to the BFD backend. (create_new_space): Likewise. (create_new_subspace): Likewise for subspace attributes using obj_set_subsection_attributes. (update_subspace): Likewise for subspace attributes using obj_set_subsection_attributes.
1993-10-30 * config/tc-hppa.c (pa_parse_space_stmt): Get segment and sort keyJeff Law2-5/+8
for $TEXT$ and $PRIVATE$ from the default space structure.
1993-10-30 * config/tc-hppa.c (pa_export_args): Always set BSF_FUNCTIONJeff Law2-2/+16
as appropriate for the given type.