* ld-srec/srec.exp: Always pass "-G 0". Remove all powerpc
[deliverable/binutils-gdb.git] / gold / reloc.cc
index 001fb01cc1e70584a480a3b3d576dae87ac6b5c7..76ab196139530d218cc4622fb81c306cc77fe49b 100644 (file)
@@ -343,6 +343,9 @@ Sized_relobj<size, big_endian>::write_sections(const unsigned char* pshdrs,
 
       pvs->view = NULL;
 
+      if (map_sections[i].offset == -1)
+       continue;
+
       const Output_section* os = map_sections[i].output_section;
       if (os == NULL)
        continue;
This page took 0.023644 seconds and 4 git commands to generate.