bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/12246] BFD linker plugin generates incorrect alignments for comm


From: hjl.tools at gmail dot com
Subject: [Bug ld/12246] BFD linker plugin generates incorrect alignments for common symbols
Date: Sat, 20 Nov 2010 15:23:09 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12246

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-20 15:23:03 
UTC ---
/* A symbol belonging to an input file managed by the plugin library.  */

struct ld_plugin_symbol
{
  char *name;
  char *version;
  int def;
  int visibility;
  uint64_t size;
  char *comdat_key;
  int resolution;
};

For ELF common symbols, we also need value which holds
the symbol alignment.  Since it is missing, BFD linker
plugin generates wrong values for ELF common symbols.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]