Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset e067dcd in mainline


Ignore:
Timestamp:
2010-02-07T10:55:41Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
eb73a50
Parents:
444a54e
Message:

Make both Intel and ARM symbol resolution work with a nasty hack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/taskdump/symtab.c

    r444a54e re067dcd  
    255255
    256256                stype = ELF_ST_TYPE(st->sym[i].st_info);
    257                 if (stype != STT_OBJECT && stype != STT_FUNC)
    258                         continue;
     257                if (stype != STT_OBJECT && stype != STT_FUNC &&
     258                    stype != STT_NOTYPE) {
     259                        continue;
     260                }
    259261
    260262                saddr = st->sym[i].st_value;
    261263                sname = st->strtab + st->sym[i].st_name;
     264
     265                /* An ugly hack to filter out some special ARM symbols. */
     266                if (sname[0] == '$')
     267                        continue;
    262268
    263269                if (best_name == NULL || (saddr <= addr && saddr > best_addr)) {
Note: See TracChangeset for help on using the changeset viewer.