delete useless section in lds and fix brief error

This commit is contained in:
Liu_Weichao 2022-03-15 14:37:46 +08:00
parent 57c22182c2
commit d2c247f4e0
4 changed files with 2 additions and 6 deletions

View File

@ -189,7 +189,6 @@ SECTIONS
. = ALIGN(4); . = ALIGN(4);
__DATA_RAM = .; __DATA_RAM = .;
__data_start__ = .; /* create a global symbol at data start */ __data_start__ = .; /* create a global symbol at data start */
*(m_usb_dma_init_data)
*(.data) /* .data sections */ *(.data) /* .data sections */
*(.data*) /* .data* sections */ *(.data*) /* .data* sections */
KEEP(*(.jcr*)) KEEP(*(.jcr*))
@ -224,7 +223,6 @@ SECTIONS
. = ALIGN(4); . = ALIGN(4);
__START_BSS = .; __START_BSS = .;
__bss_start__ = .; __bss_start__ = .;
*(m_usb_dma_noninit_data)
*(.bss) *(.bss)
*(.bss*) *(.bss*)
*(COMMON) *(COMMON)

View File

@ -189,7 +189,6 @@ SECTIONS
. = ALIGN(4); . = ALIGN(4);
__DATA_RAM = .; __DATA_RAM = .;
__data_start__ = .; /* create a global symbol at data start */ __data_start__ = .; /* create a global symbol at data start */
*(m_usb_dma_init_data)
*(.data) /* .data sections */ *(.data) /* .data sections */
*(.data*) /* .data* sections */ *(.data*) /* .data* sections */
KEEP(*(.jcr*)) KEEP(*(.jcr*))
@ -224,7 +223,6 @@ SECTIONS
. = ALIGN(4); . = ALIGN(4);
__START_BSS = .; __START_BSS = .;
__bss_start__ = .; __bss_start__ = .;
*(m_usb_dma_noninit_data)
*(.bss) *(.bss)
*(.bss*) *(.bss*)
*(COMMON) *(COMMON)

View File

@ -8,7 +8,7 @@
/** /**
* @file connect_sdio.c * @file connect_sdio.c
* @brief support sdio function using bus driver framework on OK1052 board * @brief support sdio function using bus driver framework on xidatong board
* @version 2.0 * @version 2.0
* @author AIIT XUOS Lab * @author AIIT XUOS Lab
* @date 2022-01-24 * @date 2022-01-24

View File

@ -8,7 +8,7 @@
/** /**
* @file connect_usb.c * @file connect_usb.c
* @brief support usb host function using bus driver framework on OK1052 board * @brief support usb host function using bus driver framework on xidatong board
* @version 2.0 * @version 2.0
* @author AIIT XUOS Lab * @author AIIT XUOS Lab
* @date 2022-02-09 * @date 2022-02-09