svn commit: r217657 - in head/sys/boot: arm/at91 powerpc/ofw powerpc/ps3

Warner Losh imp at FreeBSD.org
Thu Jan 20 19:26:28 UTC 2011


Author: imp
Date: Thu Jan 20 19:26:28 2011
New Revision: 217657
URL: http://svn.freebsd.org/changeset/base/217657

Log:
  Don't need __DYNAMIC here.  it is commented out and a.out only -- these are all ELF.

Modified:
  head/sys/boot/arm/at91/linker.cfg
  head/sys/boot/powerpc/ofw/ldscript.powerpc
  head/sys/boot/powerpc/ps3/ldscript.powerpc

Modified: head/sys/boot/arm/at91/linker.cfg
==============================================================================
--- head/sys/boot/arm/at91/linker.cfg	Thu Jan 20 19:24:50 2011	(r217656)
+++ head/sys/boot/arm/at91/linker.cfg	Thu Jan 20 19:26:28 2011	(r217657)
@@ -25,8 +25,6 @@ OUTPUT_FORMAT("elf32-littlearm", "elf32-
 OUTPUT_ARCH(arm)
 ENTRY(start)
  SEARCH_DIR(/usr/local/arm/2.95.3/arm-linux/lib);
-/* Do we need any of these for elf?
-   __DYNAMIC = 0;    */
 SECTIONS
 {
   /* Read-only sections, merged into text segment: */

Modified: head/sys/boot/powerpc/ofw/ldscript.powerpc
==============================================================================
--- head/sys/boot/powerpc/ofw/ldscript.powerpc	Thu Jan 20 19:24:50 2011	(r217656)
+++ head/sys/boot/powerpc/ofw/ldscript.powerpc	Thu Jan 20 19:26:28 2011	(r217657)
@@ -4,8 +4,6 @@ OUTPUT_FORMAT("elf32-powerpc", "elf32-po
 OUTPUT_ARCH(powerpc:common)
 ENTRY(_start)
 SEARCH_DIR(/usr/lib);
-/* Do we need any of these for elf?
-   __DYNAMIC = 0;    */
 PROVIDE (__stack = 0);
 SECTIONS
 {

Modified: head/sys/boot/powerpc/ps3/ldscript.powerpc
==============================================================================
--- head/sys/boot/powerpc/ps3/ldscript.powerpc	Thu Jan 20 19:24:50 2011	(r217656)
+++ head/sys/boot/powerpc/ps3/ldscript.powerpc	Thu Jan 20 19:26:28 2011	(r217657)
@@ -4,8 +4,6 @@ OUTPUT_FORMAT("elf32-powerpc", "elf32-po
 OUTPUT_ARCH(powerpc:common)
 ENTRY(_start)
 SEARCH_DIR(/usr/lib);
-/* Do we need any of these for elf?
-   __DYNAMIC = 0;    */
 PROVIDE (__stack = 0);
 SECTIONS
 {


More information about the svn-src-head mailing list