Handle partial link of a single object with a linker script.
Fixes: 142931094 Test: m bssl with -DNO_ASM and all assembly sources commented out Change-Id: Id56d325fbf1d4a0777944512a88f3c086e930af7
This commit is contained in:
parent
43bfaf9f65
commit
ab65ba9481
|
@ -104,7 +104,7 @@ func (object *objectLinker) link(ctx ModuleContext,
|
|||
var outputFile android.Path
|
||||
builderFlags := flagsToBuilderFlags(flags)
|
||||
|
||||
if len(objs.objFiles) == 1 {
|
||||
if len(objs.objFiles) == 1 && String(object.Properties.Linker_script) == "" {
|
||||
outputFile = objs.objFiles[0]
|
||||
|
||||
if String(object.Properties.Prefix_symbols) != "" {
|
||||
|
|
Loading…
Reference in New Issue