Skip to content
This repository has been archived by the owner on Aug 17, 2022. It is now read-only.

Fix #76 #84

Merged
merged 2 commits into from
Jun 16, 2017
Merged

Fix #76 #84

merged 2 commits into from
Jun 16, 2017

Conversation

aswaterman
Copy link
Contributor

@aswaterman aswaterman commented Jun 8, 2017

This takes @kuanlinchentw's contribution #83 but avoids exposing R_RISCV_DELETE to the ABI.

The symbol address in .eh_frame may be adjusted in _bfd_elf_discard_section_eh_frame, and the content of .eh_frame will be adjusted in _bfd_elf_write_section_eh_frame. Therefore, we cannot insert a relocation whose addend symbol is in .eh_frame. Othrewise, the value may be adjusted twice.

Contributed by @kuanlinchentw
@aswaterman
Copy link
Contributor Author

@palmer-dabbelt plz run through regression tests

@palmer-dabbelt
Copy link
Contributor

I'm getting a few new failures

+rv64ima-lp64/build-gcc-linux-stage2/gcc/testsuite/gcc/gcc.log:FAIL: gcc.dg/pr28796-2.c execution test
+rv64imaf-lp64/build-gcc-linux-stage2/gcc/testsuite/gcc/gcc.log:FAIL: gcc.dg/pr28796-2.c execution test

@aswaterman
Copy link
Contributor Author

@palmer-dabbelt and I believe the failure is unrelated, so this should be merged at his leisure

@palmer-dabbelt palmer-dabbelt merged commit 1ba254f into riscv-next Jun 16, 2017
@palmer-dabbelt palmer-dabbelt deleted the kuanlinchentw-eh_frame branch June 16, 2017 22:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants