Ticket #234: ld.diff

File ld.diff, 497 bytes (added by KO Myung-Hun, 13 years ago)

Align .text by 16 bytes

  • ld.c

    diff -uNr  ld.c.org ld.c
    old new  
    29302933
    29312934  entry->text_start_address = text_size;
    29322935  /* If there were any vectors, we need to chop them off */
     2936  entry->text_size = (entry->text_size + SECTION_ALIGN_MASK) & ~SECTION_ALIGN_MASK;
    29332937  text_size += entry->text_size;
    29342938  entry->data_start_address = data_size;
    29352939  data_size += (entry->data_size + SECTION_ALIGN_MASK) & ~SECTION_ALIGN_MASK;