tccelf: fix debug section relocation
authorgrischka <grischka>
Tue, 5 Feb 2013 20:18:29 +0000 (21:18 +0100)
committergrischka <grischka>
Tue, 5 Feb 2013 20:18:29 +0000 (21:18 +0100)
commit92024ab07ad8e1c4a05f90add3d3ca7932251016
tree5af3f98bee0607d74e9c73dc3e66f5371951fdaf
parentd5f4df09ff4a84dda5b03525285f03be7723376b
tccelf: fix debug section relocation

With:
   tcc -g hello.c
   gdb a.out
     b main
gdb refused to know "main" because of broken dwarf info.

This partially reverts commit 0d598aca087e46ea67f97dda50df3eed522d5e7a.
I don't remember what the problem was but it was the wrong way
to fix it.
tccelf.c