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

Commit ff100cda authored by Colin Cross's avatar Colin Cross Committed by Gerrit Code Review
Browse files

Merge "Fix adding /DISCARD/ to linker script"

parents 0407606c 36fd4eb0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -116,7 +116,7 @@ func main() {

	// 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, "  /DISCARD/ : { *(.interp) }")

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