summaryrefslogtreecommitdiff
path: root/gas/dw2gencfi.c
Commit message (Collapse)AuthorAgeFilesLines
...
* * dw2gencfi.c (cfi_finish): Set .eh_frame read-only.Richard Henderson2003-06-051-1/+1
|
* * read.c (emit_expr): Set dot_value.Alan Modra2003-06-021-9/+1
| | | | * dw2gencfi.c (output_fde): Remove pcrel reloc hack.
* * dw2gencfi.c (output_fde): Use fix_new to emit pc-relative reloc.Richard Henderson2003-05-311-1/+16
| | | | | | | | | (cfi_finish): Set flag_traditional_format around .eh_frame data. * gas/alpha/elf-reloc-8.d: Correct .eh_frame relocs. * gas/cfi/cfi-alpha-2.d: New. * gas/cfi/cfi-alpha-2.s: New. * gas/cfi/cfi.exp: Run it.
* * dw2gencfi.c, dw2gencfi.h: Rewrite from scratch.Richard Henderson2003-05-271-627/+597
| | | | | | | | | | | | | | | | | | | | * as.c (main): Always call cfi_finish. * config/tc-i386.c (x86_dwarf2_return_column): New. (x86_cie_data_alignment): New. (md_begin): Set them. (tc_x86_cfi_init): Remove. (tc_x86_regname_to_dw2regnum): Fix 32-bit register numbers; return int, not unsigned long; don't as_bad here. (tc_x86_frame_initial_instructions): Streamline; use updated api. * config/tc-i386.h (tc_cfi_init): Remove. (DWARF2_DEFAULT_RETURN_COLUMN): New. (DWARF2_CIE_DATA_ALIGNMENT): New. * gas/cfi/cfi-i386.d: Update for dw2gencfi rewrite. * gas/cfi/cfi-x86_64.d: Likewise. * gas/cfi/cfi-i386-2.d: New. * gas/cfi/cfi-i386-2.s: New.
* Fix dw3gencfi.c so that it will build on targets that do not define ↵Nick Clifton2003-05-211-4/+11
| | | | BFD_ASSEMBLER.
* 2003-05-20 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2003-05-201-35/+134
| | | | | | | | | | | | | | * as.c (main): Remove tc_cfi_init(). * dw2gencfi.c (cfi_parse_arg): Allow regnames beginning with '%'. (cfi_pseudo_table): Add "cfi_register" entry. (cfi_make_insn): Handle CFA_register. (cfi_output_insn): Ditto. (dot_cfi): Ditto. (cfi_get_label): Add 'simple' modifier to .cfi_startproc. (dot_cfi_endproc): Reuse already emitted CIEs. * testsuite/gas/cfi/cfi-i386.d: New pattern. * testsuite/gas/cfi/cfi-x86-64.d: Ditto.
* * dw2gencfi.c (cfi_parse_arg): Only use tc_regname_to_dw2regnum ifAlan Modra2003-05-201-2/+5
| | | | | defined. (dot_cfi_endproc): Avoid C99 construct.
* * dw2gencfi.c, dw2gencfi.h: New files.Alan Modra2003-05-201-0/+721
* config/tc-i386.c (tc_x86_cfi_init): New function. * config/tc-i386.h (TARGET_USE_CFIPOP, tc_cfi_init): New defines. * as.c (parse_args): Set verbose flag on --verbose. (main): Call tc_cfi_init()/cfi_finish(). * as.h (verbose): New external variable. * read.c (pobegin): Insert CFI pops to the list. * symbols.c (local_symbol_make): Make symbol external. * symbols.h (local_symbol_make): New prototype. * Makefile.am: Add dw2gencfi.[ch] files. Run "make dep-am". * Makefile.in: Regenerate. * doc/as.texinfo: Added node "CFI directives" with description of all implemented .cfi_* directives. * doc/Makefile.in: Regenerate. * po/POTFILES.in: Regenerate.