# objcopy: cleanups and extract helper functions to reduce bloat · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/e1cf2c8346fd16849b7f71f982ddda7adf0fe97b)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: e1cf2c8346fd16849b7f71f982ddda7adf0fe97b

Requested commit: e1cf2c8346fd16849b7f71f982ddda7adf0fe97b

Commit: e1cf2c8346fd16849b7f71f982ddda7adf0fe97b

Tree: f57c241fe732e20d3e2f9a2de66b4774c958e19c

Author: Xavier Bouchoux

Committer: Xavier Bouchoux

## Message

```
objcopy: cleanups and extract helper functions to reduce bloat

parts of the code are independant of Elf32/Elf64 variant, so avoid
generating the code twice by putting them outside of the generic struct.

```

## Parents

- [9ea404f03d53c3589043c9a2d6f9b9e06ec86e20](https://git.cafe/gitcafe/zig/commit/9ea404f03d53c3589043c9a2d6f9b9e06ec86e20?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/e1cf2c8346fd16849b7f71f982ddda7adf0fe97b?format=markdown)
