kern_linker.c (c2a8682ae8f6227ad7e2adb2dfb2c9236c9ce171) | kern_linker.c (b19c9dea3ec011ea419f91b5489f0572c2169ca5) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 1997-2000 Doug Rabson 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 610 unchanged lines hidden (view full) --- 619 lf->userrefs = 0; 620 lf->flags = 0; 621 lf->filename = strdup(filename, M_LINKER); 622 lf->pathname = strdup(pathname, M_LINKER); 623 LINKER_GET_NEXT_FILE_ID(lf->id); 624 lf->ndeps = 0; 625 lf->deps = NULL; 626 lf->loadcnt = ++loadcnt; | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 1997-2000 Doug Rabson 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 610 unchanged lines hidden (view full) --- 619 lf->userrefs = 0; 620 lf->flags = 0; 621 lf->filename = strdup(filename, M_LINKER); 622 lf->pathname = strdup(pathname, M_LINKER); 623 LINKER_GET_NEXT_FILE_ID(lf->id); 624 lf->ndeps = 0; 625 lf->deps = NULL; 626 lf->loadcnt = ++loadcnt; |
627#ifdef __arm__ 628 lf->exidx_addr = 0; 629 lf->exidx_size = 0; 630#endif |
|
627 STAILQ_INIT(&lf->common); 628 TAILQ_INIT(&lf->modules); 629 TAILQ_INSERT_TAIL(&linker_files, lf, link); 630 return (lf); 631} 632 633int 634linker_file_unload(linker_file_t file, int flags) --- 1625 unchanged lines hidden --- | 631 STAILQ_INIT(&lf->common); 632 TAILQ_INIT(&lf->modules); 633 TAILQ_INSERT_TAIL(&linker_files, lf, link); 634 return (lf); 635} 636 637int 638linker_file_unload(linker_file_t file, int flags) --- 1625 unchanged lines hidden --- |