Skip to content
  1. Jul 16, 2005
    • Chris Lattner's avatar
      Major refactor of the ELFWriter code. Instead of building up one big · fd445004
      Chris Lattner authored
      vector that represents the .o file at once, build up a vector for each
      section of the .o file.  This is needed because the .o file writer needs
      to be able to switch between sections as it emits them (e.g. switch
      between the .text section and the .rel section when emitting code).
      
      This patch has no functionality change.
      
      llvm-svn: 22453
      fd445004
  2. Jul 12, 2005
  3. Jul 11, 2005
  4. Jul 08, 2005
  5. Jul 07, 2005
    • Chris Lattner's avatar
      Add support for emitting the symbol table (and its string table) of the · 1932f5c9
      Chris Lattner authored
      module to the ELF file.  Test it by adding support for emitting common
      symbols.  This allows us to compile this:
      
      %X = weak global int 0
      %Y = weak global int 0
      %Z = weak global int 0
      
      to an elf file that 'readelf's this:
      
      Symbol table '.symtab' contains 4 entries:
         Num:    Value  Size Type    Bind   Vis      Ndx Name
           0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND
           1: 00000004     4 OBJECT  GLOBAL DEFAULT  COM X
           2: 00000004     4 OBJECT  GLOBAL DEFAULT  COM Y
           3: 00000004     4 OBJECT  GLOBAL DEFAULT  COM Z
      
      llvm-svn: 22343
      1932f5c9
  6. Jun 27, 2005
Loading