GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DWARF_SET_RELOC_APPLICATION(3) FreeBSD Library Functions Manual DWARF_SET_RELOC_APPLICATION(3)

dwarf_set_reloc_application
set a library-wide relocation flag

DWARF Access Library (libdwarf, -ldwarf)

#include <libdwarf.h>

int
dwarf_set_reloc_application(int apply);

Function dwarf_set_reloc_application() allows applications to specify how relocation information is to be handled by the DWARF(3) library.

If the argument apply holds a non-zero value, the library will process all the relevant “.rel” and “.rela” relocation sections and will apply the relocation records found to their corresponding DWARF sections.

If the argument apply is zero, the library will not attempt to apply any relocations.

The default behaviour of the library is to process relocation records.

Function dwarf_set_reloc_application() should be called before initialising a dwarf debugging context, i.e, it should be called by the application before calling either of the functions dwarf_init(3) or dwarf_elf_init(3).

Function dwarf_set_reloc_application() returns the previous value of the library-wide relocation application flag.

Function dwarf_set_reloc_application() does not return an error.

dwarf(3), dwarf_elf_init(3), dwarf_init(3)
February 11, 2015 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.