Changeset 297 for trunk/src/emx
- Timestamp:
- Jun 5, 2003, 5:01:10 AM (23 years ago)
- File:
-
- 1 edited
-
trunk/src/emx/src/emxomf/emxomf.c (modified) (2 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/src/emxomf/emxomf.c
-
Property cvs2svn:cvs-rev
changed from
1.10to1.11
r296 r297 2758 2758 len += 1 + strlen (file_list[i]); 2759 2759 2760 /* Write the line number table. */ 2760 /* 2761 * This is the VAC way, but link386 doesn't like this. 2762 * too bad :/ 2763 */ 2764 #if 0 2765 2766 /* Filename table first - a first entry like visual age does it and does hints on */ 2761 2767 2762 2768 init_rec (LINNUM|REC32); 2763 2769 started = TRUE; 2764 2770 put_idx (0); /* Base Group */ 2765 put_idx ( text_index);/* Base Segment */2771 put_idx ( /* Base Segment */ 2766 2772 2767 2773 put_16 (0); /* Line number = 0 (special entry) */ 2768 put_8 ( 0); /* Entry type: source and offset*/2774 put_8 ( */ 2769 2775 put_8 (0); /* Reserved */ 2770 put_16 ( valid_lines);/* Count of line number entries */2776 put_16 ( /* Count of line number entries */ 2771 2777 put_16 (0); /* Segment number */ 2772 2778 put_32 (len); /* Size of file names table */ 2773 2774 for (i = 0; i < line_grow.count; ++i) 2775 if (line_list[i].line >= 0) 2776 { 2777 if (started && !fits (8)) 2778 { 2779 write_rec (); 2780 started = FALSE; 2781 } 2782 if (!started) 2783 { 2784 init_rec (LINNUM|REC32); 2785 put_idx (0); /* Base Group */ 2786 put_idx (text_index); /* Base Segment */ 2787 started = TRUE; 2788 } 2789 put_16 (line_list[i].line); 2790 put_16(line_list[i].file_index + 1); 2791 put_32 (line_list[i].addr); 2792 } 2793 2794 /* Now write the file names table. */ 2795 2796 if (started && !fits (12)) 2797 { 2798 write_rec (); 2799 started = FALSE; 2800 } 2801 if (!started) 2802 { 2803 init_rec (LINNUM|REC32); 2804 put_idx (0); /* Base Group */ 2805 put_idx (text_index); /* Base Segment */ 2806 started = TRUE; 2807 } 2779 /* no linenumber */ 2808 2780 put_32 (0); /* First column */ 2809 2781 put_32 (0); /* Number of columns */ … … 2836 2808 if (started) 2837 2809 write_rec (); 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2838 2930 2839 2931 grow_free (&line_grow); -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
