Changeset 64309e0 in rtems-tools


Ignore:
Timestamp:
Aug 24, 2013, 10:19:15 AM (6 years ago)
Author:
Peng Fan <van.freenix@…>
Branches:
4.10, 4.11, master
Children:
53ed116
Parents:
37a7a7c
git-author:
Peng Fan <van.freenix@…> (08/24/13 10:19:15)
git-committer:
Peng Fan <van.freenix@…> (08/29/13 11:42:33)
Message:

Ignore common section and null(index 0) section

Signed-off-by: Peng Fan <van.freenix@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • linkers/rld-rap.cpp

    r37a7a7c r64309e0  
    10161016          {
    10171017            int         symsec = sym.section_index ();
     1018
     1019            /* Ignore section index 0 */
     1020            if (symsec == 0)
     1021              continue;
     1022            /* Ignore sparc common section */
     1023            if ((elf::object_machine_type () == EM_SPARC) && (symsec == 65522))
     1024              continue;
     1025
    10181026            sections    rap_sec = obj.find (symsec);
    10191027            section&    sec = obj.secs[rap_sec];
Note: See TracChangeset for help on using the changeset viewer.