* libbfd-in.h, bfd-in.h: Eliminate all PROTO calls, replace with
[deliverable/binutils-gdb.git] / bfd / seclet.c
index c791dff39d81bedb3bfaabcf015f00eae9596342..c26f7b47cf33f5a9c085a65578528ccb12b41cce 100644 (file)
@@ -81,9 +81,10 @@ DEFUN(rel,(abfd, seclet, output_section, data),
 
   if (output_section->flags & SEC_HAS_CONTENTS 
       && !(output_section->flags & SEC_NEVER_LOAD)
+      && (output_section->flags & SEC_LOAD)
       && seclet->size)
   {
-    data = bfd_get_relocated_section_contents(abfd, seclet, data);
+    data = (PTR) bfd_get_relocated_section_contents(abfd, seclet, data);
     if(bfd_set_section_contents(abfd,
                                output_section,
                                data,
This page took 0.023028 seconds and 4 git commands to generate.