create_bfd.c File Reference

Routine to handle elf file creation. More...

#include "opjitconv.h"
#include "opd_printf.h"
#include "op_libiberty.h"
#include <bfd.h>
#include <assert.h>
#include <stdint.h>
#include <stdio.h>
Include dependency graph for create_bfd.c:

Functions

asection * create_section (bfd *abfd, char const *section_name, size_t size, bfd_vma vma, flagword flags)
int fill_section_content (bfd *abfd, asection *section, void const *b, file_ptr offset, size_t sz)
int partition_sections (void)
int fill_sections (void)
bfd * open_elf (char const *filename)

Detailed Description

Routine to handle elf file creation.

Remarks:
Copyright 2007 OProfile authors
Read the file COPYING
Author:
Jens Wilke Maynard Johnson Philippe Elie Daniel Hansel

Copyright IBM Corporation 2007


Function Documentation

asection* create_section ( bfd *  abfd,
char const *  section_name,
size_t  size,
bfd_vma  vma,
flagword  flags 
)

References debug, error(), and verbprintf.

Referenced by init_debug_line_info().

int fill_section_content ( bfd *  abfd,
asection *  section,
void const *  b,
file_ptr  offset,
size_t  sz 
)
int fill_sections ( void   ) 
bfd* open_elf ( char const *  filename  ) 
int partition_sections ( void   ) 

Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1