Commit 6149e0a ("[librm] Provide symbols for inline code placed into other sections") may cause build failures due to duplicate label names if the compiler chooses to duplicate inline assembly code. Fix by using the "%=" special format string to include a guaranteed-unique number within the label name. The "%=" will be expanded only if constraints exist for the inline assembly. This fix therefore requires that all REAL_CODE() fragments use a (possibly empty) constraint list. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
10 |
|
|
10 |
|
|
11 | 11 |
|
12 | 12 |
|
13 | 13 |
|
|
||
255 | 255 |
|
256 | 256 |
|
257 | 257 |
|
258 |
|
|
258 |
|
|
259 | 259 |
|
260 | 260 |
|
261 | 261 |
|
|
||
521 | 521 |
|
522 | 522 |
|
523 | 523 |
|
524 |
|
|
524 |
|
|
525 | 525 |
|
526 | 526 |
|
527 | 527 |
|
528 | 528 |
|
529 |
|
|
529 |
|
|
530 | 530 |
|
531 | 531 |
|
532 | 532 |
|
|
||
48 | 48 |
|
49 | 49 |
|
50 | 50 |
|
51 |
|
|
51 |
|
|
52 | 52 |
|
53 | 53 |
|
54 | 54 |
|
|
||
663 | 663 |
|
664 | 664 |
|
665 | 665 |
|
666 |
|
|
666 |
|
|
667 | 667 |
|
668 | 668 |
|
669 | 669 |
|
|
||
672 | 672 |
|
673 | 673 |
|
674 | 674 |
|
675 |
|
|
675 |
|
|
676 | 676 |
|
677 | 677 |
|
678 | 678 |
|
|
||
681 | 681 |
|
682 | 682 |
|
683 | 683 |
|
684 |
|
|
684 |
|
|
685 | 685 |
|
686 | 686 |
|
687 | 687 |
|
|
||
97 | 97 |
|
98 | 98 |
|
99 | 99 |
|
100 |
|
|
100 |
|
|
101 | 101 |
|
102 | 102 |
|
103 | 103 |
|