* scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
relocatable link. * scripttempl/elf32cr16.sc: Likewise. * scripttempl/elf32cr16c.sc: Likewise. * scripttempl/elf32crx.sc: Likewise. * scripttempl/elf32sh-symbian.sc: Likewise. * scripttempl/elf_chaos.sc: Likewise. * scripttempl/elfd10v.sc: Likewise. * scripttempl/elfi370.sc: Likewise. * scripttempl/elfm68hc11.sc: Likewise. * scripttempl/elfm68hc12.sc: Likewise. * scripttempl/ip2k.sc: Likewise. * scripttempl/iq2000.sc: Likewise. * scripttempl/mep.sc: Likewise. * scripttempl/v850.sc: Likewise. * scripttempl/xstormy16.sc: Likewise.
This commit is contained in:
parent
796d53134a
commit
b34c1498c2
19
ld/ChangeLog
19
ld/ChangeLog
@ -1,3 +1,22 @@
|
||||
2008-02-18 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
|
||||
relocatable link.
|
||||
* scripttempl/elf32cr16.sc: Likewise.
|
||||
* scripttempl/elf32cr16c.sc: Likewise.
|
||||
* scripttempl/elf32crx.sc: Likewise.
|
||||
* scripttempl/elf32sh-symbian.sc: Likewise.
|
||||
* scripttempl/elf_chaos.sc: Likewise.
|
||||
* scripttempl/elfd10v.sc: Likewise.
|
||||
* scripttempl/elfi370.sc: Likewise.
|
||||
* scripttempl/elfm68hc11.sc: Likewise.
|
||||
* scripttempl/elfm68hc12.sc: Likewise.
|
||||
* scripttempl/ip2k.sc: Likewise.
|
||||
* scripttempl/iq2000.sc: Likewise.
|
||||
* scripttempl/mep.sc: Likewise.
|
||||
* scripttempl/v850.sc: Likewise.
|
||||
* scripttempl/xstormy16.sc: Likewise.
|
||||
|
||||
2008-02-16 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
PR ld/5761
|
||||
|
@ -124,7 +124,7 @@ cat <<EOF
|
||||
OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
|
||||
"${LITTLE_OUTPUT_FORMAT}")
|
||||
OUTPUT_ARCH(${OUTPUT_ARCH})
|
||||
ENTRY(${ENTRY})
|
||||
${RELOCATING+ENTRY(${ENTRY})}
|
||||
|
||||
${RELOCATING+${LIB_SEARCH_DIRS}}
|
||||
${RELOCATING+/* Do we need any of these for elf?
|
||||
|
@ -17,8 +17,8 @@ cat <<EOF
|
||||
|
||||
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
||||
OUTPUT_ARCH(${ARCH})
|
||||
EXTERN(${ENTRY})
|
||||
ENTRY(${ENTRY})
|
||||
${RELOCATING+EXTERN(${ENTRY})}
|
||||
${RELOCATING+ENTRY(${ENTRY})}
|
||||
|
||||
/* Define memory regions. */
|
||||
MEMORY
|
||||
|
@ -12,9 +12,8 @@ cat <<EOF
|
||||
(which is not called explicitly) is in an archive (which is
|
||||
the usual case). */
|
||||
|
||||
EXTERN(${ENTRY})
|
||||
|
||||
ENTRY(${ENTRY})
|
||||
${RELOCATING+EXTERN(${ENTRY})}
|
||||
${RELOCATING+ENTRY(${ENTRY})}
|
||||
|
||||
MEMORY
|
||||
{
|
||||
|
@ -17,8 +17,8 @@ cat <<EOF
|
||||
|
||||
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
||||
OUTPUT_ARCH(${ARCH})
|
||||
EXTERN(${ENTRY})
|
||||
ENTRY(${ENTRY})
|
||||
${RELOCATING+EXTERN(${ENTRY})}
|
||||
${RELOCATING+ENTRY(${ENTRY})}
|
||||
|
||||
/* Define memory regions. */
|
||||
MEMORY
|
||||
|
@ -138,7 +138,7 @@ cat <<EOF
|
||||
OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
|
||||
"${LITTLE_OUTPUT_FORMAT}")
|
||||
OUTPUT_ARCH(${OUTPUT_ARCH})
|
||||
ENTRY(${ENTRY})
|
||||
${RELOCATING+ENTRY(${ENTRY})}
|
||||
|
||||
${RELOCATING+${LIB_SEARCH_DIRS}}
|
||||
${RELOCATING+/* Do we need any of these for elf?
|
||||
|
@ -151,7 +151,7 @@ cat <<EOF
|
||||
OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
|
||||
"${LITTLE_OUTPUT_FORMAT}")
|
||||
OUTPUT_ARCH(${OUTPUT_ARCH})
|
||||
ENTRY(${ENTRY})
|
||||
${RELOCATING+ENTRY(${ENTRY})}
|
||||
|
||||
${RELOCATING+${LIB_SEARCH_DIRS}}
|
||||
${RELOCATING+/* Do we need any of these for elf?
|
||||
|
@ -58,7 +58,7 @@ cat <<EOF
|
||||
OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
|
||||
"${LITTLE_OUTPUT_FORMAT}")
|
||||
OUTPUT_ARCH(${OUTPUT_ARCH})
|
||||
ENTRY(${ENTRY})
|
||||
${RELOCATING+ENTRY(${ENTRY})}
|
||||
|
||||
${RELOCATING+${LIB_SEARCH_DIRS}}
|
||||
${RELOCATING+/* Do we need any of these for elf?
|
||||
|
@ -35,7 +35,7 @@ cat <<EOF
|
||||
OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
|
||||
"${LITTLE_OUTPUT_FORMAT}")
|
||||
OUTPUT_ARCH(${ARCH})
|
||||
ENTRY(${ENTRY})
|
||||
${RELOCATING+ENTRY(${ENTRY})}
|
||||
|
||||
${RELOCATING+${LIB_SEARCH_DIRS}}
|
||||
${RELOCATING+/* Do we need any of these for elf?
|
||||
|
@ -164,7 +164,7 @@ ${RELOCATING-/* Linker script for 68HC11 object file (ld -r). */}
|
||||
OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
|
||||
"${LITTLE_OUTPUT_FORMAT}")
|
||||
OUTPUT_ARCH(${OUTPUT_ARCH})
|
||||
ENTRY(${ENTRY})
|
||||
${RELOCATING+ENTRY(${ENTRY})}
|
||||
|
||||
${RELOCATING+${LIB_SEARCH_DIRS}}
|
||||
${RELOCATING+${EXECUTABLE_SYMBOLS}}
|
||||
|
@ -164,7 +164,7 @@ ${RELOCATING-/* Linker script for 68HC12 object file (ld -r). */}
|
||||
OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
|
||||
"${LITTLE_OUTPUT_FORMAT}")
|
||||
OUTPUT_ARCH(${OUTPUT_ARCH})
|
||||
ENTRY(${ENTRY})
|
||||
${RELOCATING+ENTRY(${ENTRY})}
|
||||
|
||||
${RELOCATING+${LIB_SEARCH_DIRS}}
|
||||
${RELOCATING+${EXECUTABLE_SYMBOLS}}
|
||||
|
@ -1,7 +1,7 @@
|
||||
cat << EOF
|
||||
OUTPUT_FORMAT("elf32-ip2k", "elf32-ip2k", "elf32-ip2k")
|
||||
OUTPUT_ARCH(ip2k)
|
||||
ENTRY(_start)
|
||||
${RELOCATING+ENTRY(_start)}
|
||||
SEARCH_DIR(.);
|
||||
|
||||
/* IP2022 default linker script. */
|
||||
|
@ -119,7 +119,7 @@ cat <<EOF
|
||||
OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
|
||||
"${LITTLE_OUTPUT_FORMAT}")
|
||||
OUTPUT_ARCH(${OUTPUT_ARCH})
|
||||
ENTRY(${ENTRY})
|
||||
${RELOCATING+ENTRY(${ENTRY})}
|
||||
|
||||
${RELOCATING+${LIB_SEARCH_DIRS}}
|
||||
${RELOCATING+/* Do we need any of these for elf?
|
||||
|
@ -201,7 +201,7 @@ cat <<EOF
|
||||
OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
|
||||
"${LITTLE_OUTPUT_FORMAT}")
|
||||
OUTPUT_ARCH(${OUTPUT_ARCH})
|
||||
ENTRY(${ENTRY})
|
||||
${RELOCATING+ENTRY(${ENTRY})}
|
||||
|
||||
${RELOCATING+${LIB_SEARCH_DIRS}}
|
||||
${RELOCATING+/* Do we need any of these for elf?
|
||||
|
@ -2,7 +2,7 @@ cat << EOF
|
||||
OUTPUT_FORMAT("elf32-v850", "elf32-v850",
|
||||
"elf32-v850")
|
||||
OUTPUT_ARCH(v850)
|
||||
ENTRY(_start)
|
||||
${RELOCATING+ENTRY(_start)}
|
||||
SEARCH_DIR(.);
|
||||
EXTERN(__ctbp __ep __gp);
|
||||
SECTIONS
|
||||
|
@ -96,7 +96,7 @@ cat <<EOF
|
||||
OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
|
||||
"${LITTLE_OUTPUT_FORMAT}")
|
||||
OUTPUT_ARCH(${OUTPUT_ARCH})
|
||||
ENTRY(${ENTRY})
|
||||
${RELOCATING+ENTRY(${ENTRY})}
|
||||
|
||||
${RELOCATING+${LIB_SEARCH_DIRS}}
|
||||
${RELOCATING+${EXECUTABLE_SYMBOLS}}
|
||||
|
Loading…
Reference in New Issue
Block a user