2010-02-27 18:07:24

by matthieu castet

[permalink] [raw]
Subject: merge .text.*/.rel.text.* sections in module build with -ffunction-section

/*
* Common module linker script, always used when linking a module.
* Archs are free to supply their own linker scripts. ld will
* combine them automatically.
*/
SECTIONS {
.text : {
*(.text.*)
}
.rel.text : {
*(.rel.text.*)
}
/DISCARD/ : { *(.discard) }
}


Attachments:
module-common.lds (272.00 B)