projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid ubsan bug complaining about &p->field
[deliverable/binutils-gdb.git]
/
ld
/
emultempl
/
pe.em
diff --git
a/ld/emultempl/pe.em
b/ld/emultempl/pe.em
index c4c6464c3c01a7b5e2da39fc62fa084565df0abf..7e85ede3e2330f6fb4caf47ff1244bae7adb7021 100644
(file)
--- a/
ld/emultempl/pe.em
+++ b/
ld/emultempl/pe.em
@@
-2151,7
+2151,7
@@
gld_${EMULATION_NAME}_place_orphan (asection *s,
NULL);
if (after == NULL)
/* *ABS* is always the first output section statement. */
- after =
&lang_os_list.head->output_section_statement
;
+ after =
(void *) lang_os_list.head
;
}
/* All sections in an executable must be aligned to a page boundary.
This page took
0.024581 seconds
and
4
git commands to generate.