[rtems commit] bsps/powerpc: Do not set ouput format and arch

Sebastian Huber sebh at rtems.org
Mon Jul 31 12:46:23 UTC 2017


Module:    rtems
Branch:    master
Commit:    b7be94390bf08fbba4a948e1e721aa191375fe67
Changeset: http://git.rtems.org/rtems/commit/?id=b7be94390bf08fbba4a948e1e721aa191375fe67

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Jul 31 14:14:46 2017 +0200

bsps/powerpc: Do not set ouput format and arch

There is no need to explicitly set the output format and architecture in
the linker script.  This enables the usage of this linker script with
the ELFv2 ABI (64-bit).

Update #3082.

---

 c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
index 072bde1..170d790 100644
--- a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
+++ b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
@@ -20,10 +20,6 @@
  * http://www.rtems.org/license/LICENSE.
  */
 
-OUTPUT_FORMAT ("elf32-powerpc", "elf32-powerpc", "elf32-powerpc")
-
-OUTPUT_ARCH (powerpc:common)
-
 ENTRY (_start)
 
 /*




More information about the vc mailing list