aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1993-11-05 * write.c (chain_frchains_together): Update pointer to lastJeff Law2-3/+16
frag for a segment in the seginfo structure.
1993-11-04Changed RUNTESTFLAGS to RUNTEST_FLAGSJeffrey Wheat3-2/+36
1993-11-03 * tc-hppa.c: Add %dp and %rp as synonyms for %r27 and %r2 in theJeff Law2-10/+37
predefined register table. (pa_parse_number): Handle %rp in common register shortcut code. Consistently set return value to -1 for an error. Clean up error messages and only print them when "print_errors" is true. Handle empty string case like the HP assembler -- assume a value of zero.
1993-11-03 * gas/hppa/more.parse/{defbug.s, stdreg.s}: New tests.Jeff Law8-0/+110
* gas/hppa/more.parse/parse.exp: Run them.
1993-11-02log my expr.c changeKen Raeburn1-0/+5
1993-11-02 * config/ho-hpux.h: Do not include ho-sysv.h. Instead includeJeff Law1-0/+3
standard hpux include files to pick up various function decls.
1993-11-02 * config/ho-hpux.h: Do not include ho-sysv.h. Instead includeJeff Law1-2/+9
standard hpux include files to pick up various function decls.
1993-11-02 * config/tc-sparc.c (sparc_ip): Add default case to reloc switch.Ian Lance Taylor1-0/+4
1993-11-02 * read.c (s_lcomm): Put small objects in .sbss for MIPS ELF asIan Lance Taylor2-3/+8
well as MIPS ECOFF. (get_stab_string_offset): Remove unused variable aligned.
1993-11-02 * config/ho-hppaosf.h: Delete _IO* macros. They are defined inJeff Law1-0/+6
stdio.h. Delete bogus declaration of free. Get path to alloca-conf.h right.
1993-11-02 * config/ho-hppaosf.h: Delete _IO* macros. They are defined inJeff Law1-21/+4
stdio.h. Delete bogus declaration of free. Get path to alloca-conf.h right.
1993-11-02Fix tipo in comment.Ian Lance Taylor1-1/+1
1993-11-02 * config/obj-som.h (obj_attach_unwind_info): Define as a hookJeff Law2-6/+73
so GAS can attach unwind descriptor information to a BFD symbol. * config/tc-hppa.c (fix_new_hppa): If necessary attach unwind descriptor information to the BFD symbol. (md_apply_fix): R_HPPA_ENTRY and R_HPPA_EXIT can never be "applied", they are simply markers. Make R_HPPA_UNWIND_* handling OBJ_ELF dependent. (pa_build_unwind_subspace): Whole function is OBJ_ELF dependent. (pa_entry): Build a R_HPPA_ENTRY relocation when configured for SOM. (pa_exit): Likewise, but built a R_HPPA_EXIT relocation. Do not build "end-of-function" symbols for SOM, they are not needed.
1993-11-02 * gas/hppa/reloc/reloc.exp (reloc_reduce): Correct offsets atJeff Law1-1/+6
which specific relocations are expected to be found.
1993-11-02 * config/tc-hppa.c (process_exit): Create temporary symbols withJeff Law2-2/+5
correct prefixes so they can be eliminated later.
1993-11-02 * config/tc-hppa.c (call_info struct): Delete unused "frame" field.Jeff Law2-7/+10
(pa_callinfo): Insert framesize into the unwind information as soon as it's available. (pa_build_unwind_subspace): Do not insert framesize into the unwind information here.
1993-11-02 * Add support for marker type relocations. These mark areasJeff Law2-4/+11
of interest to the linker. ENTRY/EXIT relocations for SOM are an example of marker relocations. * write.c (write_relocs): Instead of assuming size of a relocation is 4 bytes, pick up the size from relocation itself. (fixup_segment): Do not complain that a value is too small for marker relocations.
1993-11-02 * struc-symbol.h: Add new "sy_used" field to the symbol structure.Jeff Law2-0/+14
* expr.c (operand): Set sy_used for any symbol used as an operand. (expr): Likewise for any symbol used in an expression. * config/tc-hppa.h (tc_frob_symbol): Define. Punt imported symbols which are never used and absolute symbols which local scope.
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-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-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 * 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 * 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-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-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 * 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.