Home | History | Annotate | Download | only in arm32
History log of /src/sys/arch/arm/arm32/kobj_machdep.c
RevisionDateAuthorComments
 1.16  28-Apr-2023  skrll Pass local symbols relocations in both passes and provide the kobj_reloc
implementation visibility of these relocations.

Currently all implementations resolve local symbol relocations in the first
pass and simply skip them in the second. The RISC-V implementation will
make use of this visiblity.
 1.15  01-Dec-2020  rin Switch earmv6{,hf}eb to BE8 in kernel side.

My strategy here is to define _ARM_ARCH_BE8 macro in arm/cdefs.h, if
__ARMEB__ && _ARM_ARCH_6.

Use this macro to determine whether system is compiled for and running on
BE8 mode or not.

Note that, for __ARMEB__, some conditions become compile-time constants
determined by _ARM_ARCH_BE8 macro, e.g., whether BE8 or BE32 are accepted
as a userland binary, or unaligned memory access is possible or not.
 1.14  20-Jun-2020  skrll branches: 1.14.2;
KNF #includes

Remove some unnecessary ones while I'm here.
 1.13  20-Jun-2020  skrll Trailing whitespace
 1.12  03-Nov-2017  maxv Handle absolute relocations coming from the kernel: preserve SHN_ABS in
the kernel and module symbols, and when relocating a symbol that has
SHN_ABS, take its value as-is and don't return an error if it equals zero.

Sent on tech-kern@.
 1.11  11-Jul-2016  martin kobj_machdep() is now called multiple times for the same module.
Only do arm-BE8 symbol fixup when called for the text segment.
 1.10  07-Nov-2014  martin branches: 1.10.2;
PR port-arm/49299: add support for BE8 byte swapped instructions.
 1.9  27-Aug-2013  skrll branches: 1.9.4;
Minor tidyup
 1.8  27-Aug-2013  skrll Support R_ARM_REL32 and R_ARM_PREL31.

ok matt.
 1.7  09-Aug-2013  matt Use cpu_idcache_wbinv_range so we don't nuke the entire idcache.
Add a test to make sure we are only modifying movw/movt
 1.6  09-Aug-2013  matt Fix addend manipulation
 1.5  08-Aug-2013  matt Don't sync idcache/tlb when _RUMPKERNEL is defined.
 1.4  07-Aug-2013  matt Add R_ARM_V4BX, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS
Fix R_ARM_PC24 and match R_ARM_CALL and R_ARM_JUMP24
 1.3  17-Aug-2009  dsl branches: 1.3.12; 1.3.22; 1.3.26;
Add support for R_ARM_PC24 relocations and fix R_ARM_ABS32.
Changes from PR/40309, but structure changed so there is a common error printf.
Compiles ok, but my quick kernel build failed to find module_init_md().
 1.2  28-Apr-2008  martin branches: 1.2.18;
Remove clause 3 and 4 from TNF licenses
 1.1  04-Jan-2008  ad branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8; 1.1.10; 1.1.16; 1.1.18; 1.1.20; 1.1.22;
Linker bits for arm.
 1.1.22.2  19-Aug-2009  yamt sync with head.
 1.1.22.1  16-May-2008  yamt sync with head.
 1.1.20.1  18-May-2008  yamt sync with head.
 1.1.18.2  28-Feb-2008  rjs Sync with HEAD.
 1.1.18.1  04-Jan-2008  rjs file kobj_machdep.c was added on branch hpcarm-cleanup on 2008-02-28 21:58:52 +0000
 1.1.16.1  02-Jun-2008  mjf Sync with HEAD.
 1.1.10.2  18-Feb-2008  mjf Sync with HEAD.
 1.1.10.1  04-Jan-2008  mjf file kobj_machdep.c was added on branch mjf-devfs on 2008-02-18 21:04:22 +0000
 1.1.8.2  21-Jan-2008  yamt sync with head
 1.1.8.1  04-Jan-2008  yamt file kobj_machdep.c was added on branch yamt-lazymbuf on 2008-01-21 09:35:36 +0000
 1.1.6.2  20-Jan-2008  chris Sync to HEAD.
 1.1.6.1  04-Jan-2008  chris file kobj_machdep.c was added on branch chris-arm-intr-rework on 2008-01-20 16:03:57 +0000
 1.1.4.2  09-Jan-2008  matt sync with HEAD
 1.1.4.1  04-Jan-2008  matt file kobj_machdep.c was added on branch matt-armv6 on 2008-01-09 01:45:12 +0000
 1.1.2.2  08-Jan-2008  bouyer Sync with HEAD
 1.1.2.1  04-Jan-2008  bouyer file kobj_machdep.c was added on branch bouyer-xeni386 on 2008-01-08 22:09:25 +0000
 1.2.18.1  15-Feb-2014  matt Merge armv7 support from HEAD, specifically support for the BCM5301X
and BCM56340 evbarm kernels.
 1.3.26.1  28-Aug-2013  rmind sync with head
 1.3.22.2  03-Dec-2017  jdolecek update from HEAD
 1.3.22.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.12.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.9.4.1  14-Nov-2014  snj Pull up following revision(s) (requested by martin in ticket #228):
sys/arch/arm/arm32/kobj_machdep.c: revision 1.10
PR port-arm/49299: add support for BE8 byte swapped instructions.
 1.10.2.1  05-Oct-2016  skrll Sync with HEAD
 1.14.2.1  14-Dec-2020  thorpej Sync w/ HEAD.

RSS XML Feed