make_hatch() is called from l_lx_sep86.asm, so cannot be 'static'
committer: jreiser <jreiser> 1108850437 +0000
This commit is contained in:
+1
-1
@@ -196,7 +196,7 @@ ERR_LAB
|
|||||||
|
|
||||||
// Create (or find) an escape hatch to use when munmapping ourselves the stub.
|
// Create (or find) an escape hatch to use when munmapping ourselves the stub.
|
||||||
// Called by do_xmap to create it, and by assembler code to find it.
|
// Called by do_xmap to create it, and by assembler code to find it.
|
||||||
static void *
|
void *
|
||||||
make_hatch(Elf32_Phdr const *const phdr)
|
make_hatch(Elf32_Phdr const *const phdr)
|
||||||
{
|
{
|
||||||
if (phdr->p_type==PT_LOAD && phdr->p_flags & PF_X) {
|
if (phdr->p_type==PT_LOAD && phdr->p_flags & PF_X) {
|
||||||
|
|||||||
Reference in New Issue
Block a user