Handle pack_relocations in linker.cc
When pack_relocations is false and clang lld is used,
pass --pack-dyn-relocs=none to lld.
Bug: 80093890
Test: build and boot with USE_CLANG_LLD=true
Change-Id: I0ffe77a111d7fbab5afaa1395d09734a8a390e09
diff --git a/cc/relocation_packer.go b/cc/relocation_packer.go
index f6a1fe4..8989b29 100644
--- a/cc/relocation_packer.go
+++ b/cc/relocation_packer.go
@@ -33,6 +33,7 @@
})
type RelocationPackerProperties struct {
+ // Generate compact dynamic relocation table, default true.
Pack_relocations *bool `android:"arch_variant"`
// This will be true even if we're embedded in Make, in which case