[haiku-commits] haiku: hrev56228 - src/system/ldscripts/arm

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 28 Jun 2022 17:10:43 +0000 (UTC)

hrev56228 adds 1 changeset to branch 'master'
old head: 908107a15f63582157c7094be7273dbfffa1003c
new head: 84360889a277fc87213e491137a449d1e4238b33
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=84360889a277+%5E908107a15f63

----------------------------------------------------------------------------

84360889a277: ldscripts: remove linker script for Raspberry Pi
  
  This linker script was introduced in commit 5426ff9 in 2012
  predating both the EFI and the raw u-boot ARM loader,
  at that time it seems that it was intended to be used
  as part of a 'raspberrypi_arm' boot platform which does
  not exist anymore. So this is not needed anymore.
  
  Change-Id: I530e922807fe6d80f74248f2dc7ed25cdc8bcb1c
  Reviewed-on: https://review.haiku-os.org/c/haiku/+/5419
  Reviewed-by: waddlesplash <waddlesplash@xxxxxxxxx>

                                     [ David Karoly <karolyd577@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev56228
Commit:      84360889a277fc87213e491137a449d1e4238b33
URL:         https://git.haiku-os.org/haiku/commit/?id=84360889a277
Author:      David Karoly <karolyd577@xxxxxxxxx>
Date:        Tue Jun 28 17:00:10 2022 UTC
Committer:   waddlesplash <waddlesplash@xxxxxxxxx>
Commit-Date: Tue Jun 28 17:10:40 2022 UTC

----------------------------------------------------------------------------

1 file changed, 135 deletions(-)
.../ldscripts/arm/boot_loader_raspberrypi_arm.ld | 135 -------------------

----------------------------------------------------------------------------

diff --git a/src/system/ldscripts/arm/boot_loader_raspberrypi_arm.ld 
b/src/system/ldscripts/arm/boot_loader_raspberrypi_arm.ld
deleted file mode 100644
index ea8f7aa1c3..0000000000
--- a/src/system/ldscripts/arm/boot_loader_raspberrypi_arm.ld
+++ /dev/null
@@ -1,135 +0,0 @@
-OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
-OUTPUT_ARCH(arm)
-ENTRY(_entry)
-
-C_STACK_SIZE   = 1048576;
-IRQ_STACK_SIZE = 0;
-FIQ_STACK_SIZE = 0;
-SVC_STACK_SIZE = 0;
-ABT_STACK_SIZE = 0;
-UND_STACK_SIZE = 0;
-
-SECTIONS
-{
-       /*
-        * Raspberry Pi boot logic:
-        * start.elf loads the kernel specified in config.txt
-        * if a dtb exists, it is loaded at 0x100 and the kernel at 0x8000
-        * else if disable_commandline_tags true, set kernel load address to 0x0
-        * else load kernel at 0x8000 and put atags at 0x100
-        */
-
-       . = BOARD_LOADER_BASE;
-
-       /* .init is a stub that jumps to code at .text */
-       .init : {
-               *(.init)
-       }
-
-       .text 0x8000 : {
-               CREATE_OBJECT_SYMBOLS
-               *(.text .text.* .gnu.linkonce.t.*)
-               *(.plt)
-               *(.gnu.warning)
-       }
-
-       . = ALIGN(0x4);
-       .ctors : {
-               __ctor_list = .;
-               *(.init_array);
-               *(.ctors);
-               __ctor_end = .;
-       }
-
-       .dtors : {
-               __dtor_list = .;
-               *(.fini_array);
-               *(.dtors);
-               __dtor_end = .;
-       }
-
-       .rodata : { *(.rodata .rodata.*) }
-
-       /* writable data  */
-       . = ALIGN(0x1000);
-       __data_start = .;
-       .data : { *(.data .gnu.linkonce.d.*) }
-
-       /* exception unwinding - should really not be needed! */
-       __exidx_start = .;
-       .ARM.exidx   : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) }
-       __exidx_end = .;
-
-       /* uninitialized data (in same segment as writable data) */
-       .bss : {
-               __bss_start = .;
-               *(.shbss)
-               *(.bss .bss.* .gnu.linkonce.b.*)
-               *(COMMON)
-               . = ALIGN(0x4);
-               __bss_end = .;
-       }
-
-       .stack : {
-               __stack_start = .;
-
-               . += IRQ_STACK_SIZE;
-               . = ALIGN(0x4);
-               __irq_stack_top = .;
-
-               . += FIQ_STACK_SIZE;
-               . = ALIGN(0x4);
-               __fiq_stack_top = .;
-
-               . += SVC_STACK_SIZE;
-               . = ALIGN(0x4);
-               __svc_stack_top = .;
-
-               . += ABT_STACK_SIZE;
-               . = ALIGN(0x4);
-               __abt_stack_top = .;
-
-               . += UND_STACK_SIZE;
-               . = ALIGN(0x4);
-               __und_stack_top = .;
-
-               . += C_STACK_SIZE;
-               . = ALIGN(0x4);
-               __c_stack_top = .;
-
-               __stack_end = .;
-       }
-
-       _end = . ;
-
-       /* Stabs debugging sections.  */
-       .stab 0 : { *(.stab) }
-       .stabstr 0 : { *(.stabstr) }
-
-       /* DWARF debug sections.
-               Symbols in the DWARF debugging sections are relative to the 
beginning
-               of the section so we begin them at 0.  */
-       /* DWARF 1 */
-       .debug          0 : { *(.debug) }
-       .line           0 : { *(.line) }
-       /* GNU DWARF 1 extensions */
-       .debug_srcinfo  0 : { *(.debug_srcinfo) }
-       .debug_sfnames  0 : { *(.debug_sfnames) }
-       /* DWARF 1.1 and DWARF 2 */
-       .debug_aranges  0 : { *(.debug_aranges) }
-       .debug_pubnames 0 : { *(.debug_pubnames) }
-       /* DWARF 2 */
-       .debug_info     0 : { *(.debug_info) }
-       .debug_abbrev   0 : { *(.debug_abbrev) }
-       .debug_line     0 : { *(.debug_line) }
-       .debug_frame    0 : { *(.debug_frame) }
-       .debug_str      0 : { *(.debug_str) }
-       .debug_loc      0 : { *(.debug_loc) }
-       .debug_macinfo  0 : { *(.debug_macinfo) }
-       /* SGI/MIPS DWARF 2 extensions */
-       .debug_weaknames 0 : { *(.debug_weaknames) }
-       .debug_funcnames 0 : { *(.debug_funcnames) }
-       .debug_typenames 0 : { *(.debug_typenames) }
-       .debug_varnames  0 : { *(.debug_varnames) }
-       /* These must appear regardless of  .  */
-}


Other related posts:

  • » [haiku-commits] haiku: hrev56228 - src/system/ldscripts/arm - waddlesplash