Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1b9e95d authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Discard PT_INTERP in embedded linker linker script"

parents 1d7209b8 4d9b1f1d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -114,6 +114,10 @@ func main() {

	fmt.Fprintln(asm, `.section .note.android.embedded_linker,"a",%note`)

	// Discard the PT_INTERP section so that the linker doesn't need to be passed the
	// --no-dynamic-linker flag.
	fmt.Println(script, "    /DISCARD/ : { *(.interp) }")

	fmt.Fprintln(script, "}")
	fmt.Fprintln(script, "INSERT BEFORE .note.android.embedded_linker;")