aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-hppa.c
AgeCommit message (Collapse)AuthorFilesLines
2005-11-25 Bug gas/1896Dave Anglin1-17/+2
* config/tc-hppa.c (hppa_fix_adjustable): Don't reject for reduction R_HPPA relocations that are 32-bits wide. * gas/all/redef2.d: Allow "$DATA$" as well as ".data" in matches. * gas/all/weakref1.d: Allow "$CODE$" as well as ".text" in matches. * gas/hppa/reloc/reloc.exp: Adjust regexp for new output.
2005-11-16 * config/tc-hppa.c (pa_comm): Set bfd_com_section segment.Alan Modra1-1/+1
2005-11-07 PR gas/1804Dave Anglin1-6/+13
* config/tc-hppa.c (md_apply_fix): Use number_to_chars_bigendian to output constant data.
2005-10-13 PR binutils/941Dave Anglin1-1/+2
* config/tc-hppa.c (pa_ip): Use as_bad instead of as_fatal when an unknown opcode is found.
2005-10-08 * config/tc-hppa.c (strict): Don't initialize. Update comment.Dave Anglin1-36/+20
(pa_ip): Promote from PA 1.0 to 1.1 immediately when 1.1 match is found. Simplify handling of "ma" and "mb" completers. * hppa.h (FLAG_STRICT): Revise comment. (pa_opcode): Revise ordering rules. Add/move strict pa10 variants before corresponding pa11 opcodes. Add strict pa10 register-immediate entries for "fdc".
2005-09-20 * dwarf2dbg.c (struct line_entry): Replace frag and frag_ofsRichard Henderson1-0/+4
with label. (dwarf2_loc_mark_labels): New. (dwarf2_gen_line_info_1): Split out of ... (dwarf2_gen_line_info): ... here. Create the temp symbol here. (dwarf2_emit_label): New. (dwarf2_directive_loc_mark_labels): New. (out_set_addr): Take a symbol instead of frag+ofs. (relax_inc_line_addr): Likewise. (emit_inc_line_addr): Assert delta non-negative. (process_entries): Remove dead code. Update to work with temp symbols instead of frag+ofs. * dwarf2dbg.h (dwarf2_directive_loc_mark_labels): Declare. (dwarf2_emit_label, dwarf2_loc_mark_labels): Declare. * config/obj-elf.c (elf_pseudo_tab): Add loc_mark_labels. * config/obj-elf.h (obj_frob_label): New. * config/tc-alpha.c (alpha_define_label): Call dwarf2_emit_label. * config/tc-arm.c, config/tc-hppa.c, config/tc-m68k.c, config/tc-mips.c, config/tc-ppc.c, config/tc-sh.c, config/tc-xtensa.c: Similarly in the respective tc_frob_label implementation functions. * config/tc-i386.c (md_pseudo_table): Move file and loc to non-elf section; add loc_mark_labels. * config/tc-ia64.c (struct label_fix): Add dw2_mark_labels. (ia64_flush_insns): Check for marked labels; emit line entry if so. (emit_one_bundle): Similarly. (ia64_frob_label): Record marked labels. * config/tc-m68hc11.h (tc_frob_label): Remove. * config/tc-ms1.c (md_pseudo_table): Remove file and loc. * config/tc-sh.h (tc_frob_label): Pass sym to sh_frob_label. * config/tc-sh64.h (tc_frob_label): Likewise. * doc/as.texinfo (LNS directives): Docuement .loc_mark_blocks.
2005-07-19 * tc-hppa.c (pa_ip): Reject match for '#' immediate if not pa20.Dave Anglin1-0/+2
2005-07-17 * config/tc-hppa.c (pa_ip): Search entire mnemonic before consideringDave Anglin1-2/+20
promoted match.
2005-06-10 * config/tc-hppa.c (pa_block): Allocate just one byte for theAlan Modra1-18/+5
fill pattern.
2005-06-07gas:Zack Weinberg1-2/+2
* cgen.c, cgen.h, tc.h, write.c, config/obj-coff.c * config/tc-a29k.c, config/tc-alpha.c, config/tc-alpha.h * config/tc-arc.c, config/tc-arc.h, config/tc-arm.c * config/tc-arm.h, config/tc-avr.c, config/tc-avr.h * config/tc-cris.c, config/tc-crx.c, config/tc-d10v.c * config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h * config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.h * config/tc-frv.c, config/tc-frv.h, config/tc-h8300.c * config/tc-h8500.c, config/tc-hppa.c, config/tc-hppa.h * config/tc-i370.c, config/tc-i370.h, config/tc-i386.c * config/tc-i386.h, config/tc-i860.c, config/tc-i860.h * config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c * config/tc-ip2k.c, config/tc-ip2k.h, config/tc-iq2000.c * config/tc-iq2000.h, config/tc-m32r.c, config/tc-m32r.h * config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c * config/tc-m68k.h, config/tc-m88k.c, config/tc-maxq.c * config/tc-mcore.c, config/tc-mcore.h, config/tc-mips.c * config/tc-mips.h, config/tc-mmix.c, config/tc-mn10200.c * config/tc-mn10300.c, config/tc-msp430.c, config/tc-ns32k.c * config/tc-openrisc.h, config/tc-or32.c, config/tc-or32.h * config/tc-pdp11.c, config/tc-pj.c, config/tc-pj.h * config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c * config/tc-s390.h, config/tc-sh64.c, config/tc-sh.c * config/tc-sh.h, config/tc-sparc.c, config/tc-sparc.h * config/tc-tahoe.c, config/tc-tic30.c, config/tc-tic4x.c * config/tc-tic54x.c, config/tc-tic80.c, config/tc-v850.c * config/tc-v850.h, config/tc-vax.c, config/tc-vax.h * config/tc-w65.c, config/tc-xstormy16.c, config/tc-xstormy16.h * config/tc-xtensa.c, config/tc-z8k.c: Replace all instances of the string "_apply_fix3" with "_apply_fix". * po/POTFILES.in, po/gas.pot: Regenerate. bfd: * coff-i386.c: Change md_apply_fix3 to md_apply_fix in comment. cgen: * doc/porting.texi: Change all mention of md_apply_fix3 and gas_cgen_md_apply_fix3 to md_apply_fix and gas_cgen_md_apply_fix respectively.
2005-05-22 * config/tc-hppa.c (pa_ip): Promote architecture from PA 1.0 to 1.1Dave Anglin1-14/+12
only if an instruction match is found.
2005-05-10gas/Michael Matz1-0/+6
* frags.c (frag_grow): Don't be too greedy in allocating memory. * config/tc-hppa.c (pa_block): Check arguments to .block[z]. gas/testsuite/ * gas/hppa/parse/block1.s: Use official limit (0x3fffffff) for .block.
2005-05-05Update the address and phone number of the FSFNick Clifton1-2/+2
2005-04-12PR gas/818Nick Clifton1-4/+5
* config/tc-hppa.c (pre_defined_registers): Fix %farg[0-3] synonyms.
2005-03-03update copyright datesAlan Modra1-1/+1
2004-07-20 * config/obj-som.c (adjust_stab_sections): Add prototype.Dave Anglin1-7/+12
(obj_som_compiler, obj_som_version, obj_som_copyright, adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments. * config/tc-hppa.c (update_subspace): Likewise. (is_defined_subspace): Amplify comment. * config/obj-som.h (som_frob_file): Add prototype.
2004-06-11 * config/tc-hppa.c (log2): Rename to exact_log2.Dave Anglin1-21/+13
(pa_next_subseg): Delete unused function. (create_new_space): Mark unused arguments with ATTRIBUTE_UNUSED. (create_new_subspace): Likewise.
2004-06-11 Bug gas/213Dave Anglin1-2/+9
* config/tc-hppa.c (hppa_fix_adjustable): Allow reduction of fake labels. Fix warning.
2004-04-28 * som.c (struct som_misc_symbol_info): Add is_comdat, is_common andDave Anglin1-24/+45
dup_common fields. (setup_sections): Use som_subspace_dictionary_record struct instead subspace_dictionary_record. Set SEC_LINK_ONCE if subspace is is_comdat, is_common or dup_common. (som_prep_headers): Use som_subspace_dictionary_record struct. Set is_comdat, is_common and dup_common in section subspace_dict from copy_data. (som_begin_writing): Use som_subspace_dictionary_record struct. (som_finish_writing): Likewise. (som_bfd_derive_misc_symbol_info): Add support to set is_comdat, is_common and dup_common flags in info for symbol. Add comment regarding linker support for these fields. Slightly reorganize function. (som_build_and_write_symbol_table): Set is_comdat, is_common and dup_common fields in symbol table from symbol info. (bfd_som_set_subsection_attributes): Add comdat, common and dup_common arguments. Set corresponding fields in copy_data. Change all callers. (som_bfd_ar_write_symbol_stuff): Set dup_common flag in library symbol table. (som_vec): Add SEC_LINK_ONCE to applicable section flags. * som.h (som_subspace_dictionary_record): Define. (som_copyable_section_data_struct): Add is_comdat, is_common and dup_common fields. (som_section_data_struct): Use som_subspace_dictionary_record struct instead of subspace_dictionary_record. (bfd_boolean bfd_som_set_subsection_attributes): Adjust prototype. * config/obj-som.c (obj_som_init_stab_section): Add new arguments in call to obj_set_subsection_attributes. (obj_som_init_stab_section): Likewise. * config/tc-hppa.c (default_subspace_dict): Add comdat field. (pa_def_subspaces): Provide comdat default. (pa_subspace): Handle new "comdat" parameter. Set SEC_LINK_ONCE and not SEC_IS_COMMON if section is comdat, common or dup_common. Update calls to create_new_subspace and update_subspace to pass comdat flag. (create_new_subspace, update_subspace): Add new comdat argument. Use it in calls to obj_set_subsection_attributes. * doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter and use of comdat, common and dup_comm parameters.
2004-03-19 * elf-hppa.h (elf_hppa_reloc_final_type): Handle selectors forDave Anglin1-0/+3
R_PARISC_PCREL32 and R_PARISC_PCREL64 relocations. * tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type. (pa_comm): Set BSF_OBJECT in symbol flags.
2003-11-22 * config/tc-a29k.h: Fix comment typos.Kazu Hirata1-1/+1
* config/tc-arm.c: Likewise. * config/tc-dlx.h: Likewise. * config/tc-hppa.c: Likewise. * config/tc-i386.c: Likewise. * config/tc-m32r.c: Likewise. * config/tc-m68hc11.c: Likewise. * config/tc-m68k.c: Likewise. * config/tc-m88k.c: Likewise. * config/tc-mcore.c: Likewise. * config/tc-mips.c: Likewise. * config/tc-mmix.c: Likewise. * config/tc-msp430.c: Likewise. * config/tc-ns32k.c: Likewise. * config/tc-or32.c: Likewise. * config/tc-or32.h: Likewise. * config/tc-pj.c: Likewise. * config/tc-ppc.c: Likewise. * config/tc-s390.c: Likewise. * config/tc-sh64.c: Likewise. * config/tc-sh.c: Likewise. * config/tc-sparc.c: Likewise.
2003-11-21 * config/tc-hppa.c: Fix comment typos.Kazu Hirata1-24/+24
* config/tc-i370.c: Likewise. * config/tc-i386.c: Likewise. * config/tc-i386.h: Likewise. * config/tc-i960.c: Likewise. * config/tc-ia64.c: Likewise. * config/tc-iq2000.h: Likewise.
2003-10-06Change target of hppa-netbsd portNick Clifton1-7/+20
2003-09-27 * config/tc-hppa.c (pa_ip): Check for invalid 64-bit conditions.Dave Anglin1-7/+5
2003-05-21 * config/tc-hppa.c (hppa_symbol_chars): Remove `,' and `!'.Dave Anglin1-2/+4
* testsuite/gas/hppa/parse/parse.exp: Add "space.s". * testsuite/gas/hppa/parse/space.s: New file to test spaces.
2003-05-21Move .file and .loc pseudo ops into obj-elf.cNick Clifton1-6/+0
2003-04-28* config/tc-hppa.c (hppa_symbol_chars): New.Nick Clifton1-0/+3
* config/tc-hppa.h (tc_symbol_chars): Likewise.
2003-01-23 * symbols.c (S_FORCE_RELOC): Add "strict" param.Alan Modra1-2/+2
* symbols.h (S_FORCE_RELOC): Likewise. * config/obj-aout.h (S_FORCE_RELOC): Likewise. * config/obj-bout.h (S_FORCE_RELOC): Likewise. * config/obj-coff.h (S_FORCE_RELOC): Likewise. * config/obj-ieee.h (S_FORCE_RELOC): Likewise. * config/obj-vms.h (S_FORCE_RELOC): Likewise. * write.c (generic_force_reloc): New function. (TC_FORCE_RELOCATION): Use it here instead of S_FORCE_RELOC. (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too. (adjust_reloc_syms): Adjust S_FORCE_RELOC call. * as.h (generic_force_reloc): Declare. * doc/internals.texi (S_FORCE_RELOC): Update. (TC_FORCE_RELOCATION_SUB_SAME): Update. * config/tc-alpha.c (alpha_force_relocation): Adjust to use generic_force_reloc. (alpha_fix_adjustable): Likewise. * config/tc-arm.c (arm_force_relocation): Likewise. * config/tc-cris.c (md_cris_force_relocation): Likewise. * config/tc-frv.c (frv_force_relocation): Likewise. * config/tc-i386.c (md_apply_fix3): Likewise. * config/tc-ia64.c (ia64_force_relocation): Likewise. * config/tc-ip2k.c (ip2k_force_relocation): Likewise. * config/tc-m32r.c (m32r_force_relocation): Likewise. * config/tc-m68hc11.c (tc_m68hc11_force_relocation): Likewise. * config/tc-mcore.c (mcore_force_relocation): Likewise. * config/tc-mips.c (mips_force_relocation): Likewise. * config/tc-mmix.c (mmix_force_relocation): Likewise. * config/tc-ppc.c (ppc_force_relocation): Likewise. * config/tc-s390.c (tc_s390_force_relocation): Likewise. * config/tc-sh.c (sh_force_relocation): Likewise. (md_pcrel_from_section): Likewise. * config/tc-sparc.c (tc_gen_reloc): Likewise. * config/tc-v850.c (v850_force_relocation): Likewise. * config/tc-xstormy16.c (xstormy16_force_relocation): Likewise. * config/tc-i386.h (TC_FORCE_RELOCATION): Likewise. * config/tc-mcore.h (TC_FORCE_RELOCATION): Likewise. * config/tc-sparc.h (tc_fix_adjustable): Likewise. * config/tc-d10v.c (d10v_force_relocation): Delete. * config/tc-d10v.h (TC_FORCE_RELOCATION): Don't define. * config/tc-dlx.c (md_dlx_force_relocation): Delete. * config/tc-dlx.h (TC_FORCE_RELOCATION): Don't define. * config/tc-fr30.c (fr30_force_relocation): Delete. * config/tc-fr30.h (TC_FORCE_RELOCATION): Don't define. * config/tc-mn10300.c (mn10300_force_relocation): Delete. * config/tc-mn10300.h (TC_FORCE_RELOCATION): Don't define. (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too. * config/tc-i960.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise. * config/tc-hppa.c (hppa_force_relocation): Adjust S_FORCE_RELOC call. * config/tc-mips.c (RELAX_BRANCH_TOOFAR): Warning fix. * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Don't define. * config/tc-openrisc.c (openrisc_force_relocation): Delete. * config/tc-openrisc.h (TC_FORCE_RELOCATION): Don't define. * config/tc-sparc.c (elf32_sparc_force_relocation): Delete. * config/tc-sparc.h (TC_FORCE_RELOCATION): Don't define for ELF. * config/tc-i386.c (i386_force_relocation): Delete. * config/tc-i386.h (TC_FORCE_RELOCATION): Don't define for BFD_ASSEMBLER. (EXTERN_FORCE_RELOC): Fix TE_PE and STRICT_PE_FORMAT nesting. * config/tc-m68k.h (TC_FORCE_RELOCATION): Don't define. * config/tc-pj.h (TC_FORCE_RELOCATION): Don't define. * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Don't call S_FORCE_RELOC. (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too. * config/tc-sh64.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise.
2002-11-30s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. SimplifyAlan Modra1-3/+3
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
2002-09-09 * config/tc-hppa.c (md_apply_fix3): Don't set fx_done forJeff Law1-3/+3
marker relocations such as ENTRY/EXIT. * config/tc-hppa.h (MD_APPLY_SYM_VALUE): Definition applies to both OBJ_ELF and OBJ_SOM.
2002-09-05gas reloc rewrite.Alan Modra1-17/+2
2002-08-20 * config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): Cast.Alan Modra1-1/+1
* config/tc-frv.c: Likewise. * config/tc-hppa.c: Likewise. * config/tc-ia64.c: Likewise. * config/tc-ip2k.c: Likewise. * config/tc-m68hc11.c: Likewise. * config/tc-m68k.c: Likewise. * config/tc-mmix.c: Likewise. * config/tc-mn10300.c: Likewise. * config/tc-sh.c: Likewise. * config/tc-sparc.c: Likewise. * config/tc-v850.c: Likewise.
2002-06-06 * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME.Jeff Law1-12/+24
(hppa_force_relocation): Check if a stub just before the start symbol of the last call_info is reachable before forcing relocation. Fix typo.
2002-05-09 * config/obj-coff.c: Fix formatting.Kazu Hirata1-13/+13
* config/obj-elf.c: Likewise. * config/tc-alpha.c: Likewise. * config/tc-arm.c: Likewise. * config/tc-d10v.c: Likewise. * config/tc-d30v.c: Likewise. * config/tc-h8300.c: Likewise. * config/tc-hppa.c: Likewise.
2002-03-052002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>Jeff Law1-18/+4
* config/tc-hppa.c (md_apply_fix3): Add cast. (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and e_rrsel.
2002-02-25 * config/tc-hppa.c: Update copyright date.Alan Modra1-2/+2
2002-02-12 * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final typesAlan Modra1-3/+54
that implicitly use LR and RR selectors.
2001-12-31 * config/tc-hppa.c (pa_ip): Handle new 'c' mode completers,Jeff Law1-2/+5
'X', 'M', and 'A'.
2001-11-162001-11-15 H.J. Lu <hjl@gnu.org>H.J. Lu1-1/+1
* config/tc-hppa.c (md_apply_fix3): Fix a typo.
2001-11-15Update all uses of md_apply_fix to use md_apply_fix3. Make it a void function.Nick Clifton1-20/+23
2001-10-11 * config/tc-alpha.c: Fix comment typos.Kazu Hirata1-2/+2
* config/tc-cris.c: Likewise. * config/tc-hppa.c: Likewise. * config/tc-i370.c: Likewise. * config/tc-mips.c: Likewise. * config/tc-mn10200.c: Likewise. * config/tc-mn10300.c: Likewise. * config/tc-sh.c: Likewise. * config/tc-tahoe.c: Likewise. * config/tc-v850.c: Likewise.
2001-09-19Locale changes from Bruno Haible <haible@clisp.cons.org>.H.J. Lu1-18/+19
2001-07-23 * config/tc-alpha.h: Fix formatting.Kazu Hirata1-11/+11
* config/tc-arc.c: Likewise. * config/tc-d10v.h: Likewise. * config/tc-hppa.c: Likewise. * config/tc-i370.c: Likewise. * config/tc-i386.h: Likewise. * config/tc-i960.h: Likewise. * config/tc-ia64.c: Likewise. * config/tc-ia64.h: Likewise. * config/tc-m32r.c: Likewise. * config/tc-m68k.c: Likewise. * config/tc-m88k.c: Likewise. * config/tc-ns32k.c: Likewise. * config/tc-pdp11.c: Likewise. * config/tc-pj.h: Likewise. * config/tc-s390.c: Likewise. * config/tc-sparc.c: Likewise. * config/tc-sparc.h: Likewise. * config/tc-tic80.c: Likewise. * config/tc-w65.h: Likewise.
2001-07-23 * config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): RemoveAlan Modra1-50/+32
"isbranch" param as all calls have it set. (pa_parse_neg_cmpsub_cmpltr): Likewise. (pa_parse_nonneg_add_cmpltr): Likewise. Remember result of strcasecmp in "nullify" var. (pa_parse_neg_add_cmpltr): Likewise. (pa_ip): Don't "save_s" unnecessarily. Update calls to above functions. Don't print wrong conditions in error messages.
2001-06-22Add %mrp (millicode return pointer) alias for %r2 or %r31, depending on 32 orNick Clifton1-0/+5
64 bit architecture.
2001-06-21 * config/tc-hppa.c (CHECK_FIELD_WHERE): Define.Alan Modra1-14/+40
(md_apply_fix): Use it here. Replace printf with equivalent as_bad_where. (tc_gen_reloc): Use as_bad_where instead of as_bad. (md_apply_fix): Here too. * config/tc-i386.c (tc_gen_reloc): Use as_bad_where instead of as_bad. * config/tc-m68k.c (tc_gen_reloc): Likewise. (md_convert_frag_1): Likewise.
2001-03-28Default hppa64 to ".level 2.0w"Alan Modra1-1/+7
2001-03-08Fix copyright noticesNick Clifton1-1/+1
2001-02-08(pa_build_unwind_subspace): Don't callAlan Modra1-2/+2
md_number_to_chars with size > sizeof (valueT).
2001-02-06Fix unwind info when cross-compiling from little-endian machines.Alan Modra1-37/+61