Lines Matching refs:subsection
101 For now, the subsection for PAuth ABI is the only one use case, and no merge
109 out that the error is for a required subsection.
115 of the subsection was introduced. It follows the following pattern:
118 - <XXXXXX>: an arbitrary name for your testing subsection.
120 subsection. The currently supported merge policy are:
127 Any subsection name matching neither names supported by the backend, nor
130 for consequence the pruning of this subsection.
135 subsection. Any tags above 1 will be considered unknown, so will be default
282 /* Return the size of a subsection. */
286 bfd_vma size = sizeof (uint32_t); /* <subsection-length: uint32> */
287 size += strlen (subsec->name) + 1; /* <subsection-name: NTBS> so +1 for '\0'. */
459 /* <subsection-length: uint32> */
500 /* [ <subsection-length: uint32> <vendor-name: NTBS> <vendor-data: bytes> ]* */
560 ('0' or NULL) depending on the encoding specified on the subsection. Any
563 If the tag is unknown, ld can drop it if it is inside an optional subsection,
564 whereas ld will raise an error in a required subsection.
578 /* Note: the currently set values for the subsection name, its optionality,
579 and encoding are irrelevant for a testing subsection. These values are
591 /* Return True if the given subsection name is part of the reserved testing
599 /* Identify the scope of a subsection from its name.
616 /* Search for a subsection matching NAME in the list of subsections known from
617 bfd (generic or backend-specific). Return the subsection information if it
639 skip the first entry (placeholder for GNU testing subsection). */
641 /* Check whether this subsection is a GNU testing subsection. */
649 tags registered in the known subsection SUBSEC. Return the tag information
694 /* To-string function for the subsection parameter "comprehension". */
701 /* To-string function for the subsection parameter "encoding". */
850 /* Compact duplicated tag declarations in a subsection.
894 - values for a given tag have to be the same in the same subsection,
904 "values (%#x vs %#x) in subsection %s"),
909 "values ('%s' vs '%s') in subsection %s"),
1047 /* If an Object Attribute subsection inside ABFD cannot be identified neither
1048 as a GNU subsection or a backend-specific one, set the status of this
1049 subsection to UNKNOWN. The unknown subsection will be skipped during the
1127 detected from the name of the subsection. It should follow the following
1311 given subsection. */
1321 /* Return a new default-initialized subsection with the same parameters as
1338 /* Report missing required attribute with key TAG in subsection SREF. */
1348 _("%X%pB: error: missing required object attribute '%s' in subsection '%s'\n"),
1369 "in subsection '%s': %#x\n"),
1379 "in subsection '%s': \"%s\"\n"),
1470 /* Merge optional subsection S_ABFD into S_REF. S_FROZEN is used to report any
1603 (_("%X%pB: error: missing required object attributes subsection %s\n"),
1609 REF, and merge ABFD's generated subsection with the one of REF. */
1618 1. Create a new default-initialized S_REF subsection.
1631 (_("%X%pB: error: missing required object attributes subsection %s\n"),
1637 ABFD, and merge REF's generated subsection with the one of ABFD. */
1653 /* Check whether a subsection is known, and if so, whether the current
1654 properties of the subsection match the expected ones.
1655 Return True if the subsection is known, AND all the properties of the
1656 subsection match the expected. False otherwise. */
1673 (_("%X%pB: error: <%s> property of subsection '%s' was "
1683 (_("%X%pB: error: <%s> property of subsection '%s' was "
1707 _("%X%pB: error: mismatching properties of subsection '%s'\n"),
1723 _("%X%pB: error: corrupted properties in subsection '%s'\n"),
1752 /* Check whether the subsection is known, and if so, match against the
1756 Since the "fictive" entry for gnu-testing known subsection has random
1788 if (cmp < 0) /* ABFD has a subsection that FROZEN doesn't have. */
1793 else if (cmp > 0) /* FROZEN has a subsection that ABFD doesn't have. */
1799 else /* Both ABFD and frozen have the subsection. */
1845 if (cmp < 0) /* REF has a subsection that ABFD doesn't have. */
1867 else if (cmp > 0) /* ABFD has a subsection that REF doesn't have. */
1899 else /* Both REF and ABFD have the subsection. */
2062 /* Prune the given subsection, and return the next one in the list. */
2074 given subsection. */
2097 /* Prune any subsection with a status different from obj_attr_subsection_v2_ok
2111 info->callbacks->minfo (_("Removed subsection '%s'\n"), subsec->name);
2119 /* Prune any subsection or attribute with a status different from OK. */
2715 /* Parse a subsection (object attributes v2 only). */
2729 /* The minimum subsection length is 7: 4 bytes for the length itself, and 1
2740 _bfd_error_handler (_("%pB: error: attributes subsection ends "
2753 (_("%pB: error: bad subsection length (%u > max=%" PRIu64 ")"),
2759 _bfd_error_handler (_("%pB: error: subsection length of %u is too small"),
2771 _bfd_error_handler (_("%pB: error: subsection name seems corrupted "
2780 /* Note: if the length of the subsection name is 0 (i.e. the string is '\0'),
2785 1. the length of the subsection name is validated, as the presence of '\0'
2835 initializing the subsection. That is why we skip free() at the end. */
2839 /* A subsection can be empty, so 'cursor' can be equal to 'end' here. */
2886 (_("%pB: error: could not parse subsection at offset %" PRIx64),
3211 /* Sort the object attributes inside a subsection.
3212 Note: since a subsection is a list of attributes, the sorting algorithm is
3229 /* Create a new object attribute subsection with the following properties:
3230 - NAME: the name of the subsection. Note: this parameter never holds a
3232 - SCOPE: the scope of the subsection (public or private).
3233 - OPTIONAL: whether this subsection is optional (true) or required (false).
3243 obj_attr_subsection_v2_t *subsection = XCNEW (obj_attr_subsection_v2_t);
3244 subsection->name = name;
3245 subsection->scope = scope;
3246 subsection->optional = optional;
3247 subsection->encoding = encoding;
3248 subsection->status = obj_attr_subsection_v2_ok;
3249 return subsection;
3252 /* Free memory allocated by the object attribute subsection SUBSEC. */
3269 /* Deep copy an object attribute subsection OTHER, and return a pointer to the
3343 /* Return a subsection in the list FIRST matching NAME, or NULL if one is not