bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/18671] New: gas, AIX, 64-bit, coff-header, f_flags.F_RELFLG --


From: lzsiga at freemail dot c3.hu
Subject: [Bug gas/18671] New: gas, AIX, 64-bit, coff-header, f_flags.F_RELFLG -- shouldn't be cleared
Date: Tue, 14 Jul 2015 17:01:34 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18671

            Bug ID: 18671
           Summary: gas, AIX, 64-bit, coff-header, f_flags.F_RELFLG --
                    shouldn't be cleared
           Product: binutils
           Version: 2.25
            Status: NEW
          Severity: minor
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: lzsiga at freemail dot c3.hu
  Target Milestone: ---

Created attachment 8437
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8437&action=edit
patch for bfd/coff64-rs6000.c

Hi!

I've just tried to compile OpenSSL-1.0.2d on an older AIX5.2 on Power5, but
failed, as AIX's own (very old) 'as' wouldn't compile Altivec-code.

GNU-as (from binutils-2.25) do support Altivec (with option -mpower5), but in
64-bit mode there is a little incompatibility, which prevents creating shared
library libcrypto.so: even though the object doesn't have relocation
information, AIX's ld still expects f_flags.F_RELFLG to be zero (meaning:
relocation information isn't *stripped* (only its length is zero))

This problem is handled in 32-bit mode (file bfd/coffcode.h lines 4216-4220),
but present in 64-bit mode (file bfd/coff64-rs6000.c). Suggested patch
attached.

Thank you for your attention.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]