|
From: | Pitchumani |
Subject: | [patch #9968] Update __multi[hs]i_const_10 functions to detect them as function in the ELF object |
Date: | Wed, 26 Aug 2020 05:11:15 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15 |
URL: <https://savannah.nongnu.org/patch/?9968> Summary: Update __multi[hs]i_const_10 functions to detect them as function in the ELF object Project: AVR C Runtime Library Submitted by: pitchumani Submitted on: Wed 26 Aug 2020 09:11:13 AM UTC Category: None Priority: 5 - Normal Status: Works For Me Privacy: Public Assigned to: pitchumani Originator Email: Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: The __mul[hs]i_const_10 functions are defined in assembly, but these symbols' types are unknown ("NOTYPE") in ELF object. Example: $ avr-readelf -s ~/install/avr/lib/avrxmega3/libc.a | grep "_const_10" 6: 00000000 0 NOTYPE GLOBAL DEFAULT UND __mulhi_const_10 6: 00000000 0 NOTYPE GLOBAL DEFAULT UND __mulsi_const_10 5: 00000000 0 NOTYPE GLOBAL DEFAULT 4 __mulsi_const_10 5: 00000000 0 NOTYPE GLOBAL DEFAULT 4 __mulhi_const_10 The attached patch updates these functions type and also adds .size attribute. Output after applying this patch: $ avr-readelf -s ~/install/avr/lib/avrxmega3/libc.a | grep "_const_10" 6: 00000000 0 NOTYPE GLOBAL DEFAULT UND __mulhi_const_10 6: 00000000 0 NOTYPE GLOBAL DEFAULT UND __mulsi_const_10 5: 00000000 42 FUNC GLOBAL DEFAULT 4 __mulsi_const_10 5: 00000000 16 FUNC GLOBAL DEFAULT 4 __mulhi_const_10 _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Wed 26 Aug 2020 09:11:13 AM UTC Name: mulhi_si_const_10.patch Size: 1KiB By: pitchumani <http://savannah.nongnu.org/patch/download.php?file_id=49708> _______________________________________________________ Reply to this item at: <https://savannah.nongnu.org/patch/?9968> _______________________________________________ Message sent via Savannah https://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |