aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
1993-10-30 * config/tc-hppa.c (tc_gen_reloc): Preliminary stab at handlingJeff Law2-17/+49
SOM relocations.
1993-10-30 * config/tc-hppa.c (pa_comm): Delete incorrect check for symbolJeff Law2-9/+13
redefinition.
1993-10-30 * config/obj-som.[ch]: New files for SOM support. Note SOMJeff Law1-0/+3
support is not yet complete in GAS or BFD.
1993-10-30 * config/obj-som.[ch]: New files for SOM support in GAS.Jeff Law3-0/+174
1993-10-30 * config/ho-hppabsd.h: Delete IO* macros, they are defined inJeff Law2-19/+29
stdio.h. Delete declaration of free. Include stdlib.h, unistd.h, and string.h.
1993-10-30 * gas/all/gas.exp: Disable (and fail) p1480.s for all PA targets.Jeff Law1-0/+9
1993-10-30 * symfile.c (reread_symbols): When re-reading symbols, do all theJim Kingdon11-204/+270
right operations ourself, rather than calling symbol_file_command. If we re-read something, call clear_symtab_users not just breakpoint_re_set. * objfiles.h, objfiles.c (build_objfile_section_table): No longer static. * symfile.c (clear_symtab_users): Call clear_pc_function_cache. * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, paread.c (*_symfile_offsets): Set objfile->num_sections. * remote.c (remote_wait), symfile.c (syms_from_objfile): Don't muck with objfile->num_sections now that all the symbol readers set it. * elfread.c: Clean up obsolete comment about handling only DWARF. * paread.c: Remove comment about how we should use an "ordinary" file format with an hppa suffix. There is nothing ordinary about SOM.
1993-10-30 * config/i386/{i386m3.mh,i386mk.mh}, config/mips/mipsm3.mh,Jim Kingdon5-9/+9
config/ns32k/ns32km3.mh: Change MMALLOC_LIB to MMALLOC. * TODO: Update Mach stuff.
1993-10-30 * config/obj-coffbfd.c (obj_coff_init_stab_section): Append "str"Jeff Law1-1/+5
to stab section name to get the stab string section name. Pass the full name of the stab string section to get_stab_string_offset. * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1993-10-30put objcopy in alphabetical orderDavid MacKenzie1-86/+86
1993-10-30More LynxOS supportStan Shebs22-32/+993
1993-10-29 * gas/hppa/more.parse/parse.exp: Fix typos.Jeff Law2-4/+4
1993-10-29 * gas/hppa/more.parse/calldatabug.s: Colonize.Jeff Law1-10/+10
1993-10-29use xmalloc instead of mallocDavid MacKenzie1-0/+4
1993-10-29 * config/tc-hppa.c (md_begin): Disable "-R" option to foldJeff Law1-0/+6
text and data segments. Warn user "-R" is unsupported on the PA.
1993-10-29Back out of last change. Instead:Jeff Law1-4/+3
* config/tc-hppa.c (md_begin): Disable "-R" option to fold text and data segments. Warn user "-R" is unsupported on the PA.
1993-10-29 * as.c (main): Disable "-R" option if NO_FOLD_DATA_AND_TEXTJeff Law1-0/+7
is defined. * config/tc-hppa.h (NO_FOLD_DATA_AND_TEXT): Define. Folding of text and data segments fails miserably on the PA.
1993-10-29 * config/tc-hppa.h (NO_FOLD_DATA_AND_TEXT): Define. FoldingJeff Law1-0/+4
of text and data segments fails miserably on the PA.
1993-10-29 * as.c (main): Disable "-R" option if NO_FOLD_DATA_AND_TEXTJeff Law1-19/+30
is defined.
1993-10-29* TODO: Add idea for "disassemble" with source.Jim Kingdon1-1/+2
1993-10-29mach 386 changesDavid MacKenzie2-0/+2
1993-10-29testDavid MacKenzie1-0/+1
1993-10-29testDavid MacKenzie1-1/+1
1993-10-29 * ld.h (flag_is_*): Removed macros.Ian Lance Taylor2-5/+12
* ldmain.c (enter_global_ref), ldsym.c (write_file_locals): Consistently check the BFD symbol flags directly, rather than using file_is_* macros.
1993-10-29 * defs.h, findvar.c (extract_floating, store_floating): New functions.Jim Kingdon7-107/+95
* Move SWAP_TARGET_AND_HOST from defs.h to findvar.c because it is now used only by extract_floating and store_floating. * valprint.c (print_floating): Use unsigned arithmetic. Use extract_unsigned_integer instead of SWAP_TARGET_AND_HOST. Change sizeof (float) to 4 and sizeof (double) to 8 (those are always the relevant sizes for this code, which is in #ifdef IEEE_FLOAT). * values.c (unpack_long, unpack_double, value_from_double), valarith.c (value_binop), stabsread.c (define_symbol): Use extract_floating and store_floating instead of SWAP_TARGET_AND_HOST. * config/m68k/tm-m68k.h, config/i960/tm-i960.h (REGISTER_CONVERT_*): Use extract_floating and store_floating. * config/m88k/tm-m88k.h: Add comments (it should be doing the same). * i386-tdep.c (i386_extract_return_value), * remote-nindy.c (nindy_store_registers): Use store_floating.
1993-10-29Rename a variable that conflicts with LynxStan Shebs2-14/+20
1993-10-29 * bfd-in.h: Added commands for object file flag values.Ian Lance Taylor2-1/+17
* bfd-in2.h: Rebuilt. * elfcode.h (elf_object_p): If type is ET_DYN, set DYNAMIC flag, not EXEC_P. * bout.c, coff-h8300.c, coff-sh.c: Add BFD_IS_RELAXABLE to object_flags field for target vector. * aix386-core.c, aout-adobe.c, aout-target.h, bout.c, coff-a29k.c, coff-alpha.c, coff-apollo.c, coff-h8300.c, coff-h8500.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c, coff-mips.c, coff-rs6000.c, coff-sh.c, coff-we32k.c, coff-z8k.c, hpux-core.c, ieee.c, mipsbsd.c, nlm-target.h, oasys.c, osf-core.c, som.c, srec.c, tekhex.c, trad-core.c: Remove DYNAMIC from object_flags field for target vector.
1993-10-29 * remote-sim.c (gdbsim_store_register): Change var name soSteve Chamberlain2-4/+9
it compiles with non-ANSI compilers.
1993-10-29initial mach3 386 support (not working yet)David MacKenzie1-0/+5
1993-10-29* TODO: Add idea for "disassemble" with source.Jim Kingdon2-0/+7
1993-10-29 * Makefile.in (VERSION): Bump to 4.11.1 after release and cvsFred Fish2-1/+6
tagging.
1993-10-29 * gas/hppa/{basic, more.parse, reloc, unsorted}: New directories.Jeff Law1-3/+3
* gas/hppa/*/*.exp: New test drivers. * gas/hppa/*/*.s: New test files.
1993-10-29Unsorted PA tests.Jeff Law4-0/+105
1993-10-29Quick description of test directory contents.Jeff Law1-0/+34
1993-10-29Relocation tests for the PA.Jeff Law7-0/+250
1993-10-29Additional parsing tests for PA gas.Jeff Law40-0/+13828