Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F159346167
D55224.id171892.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D55224.id171892.diff
View Options
diff --git a/sys/kern/link_elf_obj.c b/sys/kern/link_elf_obj.c
--- a/sys/kern/link_elf_obj.c
+++ b/sys/kern/link_elf_obj.c
@@ -1716,7 +1716,7 @@
for (i = 0; i < ef->ddbsymcnt; i++) {
sym = ef->ddbsymtab + i;
- if (sym->st_shndx == SHN_FBSD_CACHED) {
+ if (sym->st_shndx == SHN_FREEBSD_CACHED) {
sym->st_shndx = SHN_UNDEF;
sym->st_value = 0;
}
@@ -1785,7 +1785,7 @@
* above.
*/
if (res1 != 0) {
- sym->st_shndx = SHN_FBSD_CACHED;
+ sym->st_shndx = SHN_FREEBSD_CACHED;
sym->st_value = res1;
*res = res1;
return (0);
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h
--- a/sys/sys/elf_common.h
+++ b/sys/sys/elf_common.h
@@ -419,7 +419,8 @@
#define SHN_LOPROC 0xff00 /* First processor-specific. */
#define SHN_HIPROC 0xff1f /* Last processor-specific. */
#define SHN_LOOS 0xff20 /* First operating system-specific. */
-#define SHN_FBSD_CACHED SHN_LOOS /* Transient, for sys/kern/link_elf_obj
+#define SHN_FREEBSD_CACHED SHN_LOOS
+ /* Transient, for sys/kern/link_elf_obj
linker only: Cached global in local
symtab. */
#define SHN_HIOS 0xff3f /* Last operating system-specific. */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jun 14, 2:58 AM (13 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33939747
Default Alt Text
D55224.id171892.diff (1 KB)
Attached To
Mode
D55224: sys: ELF: Rename SHN_FBSD_CACHED => SHN_FREEBSD_CACHED
Attached
Detach File
Event Timeline
Log In to Comment