Changeset 5b8c75a in mainline for kernel/arch/amd64/_link.ld.in


Ignore:
Timestamp:
2009-03-20T21:41:24Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d2cc7e1
Parents:
e622f0a8
Message:

Discard the eh_frame section on amd64, which improves the kernel size by
hundreds of kilobytes. Discard all other unknown sections as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/_link.ld.in

    re622f0a8 r5b8c75a  
    4444                *(COMMON);              /* global variables */
    4545
    46                 *(.eh_frame);
    47 
    4846                symbol_table = .;
    4947                *(symtab.*);            /* Symbol table, must be LAST symbol!*/
     
    5250
    5351                kdata_end = .;
     52        }
     53
     54        /DISCARD/ : {
     55                *(*);
    5456        }
    5557       
Note: See TracChangeset for help on using the changeset viewer.