[PATCH] sparc/*/linkcmds*: Move ENTRY() from linkcmds.base to top linkcmds
Joel Sherrill
joel at rtems.org
Wed Jan 31 16:15:45 UTC 2018
This was at the request of a user to make it easier to have a
custom entry point. This way they just provide their own top
level linkcmds and include linkcmds.base.
Updates #3520.
---
c/src/lib/libbsp/sparc/erc32/startup/linkcmds | 2 ++
c/src/lib/libbsp/sparc/leon2/startup/linkcmds | 2 ++
c/src/lib/libbsp/sparc/leon2/startup/linkcmds.leon2 | 2 ++
c/src/lib/libbsp/sparc/leon3/startup/linkcmds.gr712rc | 2 ++
c/src/lib/libbsp/sparc/leon3/startup/linkcmds.gr740 | 2 ++
c/src/lib/libbsp/sparc/leon3/startup/linkcmds.leon3 | 2 ++
c/src/lib/libbsp/sparc/leon3/startup/linkcmds.ut699 | 2 ++
c/src/lib/libbsp/sparc/leon3/startup/linkcmds.ut700 | 2 ++
c/src/lib/libbsp/sparc/shared/startup/linkcmds.base | 1 -
9 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/c/src/lib/libbsp/sparc/erc32/startup/linkcmds b/c/src/lib/libbsp/sparc/erc32/startup/linkcmds
index d82cae6..9df3a0d 100644
--- a/c/src/lib/libbsp/sparc/erc32/startup/linkcmds
+++ b/c/src/lib/libbsp/sparc/erc32/startup/linkcmds
@@ -24,4 +24,6 @@ MEMORY
ram : ORIGIN = 0x02000000, LENGTH = 32M
}
+ENTRY(start)
+
INCLUDE linkcmds.base
diff --git a/c/src/lib/libbsp/sparc/leon2/startup/linkcmds b/c/src/lib/libbsp/sparc/leon2/startup/linkcmds
index bee29a2..f1c7b9c 100644
--- a/c/src/lib/libbsp/sparc/leon2/startup/linkcmds
+++ b/c/src/lib/libbsp/sparc/leon2/startup/linkcmds
@@ -24,4 +24,6 @@ MEMORY
ram : ORIGIN = 0x40000000, LENGTH = 1024M
}
+ENTRY(start)
+
INCLUDE linkcmds.base
diff --git a/c/src/lib/libbsp/sparc/leon2/startup/linkcmds.leon2 b/c/src/lib/libbsp/sparc/leon2/startup/linkcmds.leon2
index bee29a2..f1c7b9c 100644
--- a/c/src/lib/libbsp/sparc/leon2/startup/linkcmds.leon2
+++ b/c/src/lib/libbsp/sparc/leon2/startup/linkcmds.leon2
@@ -24,4 +24,6 @@ MEMORY
ram : ORIGIN = 0x40000000, LENGTH = 1024M
}
+ENTRY(start)
+
INCLUDE linkcmds.base
diff --git a/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.gr712rc b/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.gr712rc
index 30f2b68..6954e88 100644
--- a/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.gr712rc
+++ b/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.gr712rc
@@ -17,4 +17,6 @@ MEMORY
ram : ORIGIN = 0x40000000, LENGTH = 1024M
}
+ENTRY(start)
+
INCLUDE linkcmds.base
diff --git a/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.gr740 b/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.gr740
index a1ae269..c16fd7f 100644
--- a/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.gr740
+++ b/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.gr740
@@ -16,4 +16,6 @@ MEMORY
_PROM_START = ORIGIN (rom);
_RAM_START = ORIGIN (ram);
+ENTRY(start)
+
INCLUDE linkcmds.base
diff --git a/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.leon3 b/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.leon3
index 30f2b68..6954e88 100644
--- a/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.leon3
+++ b/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.leon3
@@ -17,4 +17,6 @@ MEMORY
ram : ORIGIN = 0x40000000, LENGTH = 1024M
}
+ENTRY(start)
+
INCLUDE linkcmds.base
diff --git a/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.ut699 b/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.ut699
index 30f2b68..6954e88 100644
--- a/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.ut699
+++ b/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.ut699
@@ -17,4 +17,6 @@ MEMORY
ram : ORIGIN = 0x40000000, LENGTH = 1024M
}
+ENTRY(start)
+
INCLUDE linkcmds.base
diff --git a/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.ut700 b/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.ut700
index 30f2b68..6954e88 100644
--- a/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.ut700
+++ b/c/src/lib/libbsp/sparc/leon3/startup/linkcmds.ut700
@@ -17,4 +17,6 @@ MEMORY
ram : ORIGIN = 0x40000000, LENGTH = 1024M
}
+ENTRY(start)
+
INCLUDE linkcmds.base
diff --git a/c/src/lib/libbsp/sparc/shared/startup/linkcmds.base b/c/src/lib/libbsp/sparc/shared/startup/linkcmds.base
index cc264a2..b4e1c28 100644
--- a/c/src/lib/libbsp/sparc/shared/startup/linkcmds.base
+++ b/c/src/lib/libbsp/sparc/shared/startup/linkcmds.base
@@ -3,7 +3,6 @@
OUTPUT_ARCH(sparc)
__DYNAMIC = 0;
-ENTRY(start)
/*
* The memory map looks like this:
--
1.8.3.1
More information about the devel
mailing list