Skip to content

Commit

Permalink
[buildattr64] Clarify behaviour for duplicate attributes
Browse files Browse the repository at this point in the history
We follow the 32-bit ABI which permits an attribute to occur more
than once, but if it does it has to have the same value.
  • Loading branch information
smithp35 committed Dec 5, 2024
1 parent 654a64c commit 91eec3a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions buildattr64/buildattr64.rst
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ changes to the content of the document for that release.
| | | human readable names. |
| | | Generalise mapping of aeabi-feature-and-bits to .note.gnu.property |
| | | Renumber aeabi-feature-and-bits tags to start from 0. |
| | | Clarify that the same attribute with different values is an error. |
+------------+---------------------+---------------------------------------------------------------------+

References
Expand Down Expand Up @@ -633,6 +634,9 @@ encoding (ULEB128), DWARF style (for details see [GDWARF_]).

String values are encoded using NUL-terminated byte strings (NTBS).

In a subsection it is erroneus to give two different values to the
same attribute, though the same value may be given more than once.

Encoding of meta data in a loadable-unit
----------------------------------------

Expand Down

0 comments on commit 91eec3a

Please sign in to comment.