diff options
Diffstat (limited to 'common/ec.libsharedobjs.ld')
-rw-r--r-- | common/ec.libsharedobjs.ld | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/common/ec.libsharedobjs.ld b/common/ec.libsharedobjs.ld new file mode 100644 index 0000000000..ba4170a07e --- /dev/null +++ b/common/ec.libsharedobjs.ld @@ -0,0 +1,15 @@ +/* Copyright (c) 2015 The Chromium OS Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +SECTIONS +{ + .roshared : { KEEP(*(.roshared*)) } + /* + * Save the .ARM.atrributes section to make the linker not complain + * about conflicting CPU architectures when linking with the RW objs. + * This section will be discarded by the main EC linker script. + */ + .ARM.attributes : { KEEP(*(.ARM.*)) } +} |