mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 05:34:32 +02:00
Fix typos.
alignement -> alignment
This commit is contained in:
@@ -681,13 +681,13 @@ static uint32_t esp_eh_frame_initialize_state(const uint8_t* cie, ExecutionFrame
|
|||||||
/* Next field is a null-terminated UTF-8 string. Ignore it, look for the end. */
|
/* Next field is a null-terminated UTF-8 string. Ignore it, look for the end. */
|
||||||
while((c = *cie_data++) != 0);
|
while((c = *cie_data++) != 0);
|
||||||
|
|
||||||
/* Field alignement factor shall be 1. It is encoded in ULEB128. */
|
/* Field alignment factor shall be 1. It is encoded in ULEB128. */
|
||||||
const uint32_t code_align = decode_leb128(cie_data, false, &size);
|
const uint32_t code_align = decode_leb128(cie_data, false, &size);
|
||||||
assert(code_align == 1);
|
assert(code_align == 1);
|
||||||
/* Jump to the next field */
|
/* Jump to the next field */
|
||||||
cie_data += size;
|
cie_data += size;
|
||||||
|
|
||||||
/* Same goes for data alignement factor. Shall be equal to -4. */
|
/* Same goes for data alignment factor. Shall be equal to -4. */
|
||||||
const int32_t data_align = decode_leb128(cie_data, true, &size);
|
const int32_t data_align = decode_leb128(cie_data, true, &size);
|
||||||
cie_data += size;
|
cie_data += size;
|
||||||
assert(data_align == -4);
|
assert(data_align == -4);
|
||||||
|
@@ -135,16 +135,16 @@ SECTIONS
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This dummy section represents the .flash.text section but in default_rodata_seg.
|
* This dummy section represents the .flash.text section but in default_rodata_seg.
|
||||||
* Thus, it must have its alignement and (at least) its size.
|
* Thus, it must have its alignment and (at least) its size.
|
||||||
*/
|
*/
|
||||||
.flash_rodata_dummy (NOLOAD):
|
.flash_rodata_dummy (NOLOAD):
|
||||||
{
|
{
|
||||||
_flash_rodata_dummy_start = .;
|
_flash_rodata_dummy_start = .;
|
||||||
/* Start at the same alignement constraint than .flash.text */
|
/* Start at the same alignment constraint than .flash.text */
|
||||||
. = ALIGN(ALIGNOF(.flash.text));
|
. = ALIGN(ALIGNOF(.flash.text));
|
||||||
/* Create an empty gap as big as .flash.text section */
|
/* Create an empty gap as big as .flash.text section */
|
||||||
. = . + SIZEOF(.flash.text);
|
. = . + SIZEOF(.flash.text);
|
||||||
/* Prepare the alignement of the section above. Few bytes (0x20) must be
|
/* Prepare the alignment of the section above. Few bytes (0x20) must be
|
||||||
* added for the mapping header. */
|
* added for the mapping header. */
|
||||||
. = ALIGN(0x10000) + 0x20;
|
. = ALIGN(0x10000) + 0x20;
|
||||||
_rodata_reserved_start = .;
|
_rodata_reserved_start = .;
|
||||||
|
@@ -245,16 +245,16 @@ SECTIONS
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This dummy section represents the .flash.text section but in default_rodata_seg.
|
* This dummy section represents the .flash.text section but in default_rodata_seg.
|
||||||
* Thus, it must have its alignement and (at least) its size.
|
* Thus, it must have its alignment and (at least) its size.
|
||||||
*/
|
*/
|
||||||
.flash_rodata_dummy (NOLOAD):
|
.flash_rodata_dummy (NOLOAD):
|
||||||
{
|
{
|
||||||
_flash_rodata_dummy_start = .;
|
_flash_rodata_dummy_start = .;
|
||||||
/* Start at the same alignement constraint than .flash.text */
|
/* Start at the same alignment constraint than .flash.text */
|
||||||
. = ALIGN(ALIGNOF(.flash.text));
|
. = ALIGN(ALIGNOF(.flash.text));
|
||||||
/* Create an empty gap as big as .flash.text section */
|
/* Create an empty gap as big as .flash.text section */
|
||||||
. = . + SIZEOF(.flash.text);
|
. = . + SIZEOF(.flash.text);
|
||||||
/* Prepare the alignement of the section above. Few bytes (0x20) must be
|
/* Prepare the alignment of the section above. Few bytes (0x20) must be
|
||||||
* added for the mapping header. */
|
* added for the mapping header. */
|
||||||
. = ALIGN(0x10000) + 0x20;
|
. = ALIGN(0x10000) + 0x20;
|
||||||
_rodata_reserved_start = .;
|
_rodata_reserved_start = .;
|
||||||
|
@@ -248,16 +248,16 @@ SECTIONS
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This dummy section represents the .flash.text section but in default_rodata_seg.
|
* This dummy section represents the .flash.text section but in default_rodata_seg.
|
||||||
* Thus, it must have its alignement and (at least) its size.
|
* Thus, it must have its alignment and (at least) its size.
|
||||||
*/
|
*/
|
||||||
.flash_rodata_dummy (NOLOAD):
|
.flash_rodata_dummy (NOLOAD):
|
||||||
{
|
{
|
||||||
_flash_rodata_dummy_start = .;
|
_flash_rodata_dummy_start = .;
|
||||||
/* Start at the same alignement constraint than .flash.text */
|
/* Start at the same alignment constraint than .flash.text */
|
||||||
. = ALIGN(ALIGNOF(.flash.text));
|
. = ALIGN(ALIGNOF(.flash.text));
|
||||||
/* Create an empty gap as big as .flash.text section */
|
/* Create an empty gap as big as .flash.text section */
|
||||||
. = . + SIZEOF(.flash.text);
|
. = . + SIZEOF(.flash.text);
|
||||||
/* Prepare the alignement of the section above. Few bytes (0x20) must be
|
/* Prepare the alignment of the section above. Few bytes (0x20) must be
|
||||||
* added for the mapping header. */
|
* added for the mapping header. */
|
||||||
. = ALIGN(0x10000) + 0x20;
|
. = ALIGN(0x10000) + 0x20;
|
||||||
_rodata_reserved_start = .;
|
_rodata_reserved_start = .;
|
||||||
|
@@ -288,16 +288,16 @@ SECTIONS
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This dummy section represents the .flash.text section but in default_rodata_seg.
|
* This dummy section represents the .flash.text section but in default_rodata_seg.
|
||||||
* Thus, it must have its alignement and (at least) its size.
|
* Thus, it must have its alignment and (at least) its size.
|
||||||
*/
|
*/
|
||||||
.flash_rodata_dummy (NOLOAD):
|
.flash_rodata_dummy (NOLOAD):
|
||||||
{
|
{
|
||||||
_flash_rodata_dummy_start = .;
|
_flash_rodata_dummy_start = .;
|
||||||
/* Start at the same alignement constraint than .flash.text */
|
/* Start at the same alignment constraint than .flash.text */
|
||||||
. = ALIGN(ALIGNOF(.flash.text));
|
. = ALIGN(ALIGNOF(.flash.text));
|
||||||
/* Create an empty gap as big as .flash.text section */
|
/* Create an empty gap as big as .flash.text section */
|
||||||
. = . + SIZEOF(.flash.text);
|
. = . + SIZEOF(.flash.text);
|
||||||
/* Prepare the alignement of the section above. Few bytes (0x20) must be
|
/* Prepare the alignment of the section above. Few bytes (0x20) must be
|
||||||
* added for the mapping header. */
|
* added for the mapping header. */
|
||||||
. = ALIGN(0x10000) + 0x20;
|
. = ALIGN(0x10000) + 0x20;
|
||||||
_rodata_reserved_start = .;
|
_rodata_reserved_start = .;
|
||||||
|
Reference in New Issue
Block a user