Changeset fe77587 in rtems


Ignore:
Timestamp:
May 5, 2020, 4:53:53 AM (6 months ago)
Author:
Chris Johns <chrisj@…>
Branches:
5, master
Children:
b77670fd
Parents:
285cda3
Message:

libdl/sparc: Print trace message of reloc failture path

Updates #3969

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libdl/rtl-mdreloc-sparc.c

    r285cda3 rfe77587  
    233233   * Note: R_SPARC_6 is currently numerically largest.
    234234   */
    235   if (type > R_TYPE(6))
     235  if (type > R_TYPE(TLS_TPOFF64)) {
     236    if (rtems_rtl_trace (RTEMS_RTL_TRACE_RELOC))
     237      printf("rtl: invalid reloc type: %d\n", (int) type);
    236238    return rtems_rtl_elf_rel_failure;
     239  }
    237240
    238241  value = rela->r_addend;
Note: See TracChangeset for help on using the changeset viewer.