Merge "Discard PT_INTERP in embedded linker linker script" am: e1b9e95ddd
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1989248 Change-Id: Ie97fa781768cd25654b28c5af29a41dca3c8c7b1
This commit is contained in:
@@ -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;")
|
||||
|
||||
|
Reference in New Issue
Block a user