dwarf_reloc.c (6cec9cad762b6476313fb1f8e931a1647822db6b) dwarf_reloc.c (d133198b4b7cd74205157bacef0eeb5c17508491)
1/*-
2 * Copyright (c) 2010 Kai Wang
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 19 unchanged lines hidden (view full) ---

28
29ELFTC_VCSID("$Id: dwarf_reloc.c 2075 2011-10-27 03:47:28Z jkoshy $");
30
31int
32dwarf_set_reloc_application(int apply)
33{
34 int oldapply;
35
1/*-
2 * Copyright (c) 2010 Kai Wang
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 19 unchanged lines hidden (view full) ---

28
29ELFTC_VCSID("$Id: dwarf_reloc.c 2075 2011-10-27 03:47:28Z jkoshy $");
30
31int
32dwarf_set_reloc_application(int apply)
33{
34 int oldapply;
35
36 oldapply = _libdwarf.applyrela;
37 _libdwarf.applyrela = apply;
36 oldapply = _libdwarf.applyreloc;
37 _libdwarf.applyreloc = apply;
38
39 return (oldapply);
40}
38
39 return (oldapply);
40}