Changeset 295


Ignore:
Timestamp:
Jun 4, 2003, 11:19:19 PM (23 years ago)
Author:
bird
Message:

#465: WEAK stuff in debuginfo. Some bogus things for N_WEAKA which must be rechecked.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/emxomf/emxomf.c

    • Property cvs2svn:cvs-rev changed from 1.9 to 1.10
    r294 r295  
    562562                t = sym_ptr[j].n_type & ~N_EXT;
    563563                if (t == N_TEXT || t == N_DATA || t == N_BSS
     564
     565
     566
    564567                    || (t == 0 && sym_ptr[j].n_value != 0))
    565568                  return sym_ptr+j;
     
    15811584            switch (r->r_symbolnum & ~N_EXT)
    15821585              {
     1586
     1587
    15831588              case N_TEXT:
    15841589                break;
     1590
     1591
    15851592              case N_DATA:
    15861593                *(dword *)(src + r->r_address) -= start_data;
    15871594                break;
     1595
     1596
    15881597              case N_BSS:
    15891598                *(dword *)(src + r->r_address) -= start_bss;
    15901599                break;
     1600
     1601
     1602
    15911603              default:
    1592                 error ("write_seg: Invalid relocation type");
     1604                error ("write_seg: Invalid relocation type);
    15931605              }
    15941606          }
     
    26102622static void write_idmdll ()
    26112623{
     2624
     2625
     2626
     2627
     2628
    26122629  if (idmdll_name != NULL && find_symbol ("__gnu_compiled_cplusplus") != NULL)
     2630
    26132631    {
    26142632      init_rec (COMENT);
Note: See TracChangeset for help on using the changeset viewer.