mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-19 22:03:57 +08:00
Re: ld: Support customized output section type
"DO NOT EDIT!" says the comment at the top of bfd-in2.h. Move the new type field where it belongs. PR ld/28841 * section.c (struct bfd_section): Add type. Formatting. (BFD_FAKE_SECTION): Formatting. * bfd-in2.h: Regenerate.
This commit is contained in:
@ -1166,8 +1166,10 @@ typedef struct bfd_section
|
|||||||
struct bfd_section *s;
|
struct bfd_section *s;
|
||||||
const char *linked_to_symbol_name;
|
const char *linked_to_symbol_name;
|
||||||
} map_head, map_tail;
|
} map_head, map_tail;
|
||||||
/* Points to the output section this section is already assigned to, if any.
|
|
||||||
This is used when support for non-contiguous memory regions is enabled. */
|
/* Points to the output section this section is already assigned to,
|
||||||
|
if any. This is used when support for non-contiguous memory
|
||||||
|
regions is enabled. */
|
||||||
struct bfd_section *already_assigned;
|
struct bfd_section *already_assigned;
|
||||||
|
|
||||||
/* Explicitly specified section type, if non-zero. */
|
/* Explicitly specified section type, if non-zero. */
|
||||||
|
@ -551,10 +551,15 @@ CODE_FRAGMENT
|
|||||||
. struct bfd_section *s;
|
. struct bfd_section *s;
|
||||||
. const char *linked_to_symbol_name;
|
. const char *linked_to_symbol_name;
|
||||||
. } map_head, map_tail;
|
. } map_head, map_tail;
|
||||||
. {* Points to the output section this section is already assigned to, if any.
|
.
|
||||||
. This is used when support for non-contiguous memory regions is enabled. *}
|
. {* Points to the output section this section is already assigned to,
|
||||||
|
. if any. This is used when support for non-contiguous memory
|
||||||
|
. regions is enabled. *}
|
||||||
. struct bfd_section *already_assigned;
|
. struct bfd_section *already_assigned;
|
||||||
.
|
.
|
||||||
|
. {* Explicitly specified section type, if non-zero. *}
|
||||||
|
. unsigned int type;
|
||||||
|
.
|
||||||
.} asection;
|
.} asection;
|
||||||
.
|
.
|
||||||
.{* Relax table contains information about instructions which can
|
.{* Relax table contains information about instructions which can
|
||||||
|
Reference in New Issue
Block a user