# Revert "link.Elf: swap order of GOT and text program headers" · gitcafe/zig

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

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

Visibility: public

Requested revision: 1ee7a81627f464d9ab7f763f357bbb37aed342d5

Requested commit: 1ee7a81627f464d9ab7f763f357bbb37aed342d5

Commit: 1ee7a81627f464d9ab7f763f357bbb37aed342d5

Tree: f235d46bc52b40285644abeb054fd554fcbae3d5

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Revert "link.Elf: swap order of GOT and text program headers"

This reverts commit 8e7b1a74ac4568a2b806026f210ae59e52d2768d.

Sorry, I should have put up a PR and ran that one by Jakub and done some
more inspection.

This causes problems with gdb:

BFD: /home/andy/dev/zig/build-release/test: invalid string offset 3254779904 >= 153524 for section `.shstrtab'

```

## Parents

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

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