Add __stub_start and __stub_end symbols.

This commit is contained in:
matt 2012-08-29 22:43:57 +00:00
parent 485da0c75c
commit a9ceb00145
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern.ldscript.head,v 1.2 2005/12/11 12:16:45 christos Exp $ */
/* $NetBSD: kern.ldscript.head,v 1.3 2012/08/29 22:43:57 matt Exp $ */
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
"elf32-littlearm")
@ -12,6 +12,8 @@ SECTIONS
{
*(.text)
*(.text.*)
__stub_start = .
*(.stub)
__stub_end = .
*(.glue_7t) *(.glue_7)
*(.rodata) *(.rodata.*)