Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dwarf_set_reloc_application(3) [freebsd man page]

DWARF_SET_RELOC_APPLICATION(3)				   BSD Library Functions Manual 			    DWARF_SET_RELOC_APPLICATION(3)

NAME
dwarf_set_reloc_application -- set a library-wide relocation flag LIBRARY
DWARF Access Library (libdwarf, -ldwarf) SYNOPSIS
#include <libdwarf.h> int dwarf_set_reloc_application(int apply); DESCRIPTION
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. NOTES
Function dwarf_set_reloc_application() should be called before initialising a dwarf debugging context, i.e, it should be called by the appli- cation before calling either of the functions dwarf_init(3) or dwarf_elf_init(3). RETURN VALUES
Function dwarf_set_reloc_application() returns the previous value of the library-wide relocation application flag. ERRORS
Function dwarf_set_reloc_application() does not return an error. SEE ALSO
dwarf(3), dwarf_init(3), dwarf_elf_init(3) BSD
February 11, 2015 BSD

Check Out this Related Man Page

DWARF_RESET_SECTION_BYTES(3)				   BSD Library Functions Manual 			      DWARF_RESET_SECTION_BYTES(3)

NAME
dwarf_reset_section_bytes -- reset the internal state of a producer instance LIBRARY
DWARF Access Library (libdwarf, -ldwarf) SYNOPSIS
#include <libdwarf.h> void dwarf_reset_section_bytes(Dwarf_P_Debug dbg); DESCRIPTION
Function dwarf_reset_section_bytes() resets the internal state of a DWARF producer instance, so that the next call to the function dwarf_get_section_bytes(3) will return the byte stream for the first generated section, and the next call to the function dwarf_get_relocation_info(3) will return the first relocation array for the DWARF producer instance. Argument dbg should reference a DWARF producer instance allocated using dwarf_producer_init(3) or dwarf_producer_init_b(3). RETURN VALUES
Function dwarf_reset_section_bytes() has no return value. SEE ALSO
dwarf(3), dwarf_get_relocation_info(3), dwarf_get_section_bytes(3), dwarf_producer_init(3), dwarf_producer_init_b(3), dwarf_transform_to_disk_form(3) BSD
September 3, 2011 BSD
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

referenced symbol not found, how to solve?

while trying to execute an application, i encountered thefollowing error: ld.so.1: myApplication : fatal: relocation error: file /opt/oracle/oradb/lib/libHotDB50.so: symbol sqlcxt: referenced symbol not found my questions : 1) what is relocation error? 2) why this error occur? 3) how... (4 Replies)
Discussion started by: champion
4 Replies

2. UNIX for Advanced & Expert Users

relocation error

when running make command i'm getting the following error: make:relocation error:make:symbol_sprintf_chk,version GLIBC_2.3.4 not defined in file libc.so.6 with link time reference... plz tell me what to do abt this... (1 Reply)
Discussion started by: abhi1826
1 Replies

3. Programming

ld.so.1: relocation error

Hi Iam getting the following error... ld.so.1: xxxx: fatal: relocation error: file /home/costar4/bin/xxxx: symbol __1cH__rwstdUInterlockedIncrement6Fpl_l_: referenced symbol not found. Can anyone tell me anything in this ? Thanks, Sanja (1 Reply)
Discussion started by: sanjasam
1 Replies

4. Solaris

fatal: relocation error: R_SPARC_WDISP22

Hello, I wonder if anyone has a clue what could be wrong. I get the following error on SUN Netra-T4 server when some applications try to start (e.g. slpd) also even if I try commands such as "jar" I get the same error: ld.so.1: /usr/java1.2/jre/bin/sparc/native_threads/java: fatal:... (3 Replies)
Discussion started by: Juha
3 Replies

5. Linux

relocation truncated to fit

Hi, I am getting linking error i.e. /ade/aime_urtk/oracle/has/include/caa_ResStateListener.hxx:79: relocation truncated to fit: R_PPC_GO T16 vtable for CAA::ResourceStateListener /ade/aime_urtk/oracle/has/lib//libcaad.a(caa_Main.o)(.text+0x88e6): In function `CAA::ResourceStateL... (0 Replies)
Discussion started by: jgobbur
0 Replies

6. UNIX for Advanced & Expert Users

"relocation error" when installing app

I'm trying to install Urchin5 log analyzer and I get the following message: Sadly, I'm not all that good at lib tracing and troubleshooting, but I did attempt a few things. First, since this is a VPS, I can compare to the baseline fileset, and other servers on which this works. I used MD5 as a... (3 Replies)
Discussion started by: treesloth
3 Replies