Skip to content

Commit

Permalink
[efi] Fix debug directory layout
Browse files Browse the repository at this point in the history
This mirrors iPXE commits ed609c4 ("[efi] Fix debug directory size")
and 619a377 ("[efi] Populate debug directory entry FileOffset field").

Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
  • Loading branch information
mcb30 committed Sep 1, 2015
1 parent 13308db commit 1e877da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/prefix.S
Expand Up @@ -149,7 +149,7 @@ directory_entry_reloc:
.org data_directory + ( 8 * 6 )
directory_entry_debug:
.long ( debug - _prefix )
.long ( debug_len + debug_rsds_len )
.long debug_len
.org data_directory + ( 8 * 16 )
.equ data_directory_len, . - data_directory
.size data_directory, . - data_directory
Expand Down Expand Up @@ -334,7 +334,7 @@ debug:
.long 2 /* Type */
.long debug_rsds_len /* SizeOfData */
.long ( debug_rsds - _prefix ) /* RVA */
.long 0 /* FileOffset */
.long ( debug_rsds - _prefix ) /* FileOffset */
.equ debug_len, . - debug
.size debug, . - debug
debug_rsds:
Expand Down

0 comments on commit 1e877da

Please sign in to comment.