forked from espressif/esp-idf
Merge branch 'bugfix/ldgen_surround_docs_correction' into 'master'
docs: fix error on ldgen generated symbol with SURROUND See merge request espressif/esp-idf!12732
This commit is contained in:
@@ -511,18 +511,18 @@ generates an output on the linker script:
|
|||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
. = ALIGN(8)
|
. = ALIGN(8)
|
||||||
__my_sym_start = ABSOLUTE(.)
|
_my_sym_start = ABSOLUTE(.)
|
||||||
KEEP(lib1.a:obj1.*( SORT(.rodata) SORT(.rodata.*) ))
|
KEEP(lib1.a:obj1.*( SORT(.rodata) SORT(.rodata.*) ))
|
||||||
__my_sym_end = ABSOLUTE(.)
|
_my_sym_end = ABSOLUTE(.)
|
||||||
|
|
||||||
Note that ALIGN and SURROUND, as mentioned in the flag descriptions, are order sensitive. Therefore, if for the same mapping fragment these two are switched, the following is generated instead:
|
Note that ALIGN and SURROUND, as mentioned in the flag descriptions, are order sensitive. Therefore, if for the same mapping fragment these two are switched, the following is generated instead:
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
__my_sym_start = ABSOLUTE(.)
|
_my_sym_start = ABSOLUTE(.)
|
||||||
. = ALIGN(8)
|
. = ALIGN(8)
|
||||||
KEEP(lib1.a:obj1.*( SORT(.rodata) SORT(.rodata.*) ))
|
KEEP(lib1.a:obj1.*( SORT(.rodata) SORT(.rodata.*) ))
|
||||||
__my_sym_end = ABSOLUTE(.)
|
_my_sym_end = ABSOLUTE(.)
|
||||||
|
|
||||||
|
|
||||||
.. _ldgen-symbol-granularity-placements :
|
.. _ldgen-symbol-granularity-placements :
|
||||||
|
Reference in New Issue
Block a user