Merge "Fix adding /DISCARD/ to linker script" am: ff100cdae9
am: 55885df6c2
am: 7bf58099ce
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2000279 Change-Id: I5fcc89d8bd9a51e21256f89bfe7c5e6acd2baf15
This commit is contained in:
@@ -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;")
|
||||
|
Reference in New Issue
Block a user