bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/31503] [hppa] Unsupported 14-bit PA 2.0 relocations for 32-bit (


From: danglin at gcc dot gnu.org
Subject: [Bug ld/31503] [hppa] Unsupported 14-bit PA 2.0 relocations for 32-bit (narrow) mode (elf32-hppa.c)
Date: Wed, 27 Mar 2024 22:04:03 +0000

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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #15436|0                           |1
        is obsolete|                            |

--- Comment #5 from John David Anglin <danglin at gcc dot gnu.org> ---
Created attachment 15439
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15439&action=edit
Patch

This version fixes corrects previous patch.

There still be issues with $global$ not being 8-byte aligned.  It is
provided by: DATA_START_SYMBOLS='PROVIDE ($global$ = .);'

I added a hack to elf_hppa_fake_sections to increase alignment of the
.data section to 8 bytes minimum.  I now see an alignment of 8 for .data
in .o files.  But the alignment of .data may get reduced to 4 in final
link when a .o file contains comdat groups.  Not sure why.  Is there a
better way to align .data?

This doesn't happen if I align .data to 8 in elf.sc.  But this would
affect all users.  I guess I could use a separate script for 32-bit
elf hppa but I would like to avoid this if possible.

-- 
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]