X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=ld%2Femultempl%2Fpe.em;h=7e85ede3e2330f6fb4caf47ff1244bae7adb7021;hb=8ce18f9cdf53c846e0486130a66ba55c96fc2b14;hp=c4c6464c3c01a7b5e2da39fc62fa084565df0abf;hpb=100b122fc125bdf1fe768a3331a0cd413c3d1261;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index c4c6464c3c..7e85ede3e2 100644 --- 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.